[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDFJava #HMB-497600]: Reading NDFD Files
- Subject: [netCDFJava #HMB-497600]: Reading NDFD Files
- Date: Mon, 10 May 2010 10:38:17 -0600
Hi Rob,
You have to use the projection Lambert Conformal for NDFD files to convert the
projection coordinates to the lat/lon coordinates.
After you get the grid, get the GridCoordSystem: getCoordinateSystem()
http://www.unidata.ucar.edu/software/netcdf-java/v4.0/javadocAll/ucar/nc2/dt/GridDatatype.html
Now get the projection: getProjection()
http://www.unidata.ucar.edu/software/netcdf-java/v4.0/javadocAll/ucar/nc2/dt/GridCoordSystem.html
Now you have the Lambert Conformal project
http://www.unidata.ucar.edu/software/netcdf-java/v4.0/javadocAll/ucar/unidata/geoloc/projection/LambertConformal.html
Use projToLatLon() to convert the projection coordinates to lat/lon
coordinates. In a previous email, there was code to get the GeoX and GeoY
projection data.
I'll ask the another developer if there is a better way to convert projection
coordinates.
RObb...
Ticket Details
===================
Ticket ID: HMB-497600
Department: Support netCDF Java
Priority: High
Status: Open