Opened 11 years ago
Closed 11 years ago
#4933 closed defect (duplicate)
Wrong subdataset data type info on a netCDF file
Reported by: | jluis | Owned by: | etourigny |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
Running gdalinfo on this "ascat" netCDF file prints that the subdatasets are of 8-bits type.
gdalinfo ascat_20120507_222701_metopa_28801_eps_o_125_2100_ovw.l2.nc ...
SUBDATASET_5_NAME=NETCDF:"ascat_20120507_222701_metopa_28801_eps_o_125_2100_ovw.l2.nc":model_speed SUBDATASET_5_DESC=[3259x82] model_speed (8-bit integer) SUBDATASET_6_NAME=NETCDF:"ascat_20120507_222701_metopa_
This is wrong since those arrays have a 16-bits type as can be seen by printing the info of the subdataset
gdalinfo NETCDF:"ascat_20120507_222701_metopa_28801_eps_o_125_2100_ovw.l2.nc":wind_speed ... Band 1 Block=82x1 Type=Int16, ColorInterp=Undefined
NoData Value=-32767 Offset: 0, Scale:0.01
...
Sorry, duplicate of #4932 when it didn't allow attach the netCDF file due to its size.