Changes between Initial Version and Version 5 of Ticket #4554
- Timestamp:
- Mar 10, 2012, 6:21:02 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4554
- Property Cc added
-
Ticket #4554 – Description
initial v5 1 I have two netcdf files containing multiple datasets. 1 Etienne, 2 2 3 The netCDF driver produces some HDF5-DIAG error message on the first file but on the second file, the driver handles it without any error. 3 On Win7 64 with HDF5 1.8.8 and netCDF 4.1.3 I get this 4 4 5 5 6 {{{ 6 gdalwarp -of netCDF multipledataset1.nc dataset1.nc7 c:\>gdalwarp -of netCDF multipledataset1.nc dataset1.nc 7 8 Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute 8 9 Input file multipledataset1.nc has no raster bands. 9 HDF5-DIAG: Error detected in HDF5 (1.8.8) thread 0:10 #000: H5T.c line 1721 in H5Tclose(): not a datatype11 major: Invalid arguments to routine12 minor: Inappropriate type13 10 14 gdalwarp -of netCDF multipledataset2.nc dataset2.nc2 11 c:\>gdalwarp -of netCDF multipledataset2.nc dataset1.nc 15 12 Input file multipledataset2.nc has no raster bands. 16 13 }}} 14 15 and with the -debug mode 16 17 18 {{{ 19 c:\>gdalwarp --debug on -of netCDF multipledataset1.nc dataset1.nc 20 GDAL_netCDF: 21 ===== 22 calling nc_open( multipledataset1.nc ) 23 24 GDAL_netCDF: driver detected file type=3, libnetcdf detected type=4 25 GDAL_netCDF: seting file type to 4, was 3 26 GDAL_netCDF: dim_count = 2 27 Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute 28 GDAL_netCDF: var_count = 4 29 GDAL: GDALOpen(multipledataset1.nc, this=00000000005B6660) succeeds as netCDF. 30 Input file multipledataset1.nc has no raster bands. 31 GDAL: force close of multipledataset1.nc in GDALDriverManager cleanup. 32 GDAL: GDALClose(multipledataset1.nc, this=00000000005B6660) 33 }}}