The Grib Java decoder is used in conjunction with netcdf-java library to convert some or all of the Grib1 or Grib2 data into netCDF files. In the netcdf-java library, there is a Grib2Netcdf decoder: To used the Grib2Netcdf decoder download the toolsUI jar file from the netCDF java page: http://www.unidata.ucar.edu/software/netcdf-java/ The toolsUI jar file contains all the code necessary to do the conversion to netCDF. One can create a shell script similar to the one below to do the conversion from Grib to a netCDF file. The $CP variable needs to be set by you to where the toolsUI-.jar is located. Replace with your own path and update the version number of the toolsUI jar file to the one on the downloaded jar file. #/bin/csh -f # the shell csh must use the -f flag # set CP="toolsUI-.jar" echo "java -classpath $CP ucar.nc2.ui.ToolsUI" java -Xmx512m -classpath $CP ucar.nc2.iosp.grib.Grib2Netcdf Don't forget to add the INPUT grib file and OUTPUT.NC names. One can also run the ToolsUI program by replacing the Grib2Netcdf line with the following line: java -Xmx512m -classpath $CP ucar.nc2.ui.ToolsUI The ToolsUI program will permit one to look at the data on a parameter basis verses converting the whole file to netCDF.