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

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



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