Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: Creating a GeoGrid

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


  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: