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

[netCDFJava #HQD-232284]: Command line for batch file

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDFJava #HQD-232284]: Command line for batch file
  • Date: Sat, 17 Nov 2007 09:59:59 -0700

Darren


Download the Java Grib Decoder package from:

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

Using the following script, set CP to the lib/grib-6.0.jar
file.


#/bin/csh -f

set CP="<your path to>/grib-6.0.jar"

echo $CP

java -Xmx512m -classpath $CP ucar.grib.Grib1Dump <INPUT>  


here are the other commands:
java -Xmx256m ucar/grib/grib1/Grib1Dump data/grib1/RUC.wmo > ruc.dump

java -Xmx256m ucar/grib/grib2/Grib2Dump data/grib2/ndfd.wmo > ndfd.dump

java -Xmx256m ucar/grib/grib2/Grib2Indexer data/grib2/ndfd.wmo ndfd.idx 

java -Xmx256m ucar/grib/grib1/Grib1Indexer data/grib1/RUC.wmo  RUC.wmo.gbx

java -Xmx256m ucar/grib/grib1/Grib1IndexExtender data/grib1/RUC.wmo 

java -Xmx256m ucar/grib/grib2/Grib2IndexExtender data/grib2/NDFD.wmo 

java -Xmx256m ucar/grib/grib2/Grib2GetData data/grib2/ndfd.wmo 498193 498274 > n
dfd.data

java -Xmx256m ucar/grib/grib1/Grib1GetData data/grib1/RUC.wmo 110 1 true > ruc.d
ata

java -Xmx256m ucar/grib/GribChecker data/grib2/ndfd.wmo







Ticket Details
===================
Ticket ID: HQD-232284
Department: Support netCDF Java
Priority: Normal
Status: Open