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

XYT and XYZT grid with only 1 X and 1 Y point in axis

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: XYT and XYZT grid with only 1 X and 1 Y point in axis
  • Date: Mon, 08 Aug 2005 11:24:31 -0500

Hi,

I am using the Java netCDF library (version 2.2.something -- how to I tell which from the jar?) to extract the GeoGrids from the netCDF dataset from these two URLs.

Both are degenerate in the sense that there is only one X and one Y in the "grid", but none the less in the case of the XYT file the GeoGrids are returned successfully.

However in the second case where a similar XY grid is defined, but includes a Z axis getGrids() returns an empty list. I think it should be able to return grids (albeit degenerate) just the same as the XYT case.

XYT Grid:

http://dods.ndbc.noaa.gov/cgi-bin/nph-dods/dods/stdmet/42001/42001h2001.nc


XYZT Grid:

http://dods.ndbc.noaa.gov/cgi-bin/nph-dods/dods/adcp/41012/41012a2002.nc

Thanks,
Roland