NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Use GridDataset.open(String filename); Carl Drews wrote:
John - Last week you suggested that I could use a GeoGrid to read grib1 and grib2 files, rather than a NetcdfDataset. I'm looking at the javadoc on GeoGrid here: http://www.unidata.ucar.edu/software/netcdf-java/v2.2.14/javadoc/ucar/nc2/dataset/grid/GeoGrid.html GeoGrid takes a GridDataset for its constructor; GridDataset takes a NetcdfDataset for its constructor. From this pair of constructors it appears that I will need a NetcdfDataset anyway. Is there any other way to construct a GeoGrid? Carl
netcdf-java
archives: