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.
Larry, An alternative I should have mentioned is conversion of grib2 to netCDF using the Unidata netCDF-Java package, but you only have to use a command-line invocation, not write a Java program. It's demonstrated in the first example here: http://www.unidata.ucar.edu/software/netcdf-java/reference/faq.html#Writing so for your example, you could use: java -Xmx512m -classpath netcdfAll.jar ucar.nc2.dataset.NetcdfDataset -in infile.grib2 -out outfile.nc You would need to get the file ftp://ftp.unidata.ucar.edu/pub/netcdf-java/v4.0/netcdfAll-4.0.zip for use in the classpath argument. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: HOT-122007 Department: Support netCDF Priority: Normal Status: Closed