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]

[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


 
 
  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