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

[netCDF #HOT-122007]: converting grib2 files to netcdf using wgrib2 -netcdf

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: [netCDF #HOT-122007]: converting grib2 files to netcdf using wgrib2 -netcdf
  • Date: Thu, 05 Nov 2009 16:11:23 -0700

Larry,

Alternatively, if from http://www.unidata.ucar.edu/software/netcdf-java/ 
you had downloaded

  "The complete netCDF library (MD5) implements the full CDM model, with all 
dependent jars included."

you would have gotten  netcdfAll-4.0.jar file instead of the .zip file you 
used, and that would have worked, using:

  java -Xmx512m -classpath netcdfAll-4.0.jar ucar.nc2.dataset.NetcdfDataset -in 
~/grib2/testfiles/NAM_Alaska_11km_20090920_0600.grib2 -out
~/grib2/testfiles/NAM_Alaska_11km_20090920_0600.nc

--Russ


Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: HOT-122007
Department: Support netCDF Java
Priority: Normal
Status: Closed