Opened 17 years ago
Closed 17 years ago
#1487 closed defect (fixed)
GDAL cannot convert into GMT grids
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | 1.4.0 |
Severity: | normal | Keywords: | |
Cc: | josegomez@… |
Description (last modified by )
Cannot convert other grid formats into GMT using gdal_translate on Linux/i386.
gdal_translate -of GMT test.tif testOut.grd Input file size is 1347, 1032 netcdf: 3 is not a valid cdfid
Versions: GDAL 1.4.0 (Linux), with HDF4 (libhdf4 (4.1r4-18.1ubuntu1) support and NetCDF 3.6.1) compiled in (these are both Kubuntu Breezy packages).
"on Frank's Ubuntu system using the packaged libnetcdf" :)
Change History (2)
comment:2 by , 17 years ago
Description: | modified (diff) |
---|---|
Priority: | highest → normal |
Severity: | blocker → normal |
Status: | new → assigned |
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
I have established this is due to the system HDF4 libraries including the NetCDF API, and this interfering with proper operation of the netcdf library. The solution is to configure without hdf4 support, or to uninstall the HDF4 libraries, and build and install them from the HDF4.2r1 source code with the HAVE_NETCDF macro defined.
I have added details in the HDF and NetCDF wiki topics to help people in the future.