[netcdf-java] Converting bad netCDF to CF-compliant

Matt Foster Matthew.Foster at noaa.gov
Fri Dec 7 11:29:48 MST 2007


I have some badly formed netCDF that I'm trying to get to CF-compliant 
using netcdf-Java (2.2.22).  The bad nc file has the data, lat and lon 
points and attributes for a Lambert Conformal projection, but it has no 
GeoX/GeoY points, and the dimensions aren't even set right.  It's really 
a mess.

I've been working on using latLonToProj in the LambertConformal class to 
get the lats and lons into Ys and Xs, but that's about as far as I can 
get.  At that point I start getting confused about CoordinateSystems and 
their relationship to NetcdfDatasets.

Can someone help this newbie get the rest of the way?

Matt

-- 
Only two things are infinite, the universe and 
human stupidity, and I'm not sure about the former.
-- Albert Einstein

-------------- next part --------------
A non-text attachment was scrubbed...
Name: matthew_foster.vcf
Type: text/x-vcard
Size: 229 bytes
Desc: not available
Url : http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdf-java/attachments/20071207/9286490e/attachment.vcf 


More information about the netcdf-java mailing list