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

[GEMPAK #QZL-515725]: GEMPAK to NETCDF



Hi Patrick-

> Thanks for the quick reply,  Ultimately what I'm trying to do is be able to
> read gempak files into python to take advantage of the matplotlib
> capabilities.  At this point I'm willing to try just about anything just to
> see if I can get this idea to work as a proof in concept.  Is the java API
> on the website?  If so, I'll start with this until I can find another
> solution to deal with observed datasets.

It's the netCDF-Java library available at:

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

The gempak file reading is part of the netCDF-Java library in the 
ucar.nc2.iosp.gempak package.  The writing is in the ucar.nc2.dt.grid
package.  I've attached a sample program that will read the file
and write it out as netCDF.

Don

> 
> address@hidden> wrote:
> 
> > Hi Patrick-
> >
> > > I've been searching through the online archives trying to find a GEMPAK
> > to
> > > NETCDF converter and have not been successful.  I did find a thread that
> > > indicated that someone was working on this / knew of something but the
> > email
> > > thread just ended without much help.
> > >
> > > Any help would be appreciative.
> >
> > What type of data are you looking to convert?  If it is gridded
> > data, we have a Java API that will read in a GEMPAK grid file and
> > can output it as a netCDF file using CF conventions.
> >
> > If it is other data (point, etc), I don't know of any other
> > solutions at the present time.
> >
> > Don Murray
> >
> > Ticket Details
> > ===================
> > Ticket ID: QZL-515725
> > Department: Support GEMPAK
> > Priority: Normal
> > Status: Open
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: QZL-515725
Department: Support GEMPAK
Priority: Normal
Status: Open

Attachment: GempakToCF.java
Description: Binary data