Re: [netcdf-java] grib read error


I downloaded the file, the GDS seems correct. So it must be that the old index filename.gbx wasn't deleted.

RObb...

GDSkey = -2105227746
grid_type = 0
grid_name = Latitude/Longitude Grid
grid_shape_code = 0
grid_shape = spherical
grid_radius_spherical_earth = 6367.47
Nx = 275
Ny = 203
La1 = 50.25
Lo1 = 261.75
ResCompFlag = 128
Winds = True
La2 = -0.25
Lo2 = 330.25
Dx = 0.25
Dy = 0.25
grid_units = degrees
ScanningMode = 0










On Wed, 6 May 2009, John Caron wrote:

Hi Sachin:

You need to delete the old index file (filename.gbx) so it will get reindexed. let me know if that doesnt work.


Sachin Kumar Bhate wrote:
John,

The latest version of toolsUI available at unidata site does not solve the problem.

Version 4.0.41.20090505.2215
Build Date = 2009-05-05 22:15:45

thanks

Sachin

John Caron wrote:
Ethan made a release yesterday (4.0.41) that should have this fix in it, including ncIdv.jar.

Don Murray wrote:
Hi Sachin-

We recently found this bug with another dataset and it has been
fixed.  It was a bug introduced in the grib reading library.
However, a new release of netCDF-Java with the
fix is pending the repair of John's machine. ;-)

Don

Sachin Kumar Bhate wrote:
John,

We are trying to read the coordinate variables from a grib file, but
somehow the variable array is being populated with the same 1st value.

1. Check screen grab lon values in latest toolsUI (Version 4.0.41.20090505.2215) at
   http://www.gri.msstate.edu/rsearch_data/nopp/lon_sachin.jpg

2. The other strange thing is that Rich is using the latest toolsUI as well on a machine that does not have latest JVM (i.e. 1.6) and on that machine the lon variables
   show up correctly... check his screen grab,
   http://www.gri.msstate.edu/rsearch_data/nopp/lon_rich.png

Looks like the attribute 'grid_spacing' in step 1 above is not set properly.
It says '0.0 degrees_east', while it should be '0.25 degrees_east'.

The file we are trying to read is at

ftp://polar.ncep.noaa.gov/pub/history/waves/wna.dp.200409.grb

The netcdf file for above grib file (converted using NCL) is at

http://omglnx4.meas.ncsu.edu/joseph/skb_help/wna.dp.200409.nc


Any comments,

thanks,

Sachin



_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/


_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
===============================================================================



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: