Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

[netCDFDecoders #WOX-279290]: grib2 to cdl and netcdf



Themis,

grib2cdl's name is misleading, actually it only creates a cdl
file for Grib1 type files.  The whole gribtonc package only
works with Grib1. Hopefully you didn't waste much time on this
problem. I've been working on the web site to correct this 
misleading information and I also split out the perl Decoders 
into their own package. Here's the url:

http://www.unidata.ucar.edu/software/decoders/

I would appreciate any comments about the page, so it's clear
to others and they don't make the same assumptions.

For the Grib Java grib2netcdf decoder:

One needs to download the toolUI jar file from the netCDF java 
page:

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


Notice the Grib Java decoder that can be used to convert some or
all of the Grib1 or Grib2 data into netCDF files.

the $CP needs to be set by you, where the toolsUI-2.2.14.jar is 
located. Here is a shell program. replace <yourpathtoo> with your own 
path and update the version number of the toolsUI jar file.

#/bin/csh -f

set CP="<yourpathtoo>toolsUI-2.2.14.jar"

echo "java -classpath $CP ucar.nc2.ui.ToolsUI"

java -Xmx512m -classpath $CP ucar.nc2.ui.ToolsUI

also the Grib2Netcdf can replace the ToolsUI by

java -Xmx512m -classpath $CP ucar.nc2.iosp.grib.Grib2Netcdf INPUT OUTPUT.NC

Don't forget to add the INPUT grib file and OUTPUT.NC names.




Thanks,
Robb...

Ticket Details
===================
Ticket ID: WOX-279290
Department: Support netCDF Decoders
Priority: Normal
Status: Open


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690