mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
f3218a2e2c
re: Issue https://github.com/Unidata/netcdf-c/issues/1848 The existing Virtual File Driver built to support byte-range read-only file access is quite old. It turns out to be extremely slow (reason unknown at the moment). Starting with HDF5 1.10.6, the HDF5 library has its own version of such a file driver. The HDF5 developers have better knowledge about building such a driver and what incantations are needed to get good performance. This PR modifies the byte-range code in hdf5open.c so that if the HDF5 file driver is available, then it is used in preference to the one written by the Netcdf group. Misc. Other Changes: 1. Moved all of nc4print code to ncdump to keep appveyor quiet.
27 lines
629 B
Plaintext
27 lines
629 B
Plaintext
netcdf point {
|
|
dimensions:
|
|
time = 3 ;
|
|
variables:
|
|
float lon(time) ;
|
|
lon:long_name = "longitude" ;
|
|
lon:units = "degrees_east" ;
|
|
float lat(time) ;
|
|
lat:long_name = "latitude" ;
|
|
lat:units = "degrees_north" ;
|
|
float z(time) ;
|
|
z:long_name = "height above mean sea level" ;
|
|
z:units = "km" ;
|
|
z:positive = "up" ;
|
|
double time(time) ;
|
|
time:long_name = "time" ;
|
|
time:units = "days since 1970-01-01 00:00:00" ;
|
|
float data(time) ;
|
|
data :long_name = "skin temperature" ;
|
|
data :units = "Celsius" ;
|
|
data :coordinates = "time lon lat z" ;
|
|
|
|
// global attributes:
|
|
:featureType = "point" ;
|
|
:Conventions = "CF-1.6" ;
|
|
}
|