NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


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

Re: FW: 20050707: netCDF Decoders - Degribbing files



On Fri, 8 Jul 2005, Zachary Kurt A Contr AFWA/SCSA wrote:

> Robb, I'm working with Brandon on trying out your Java Grib tool and we are
> running into this little snag.  When we try to do a dump of the Grib file we
> receive this exception:
> NotSupportedException : ucar.grib.NotSupportedException: table for center:
> 57 subCenter: 1 number: 2
>
yes, we are still adding tables for all the centers. i created a table and
included it in the distribution.  it's call gwc_2.tab if you want to look
at it.  the new distribution is located in the Unidata's ftp dir

 pub/decoders/GribJava.tar.gz


robb...



> I read the message at
> http://my.unidata.ucar.edu/content/support/help/MailArchives/thredds/msg0037
> 7.html and I'm not sure what the exception indicates since the Javadocs for
> it are very basic.  Is the problem with the center or with the sub center?
> I looked in the tables.txt file and noticed that center 57 was listed as
> U.S. Air Force - Global Weather Center, center 57 is now Air Force Weather
> Agency (Air Fore Weather Center was changed to AFWA).  Is this causing a
> problem?  I didn't see a table for sub centers, am I overlooking something?
> Do we need to make our own tables?
>
> Sorry to flood you with questions and we appreciate any help you can give
> us!  I'll be gone for the next 2 weeks but A1C Nelson will be available so
> please include him in any responses.
>
> Thanks!
>
> Kurt A. Zachary
> Software Engineer, Northrop Grumman
> Operational Applications
> 232-4386
>
> -----Original Message-----
> From: Nelson Brandon K A1C AFWA/SCSA
> Sent: Friday, July 08, 2005 9:23 AM
> To: Zachary Kurt A Contr AFWA/SCSA
> Subject: FW: 20050707: netCDF Decoders - Degribbing files
>
> Also when I try and do a dump on the Grib file it gives this msg...
>
> NotSupportedException : ucar.grib.NotSupportedException: table for center:
> 57 subCenter: 1 number: 2
>
> You might email him with that msg and see what he says
>
> -----Original Message-----
> From: Robb Kambic [mailto:address@hidden]
> Sent: Thursday, July 07, 2005 3:11 PM
> To: Brandon Nelson
> Cc: support-thredds; decoders
> Subject: Re: 20050707: netCDF Decoders - Degribbing files
>
>
> On Thu, 7 Jul 2005, Unidata Support wrote:
>
> >
> > ------- Forwarded Message
> >
> > >To: address@hidden
> > >From: "Brandon Nelson" <address@hidden>
> > >Subject: netCDF Decoders - Degribbing files
> > >Organization: Air Force Weather Agency
> > >Keywords: 200507071800.j67I0wA2001404 netCDF decoders
> >
> > Institution: USAF HQ AFWA/SCSA
> > Package Version: unknown
> > Operating System: Windows XP Pro
> > Hardware Information: unknown
> > Inquiry: We are trying to figure out how to use your java classes to
> degrib several files.  Do you have a quick example to lead us in the right
> direction? We are using the ucar.grib.grib1 files.
> Thank you for your time.
> >
>
> Brandon,
>
> After setting your CLASSPATH to find the the jar files. in the run file
> there are samples like.
>
>
> java -Xmx256m ucar/grib/grib1/Grib1Dump data/RUC.wmo | more
>
> java -Xmx256m ucar/grib/grib1/Grib1Indexer data/RUC.wmo | more
>
> in the IndexFormat.txt file it explains the index format. the index is
> used for quick data extraction.
>
> java -Xmx256m ucar/grib/grib1/Grib1GetData data/RUC.wmo 110 1 true | more
>
> the "110 1 true" are the BmsOrGdsOffset DecScale BmsExists fields from the
> index file. This permits the data extractor to position itself in file to
> get the data and to scale it correctly.
>
> the data/RUC.wmo is a locate test file, you can use any grib1 file for
> your tests.
>
> the grib.jar package will also decode grib2 files.
>
>
> please note:
>
> the source code is still in beta development so any bugs that you find
> would be helpfull to me to know about. there are some extra files in
> the tar, don't be concerned about them. the code is GribJava.tar.gz and it
> is located at:
>
> % ftp www.unidata.ucar.edu
> % cd pub/decoders
> % get GribJava.tar.gz
>
> i just made a new file today with the latest changes.
>
>
> robb...
>
>
> > V/r
> > Brandon K. Nelson, A1C USAF
> > Communications/Computer Systems Programmer
> > Air Force Weather Agency
> > (402) 232-0159
> > address@hidden
> >
> >
> >
> > --
> >
> ****************************************************************************
> > Unidata User Support                                    UCAR Unidata
> > (303)497-8643                                                  P.O. Box
> > address@hidden                                   Boulder, CO
> >
> ----------------------------------------------------------------------------
> > Unidata WWW Service
> >
> ----------------------------------------------------------------------------
> > NOTE: All email exchanges with Unidata User Support are recorded in the
> > Unidata inquiry tracking system and then made publicly available
> > through the web.  If you do not want to have your interactions made
> > available in this way, you must let us know in each email you send to us.
> >
> > ------- End of Forwarded Message
> >
>
> ============================================================================
> ===
> 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/
===============================================================================