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

[Fwd: grb2 index file problem (?)] (fwd)



Hiya Rob,

The gbx index files and the gbx8 index files comes from different versions of the grib library, so you must be accessing both libraries. The latest version of the library is grib-8.0.jar, so remove the other grib jars in the path. For safty sake, remove all the gbx indexes too, use only the gbx8 indexes.

The other problem with the value of time is the units should of been changed to hours.

{12967200} secs equals {3602} hours

I'll make the units fix.

Robb...

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================
-------- Original Message --------
Subject:        grb2 index file problem (?)
Date:   Wed, 17 Feb 2010 14:18:19 -0700
From:   Rob Weingruber <address@hidden>
Organization:   UCAR
To:     John Caron <address@hidden>
CC:     Tom Margolis <address@hidden>



Hi John -

Attached is a grb2 file. When we open it in ToolsUI (Viewer), ToolsUI generates a grib index file. Sometimes it generates a gbx and sometimes it generates a gbx8 index file (seems like a problem?).

When we dump the "time" value/variable using ToolsUI, we get different time
values depending on which grib index file is created:

1. the gbx index yields:

  int time(time=1);
    :long_name = "forecast time";
    :units = "seconds since 2010-02-16T03:00:00Z";
    :GRIB_orgReferenceTime = "2010-02-16T03:00:00Z";
    :GRIB2_significanceOfRTName = "Start of forecast";
    :_CoordinateAxisType = "Time";

data:

 {12967200}

2. the gbx8 index yields:

  int time(time=1);
    :long_name = "forecast time";
    :units = "seconds since 2010-02-16T03:00:00Z";
    :GRIB_orgReferenceTime = "2010-02-16T03:00:00Z";
    :GRIB2_significanceOfRTName = "Start of forecast";
    :_CoordinateAxisType = "Time";

data:

 {3602}

NOTICE that the time values differ. Any ideas? Please help ;-)

-- Thanks, Rob and Tom