[idvusers] reading model grids from nc files

Stuart Maclean stuart at apl.washington.edu
Wed Apr 2 14:58:10 MDT 2008


I have a GeoGrid object, derived from a nc file of  a model run.   
using the cf1.0 conventions, the nc file describes say a lambert  
projection.    The math type of my data may then be

(Time -> ((XC[unit:km], YC[unit:km]) -> surface_temperature[unit:Pa]))

I am now trying to convert the x,y grid 'points' back to lat,lon,  
since I need to produce a bounding box of the data according to some  
other projection.

I cannot see how to proceed.  is VisADMath.java helpful at all?

I could always open the nc file manually, figure out the projection  
and Y, X variable values and convert all values to reference lat,lon,  
but I was hoping that this be done already in the IDV classes.

Any help appreciated

Stuart




More information about the idvusers mailing list