netcdf: add metadata record for original array dimension when reading from multidimensional files
|Reported by:||mdsumner||Owned by:||etourigny|
|Cc:||Markus Neteler, dnadeau, Kyle Shannon|
When accessing a file with 3D or 4D subdatasets such as NetCDF it's possible to discover the original array dimension via the "DESC=[TxZxYxX]" tag.
This information is not available for single dataset files - there is no analogous "DESC=[dim]" tag for multi-dim arrays from single dataset files.
The higher dimensions get unrolled into bands but there's no record of the original shape - having this metadata available as per SDS files would be useful.
An example file from the Unidata samples: http://www.unidata.ucar.edu/software/netcdf/examples/rhum.2003.nc
This file contains variable "rhum"(time=365, level=8, lat=73, lon=144) that is unrolled to a 2920 band raster.
Change History (14)
comment:4 by , 15 years ago
|Component:||default → GDAL_Raster|
|Summary:||add metadata record for original array dimension when reading from multidimensional files → netcdf: add metadata record for original array dimension when reading from multidimensional files|