[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Re: [netcdf-java] announce: stable release netcdf-java 4.0]



On Thu, 19 Mar 2009, Bill Moninger wrote:

Hi Robb,

any update on this? Is a new version of netcdf4-java available that will read the grib2 RUC format with its hybrid coordinates?


The netcdf4-java with the hybrid level fixes are available at:

http://www.unidata.ucar.edu/software/netcdf-java/

let me know if you find any problems.

Robb...


If not, can you give any hint on where it might be on your priority list and when this fix might be available?

Thanks for any info you can provide.

-Bill

On 3/5/2009 5:54 PM, Robb Kambic wrote:
On Thu, 5 Mar 2009, Bill Moninger wrote:

Robb,

I think its just a level number, because its a hybrid--depending on some parameters near the ground and other parameters higher up.

looks like Bill thinks it's just a level number too



-Bill

On 3/5/2009 11:08 AM, Robb Kambic wrote:
Bill,


my fix has a flaw because I didn't have units to the hybrid level. What is the units of hybrid Pa? or what

Robb...





On Wed, 4 Mar 2009, Bill Moninger wrote:

Robb,

I downloaded the (presumably) latest version of netcdf-java-4 from http://www.unidata.ucar.edu/software/netcdf-java/ and encountered the same problem: the grib2 reader is apparently not reading the hybrid dimension, as described below.

-Bill

On 3/2/2009 4:21 PM, Robb Kambic wrote:
Bill,

the problem has been resolved in netcdf-java-4 If you see any problems let us know.

Robb...




On Fri, 27 Feb 2009, Bill Moninger wrote:

Hi Robb,
...
The issue with the operational RUC grib2 file (from NCEP, as you noticed) is that netcdf-java-4 doesn't seem to see the hybrid (vertical) level, although it *seems* to read the file fine. Please see the ncfile.toString() output below, and note that the variable

variable float Pressure(time=1, y=225, x=301);

should have an additional dimension ('hybrid'), according to the wgrib2 dump.

Sorry you got hit with two separate issues from us at the same time.

Feel free to call me (202-497-6435) if you wish, and maybe we can get this resolved faster.

-Bill


-------- Original Message --------
Subject: Re: [netcdf-java] announce: stable release netcdf-java 4.0
Date: Thu, 26 Feb 2009 10:50:24 -0700
From: John Caron <address@hidden>
To: Bill Moninger <address@hidden>
CC: address@hidden
References: <address@hidden> <address@hidden>

Hi Bill:

Usually the problem is in tyhe tables. Can you send us a sample file it fails on? Our Grib expert,
Robb Kambic, can have a look.Ill

Ill fix the download problem, thanks for reporting.

Bill Moninger wrote:
Hi John,

two items: a small one and a (maybe) big one.

First, on page
http://www.unidata.ucar.edu/downloads/netcdf/netcdf-java-4/index.jsp
the link to netcdfAll-4.0.jar actually points to netcdf-4.0.jar.

Second, the latest netcdfAll-4.0.jar does not read the RUC grib2 files correctly, at least as I'm using it. It doesn't find the hybrid dimension.

Here's a snip from ncfile.toString():
----------------------------------------------------
ncfile is netcdf /public/data/grids/ruc/hyb_A252/grib2/0905622000003 {
 dimensions:
   time = 1;
   y = 225;
   x = 301;
   depth_below_surface = 5;
   depth_below_surface1 = 1;
   depth_below_surface2 = 2;
   depth_below_surface3 = 1;
   height_above_ground = 1;
   height_above_ground1 = 1;
   pressure_difference_layer = 1;
   bounds_dim = 2;
 variables:
...
 float Pressure(time=1, y=225, x=301);
     :units = "Pa";
     :long_name = "Pressure @ hybrid";
     :missing_value = -9999.0f; // float
     :grid_mapping = "Lambert_Conformal";
     :GRIB_param_discipline = "Meteorological_products";
     :GRIB_param_category = "Mass";
     :GRIB_param_name = "Pressure";
     :GRIB_param_id = 2, 0, 3, 0; // int
     :GRIB_product_definition_type = "Analysis/forecast at horizontal
level/layer";
     :GRIB_level_type = 105; // int
--------------------------------------------------------

And here's some output from wgrib2 on the same file:
wgrib2 /public/data/grids/ruc/hyb_A252/grib2/0905622000003|more
1:0:d=2009022522:PRES:1 hybrid level:3 hour fcst:
2:70425:d=2009022522:PRES:2 hybrid level:3 hour fcst:
3:140762:d=2009022522:PRES:3 hybrid level:3 hour fcst:
4:211202:d=2009022522:PRES:4 hybrid level:3 hour fcst:
5:281657:d=2009022522:PRES:5 hybrid level:3 hour fcst:
6:351773:d=2009022522:PRES:6 hybrid level:3 hour fcst:
7:421147:d=2009022522:PRES:7 hybrid level:3 hour fcst:
8:489799:d=2009022522:PRES:8 hybrid level:3 hour fcst:
9:557601:d=2009022522:PRES:9 hybrid level:3 hour fcst:
10:624657:d=2009022522:PRES:10 hybrid level:3 hour fcst:
11:691379:d=2009022522:PRES:11 hybrid level:3 hour fcst:
12:758346:d=2009022522:PRES:12 hybrid level:3 hour fcst:
13:825473:d=2009022522:PRES:13 hybrid level:3 hour fcst:
14:892604:d=2009022522:PRES:14 hybrid level:3 hour fcst:
15:959705:d=2009022522:PRES:15 hybrid level:3 hour fcst:

Is this a problem with our grib tables not having information about
hybrid levels?

-Bill

On 2/19/2009 5:28 PM, John Caron wrote:
Version 4.0 is now the the stable release for the Netcdf-Java library.
It is available at

  http://www.unidata.ucar.edu/software/netcdf-java/

Version 4.0 continues to evolve with new features. However, a stable
release means that we will keep
future changes to the API backwards compatible to the public API at:

http://www.unidata.ucar.edu/software/netcdf-java/v4.0/javadoc/index.html Version 2.2 is on "maintenence only" mode. We encourage you to switch
to 4.0 to take advantage of
many significant improvements and bug fixes.

Please report problems, bugs and suggested improvements to
address@hidden.

Thanks!



------------------------------------------------------------------------ There are API changes that you may see when you start using 4.0 with
an application that has been
using 2.2. These are mostly minor and in all cases have equivalent or
improved functionality in 4.0.
Most of the changes are in implementation classes not often used by
applications. More info is at:

  http://www.unidata.ucar.edu/software/netcdf-java/transition4.html

The license for netcdf-java 4.0 has been changed from LGPL to the
"MIT-style" license used by the
netCDF C library. This is intended to remove perceived barriers to use
by some commercial companies.
We anticipate continued contributions of bug fixes and enhancements by
the community.
_______________________________________________
netcdf-java mailing list
address@hidden
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/


--
William R. Moninger         http://www-frd.fsl.noaa.gov/~moninger/
NOAA / Earth Systems Research Laboratory / Global Systems Division
325 Broadway, R/GSD1                           voice: 303-497-6435
Boulder, CO 80305                              fax:   303-497-3329


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



--
William R. Moninger         http://www-frd.fsl.noaa.gov/~moninger/
NOAA / Earth Systems Research Laboratory / Global Systems Division
325 Broadway, R/GSD1                           voice: 303-497-6435
Boulder, CO 80305                              fax:   303-497-3329


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



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

--
William R. Moninger         http://www-frd.fsl.noaa.gov/~moninger/
NOAA / Earth Systems Research Laboratory / Global Systems Division
325 Broadway, R/GSD1                           voice: 303-497-6435
Boulder, CO 80305                              fax:   303-497-3329


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