[gradsusr] create ctl file for different grids?

Tatiana.Gonzalez Tatiana.Gonzalez at noaa.gov
Fri Aug 26 16:06:12 EDT 2011


Hello,

I have the following netcdf file (see below) when I use sdfopen it will 
only will take the first 4 variables (start_time, stop_time, x0, y0)
How can I create a the ctl file to displays this netcdf file?
Any advice?

Thank you,

netcdf variables {
dimensions:
         time = 1 ;
         bounds = 2 ;
         x0 = 360 ;
         y0 = 330 ;
         z0 = 1 ;
variables:
         double time(time) ;
                 time:standard_name = "time" ;
                 time:long_name = "Data time" ;
                 time:units = "seconds since 1970-01-01T00:00:00Z" ;
                 time:axis = "T" ;
                 time:bounds = "time_bounds" ;
                 time:comment = "2010-05-14T17:15:30Z" ;
         double start_time(time) ;
                 start_time:units = "seconds since 1970-01-01T00:00:00Z" ;
                 start_time:comment = "2010-05-14T17:15:30Z" ;
         double stop_time(time) ;
                 stop_time:units = "seconds since 1970-01-01T00:00:00Z" ;
                 stop_time:comment = "2010-05-14T17:15:30Z" ;
         float x0(x0) ;
                 x0:standard_name = "projection_x_coordinate" ;
                 x0:units = "km" ;
                 x0:axis = "X" ;
         float y0(y0) ;
                 y0:standard_name = "projection_y_coordinate" ;
                 y0:units = "km" ;
                 y0:axis = "Y" ;
         float lat0(y0, x0) ;
                 lat0:standard_name = "latitude" ;
                 lat0:units = "degrees_north" ;
         float lon0(y0, x0) ;
                 lon0:standard_name = "longitude" ;
                 lon0:units = "degrees_east" ;
         float z0(z0) ;
                 z0:long_name = "vertical level type unknown" ;
                 z0:units = "level" ;
                 z0:positive = "up" ;
                 z0:axis = "Z" ;
         int grid_mapping_0 ;
                 grid_mapping_0:grid_mapping_name = 
"azimuthal_equidistant" ;
                 grid_mapping_0:longitude_of_projection_origin = -97.17f ;
                 grid_mapping_0:latitude_of_projection_origin = 32.03f ;
                 grid_mapping_0:false_easting = 0.f ;
                 grid_mapping_0:false_northing = 0.f ;
         short variable (time, z0, y0, x0) ;
                variable :scale_factor = 2.610109e-05f ;
                 variable :add_offset = 0.1954591f ;
                 variable :valid_min = -32767s ;
                 variable :valid_max = 32767s ;
                 variable :_FillValue = -32768s ;
                 variable :standard_name = "variable" ;
                 variable :long_name = "variable" ;
                 variable :units = "none" ;
                 variable :coordinates = "lon0 lat0" ;
                 variable :grid_mapping = "grid_mapping_0" ;

}




More information about the gradsusr mailing list