Ticket #4717 (closed defect: invalid)
netcdf4 is not built into gdal on RHEL 5
| Reported by: | capooti | Owned by: | etourigny |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.2 |
| Component: | ConfigBuild | Version: | 1.9.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by etourigny) (diff)
I have installed netcdf4 on my system, using the --enable-netcdf-4 option:
$ nc-config --all This netCDF 4.1.3 has been built with the following features: --cc -> gcc --cflags -> -I/usr/local/include --libs -> -L/usr/local/lib -lnetcdf --cxx -> g++ --has-c++ -> yes --fc -> gfortran --fflags -> -g -O2 -I/usr/local/include --flibs -> -L/usr/local/lib -lnetcdff -lnetcdf --has-f77 -> yes --has-f90 -> yes --has-dap -> yes --has-nc2 -> yes --has-nc4 -> yes --has-hdf5 -> yes --has-hdf4 -> no --has-pnetcdf-> no --has-szlib -> --prefix -> /usr/local --includedir-> /usr/local/include --version -> netCDF 4.1.3
I have configured GDAL (full log attached), but after compiling NetCDF4 support seems missing:
$ gdalinfo --format netcdf
Format Details:
Short Name: netCDF
Long Name: Network Common Data Format
Extension: nc
Help Topic: frmt_netcdf.html
Supports: Create() - Create writeable dataset.
Supports: CreateCopy() - Create dataset by copying another.
<CreationOptionList>
<Option name="FORMAT" type="string-select" default="NC">
<Value>NC</Value>
<Value>NC2</Value>
</Option>
<Option name="WRITE_BOTTOMUP" type="boolean" default="YES" />
<Option name="WRITE_GDAL_TAGS" type="boolean" default="YES" />
<Option name="WRITE_LONLAT" type="string-select">
<Value>YES</Value>
<Value>NO</Value>
<Value>IF_NEEDED</Value>
</Option>
<Option name="TYPE_LONLAT" type="string-select">
<Value>float</Value>
<Value>double</Value>
</Option>
<Option name="PIXELTYPE" type="string-select" description="only used in Create()">
<Value>DEFAULT</Value>
<Value>SIGNEDBYTE</Value>
</Option>
</CreationOptionList>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

