[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDFJava #QDJ-903556]: error when reading grib2 files
- Subject: [netCDFJava #QDJ-903556]: error when reading grib2 files
- Date: Thu, 25 Feb 2010 16:46:53 -0700
Ravi,
1 y and x
double y(y=337);
:units = "km";
:long_name = "y coordinate of projection";
:standard_name = "projection_y_coordinate";
:grid_spacing = "13.545 km";
:_CoordinateAxisType = "GeoY";
data:
{-588.8927377703312, -575.3477377703313, -561.8027377703312,
-548.2577377703312, -534.7127377703313,....
double x(x=451);
:units = "km";
:long_name = "x coordinate of projection";
:standard_name = "projection_x_coordinate";
:grid_spacing = "13.545 km";
:_CoordinateAxisType = "GeoX";
data:
{-3332.1553367171628, -3318.6103367171627, -3305.0653367171626,
-3291.5203367171625,...
To convert the y and x to Lat/Lon the model needs to be opened as a
GridDataset, or the FeatureTypes tab in ToolsUI. Here's an url:
http://www.unidata.ucar.edu/software/netcdf-java/tutorial/GridDatatype.html
also look at:
http://www.unidata.ucar.edu/software/netcdf-java/v2.2.22/javadoc/ucar/nc2/dt/GridDatatype.html
2. hybrid represents vertical pressure coordinates.
I'll try to get some code out tomorrow to show you how to get the information.
Robb...
Ticket Details
===================
Ticket ID: QDJ-903556
Department: Support netCDF Java
Priority: Normal
Status: Open