Ed Hartnett
e74009c708
HDF5-specific group changes
2018-11-12 12:32:21 -07:00
Ed Hartnett
c59d6930f0
HDF5-specific group changes
2018-11-12 12:12:56 -07:00
Ed Hartnett
17552b7eb3
HDF5-specific group changes
2018-11-12 10:37:06 -07:00
Ed Hartnett
6b75bb483b
allocating HDF5-specific group info struct for root group
2018-11-12 09:02:46 -07:00
Ed Hartnett
7534cb24fe
cleanup
2018-11-08 11:12:38 -07:00
Ed Hartnett
e88b98daaa
moving hdf5_objid field to hdf5-specific dim info
2018-11-08 11:05:20 -07:00
Ed Hartnett
856e4ead03
moved hdf_dimscaleid to hdf5-specific dim info
2018-11-08 10:55:21 -07:00
Ed Hartnett
7ab71a69bb
more use of HDF5-specific dim info
2018-11-08 10:40:39 -07:00
Ed Hartnett
30da28edff
using hdf5-specific dim info
2018-11-08 10:37:32 -07:00
Ed Hartnett
bff06f2c4d
starting to use HDF5-specific dim info
2018-11-08 10:22:37 -07:00
Ed Hartnett
b85eec1bb8
starting to set hdf5-specific dim info struct
2018-11-08 10:07:59 -07:00
Ed Hartnett
3e80723525
continuing to find HDF5 specific dim info
2018-11-08 09:20:01 -07:00
Ed Hartnett
9373989931
allocating and freeing space for HDF5-specific dim info
2018-11-08 08:51:46 -07:00
Ed Hartnett
5faa166e8e
removed duplicated constant
2018-08-25 05:51:50 -06:00
Ed Hartnett
8d0844fa7d
removing unneeded function calls
2018-08-21 10:20:32 -06:00
Ed Hartnett
fda87a8d5f
now check for max of 32 dims for a var in HDF5 file
2018-08-20 09:53:08 -06:00
Ed Hartnett
0ad7118064
no longer delete/re-create att if we dont have to
2018-08-20 05:10:34 -06:00
Ed Hartnett
e7b7430e75
trying to sort out nctest issue
2018-08-19 05:55:05 -06:00
Ed Hartnett
412c18a4a1
fixed error handling in read_coord_dimids
2018-08-18 05:59:30 -06:00
Ed Hartnett
2e7a7ea94e
moved put and get vars functions from nc4hdf5.c to hdf5var.c
2018-08-09 06:44:38 -06:00
Ed Hartnett
5e9ffcaab3
renamed get_fill_value
2018-08-09 06:41:54 -06:00
Ed Hartnett
5a452c5815
bring in changes from lazy vars branch
2018-08-06 10:49:31 -06:00
Ed Hartnett
5631fa512a
merged master
2018-07-24 01:51:51 -06:00
Ed Hartnett
a545c1526d
further movement towards NC_HDF5_FILE_INFO_T
2018-07-19 13:00:34 -06:00
Ed Hartnett
2dd0ac6319
clean up
2018-07-16 04:50:15 -06:00
Ed Hartnett
786c5a8f2e
moved hdf5 specific header stuff to hdf5internal.h
2018-07-12 07:05:21 -06:00
Ed Hartnett
697f033823
renamed NC_HDF5_FILE_INFO to NC_FILE_INFO
2018-06-22 07:08:09 -06:00
Ed Hartnett
2549bd7d70
clean up
2018-06-17 08:20:51 -06:00
Ed Hartnett
c7ab5573b4
removed get/put vara functions
2018-06-16 10:39:50 -06:00
Ed Hartnett
9230cb8aa9
now using put_vars too
2018-06-16 10:37:49 -06:00
Ed Hartnett
4f83e929c0
switch to vars
2018-06-16 08:38:52 -06:00
Ed Hartnett
11a51e47f3
cleanup
2018-06-16 08:35:30 -06:00
Ed Hartnett
6bfa4d4642
cleanup of put_vars handling of zero counts
2018-06-16 08:33:11 -06:00
Ed Hartnett
5e05d22bdf
better handling of zero count for get_vars
2018-06-16 08:30:11 -06:00
Ed Hartnett
815f4f76dc
clean up
2018-06-16 06:06:35 -06:00
Ed Hartnett
416da4cb4f
took out is_long for vars functions
2018-06-16 05:55:50 -06:00
Ed Hartnett
3f9315d58f
took out defaultvars
2018-06-16 05:52:07 -06:00
Ed Hartnett
b85f2e9e76
removed HDF5_CONVERT from vars functions
2018-06-16 05:38:39 -06:00
Ed Hartnett
19ae8b47d1
took out src_long and dest_long again. Getting good at it! ;-)
2018-06-16 05:33:04 -06:00
Ed Hartnett
037a3cb58c
reverting
2018-06-09 06:17:52 -06:00
Ed Hartnett
09366bf43b
removed longs from conver_type again
2018-06-09 06:14:14 -06:00
Ward Fisher
1d789d9d39
Additional reconciliation
2018-06-08 15:50:39 -06:00
Ward Fisher
df4942d280
Merge branch 'master' into vars.dmh
2018-06-08 15:50:28 -06:00
Ward Fisher
595f39ce42
Corrected an unlikely but possible passage of a null pointer to memcpy.
2018-06-08 11:18:08 -06:00
Ed Hartnett
9a2782b56c
got long working with master
2018-06-05 14:40:49 -06:00
Dennis Heimbigner
ee509ff4f3
Re-Implement the nc_get/put_vars operations for netcdf-4 using the
...
corresponding HDF5 operations.
re: github issue https://github.com/Unidata/netcdf-c/issues/908
also in reference to https://github.com/pydata/xarray/issues/2004
The netcdf-c library has implemented the nc_get_vars and nc_put_vars
operations as element at a time. This has resulted in very slow
operation.
This pr attempts to improve the situation for netcdf-4/hdf5 files
by using the slab operations provided by the hdf5 library. The new
implementation passes the get/put vars stride information down to
the hdf5 slab operations.
The result appears to improve performance significantly. Some simple
tests on large 2-D arrays shows speedups in excess of 150.
Misc. other changes:
1. fix bug in ncgen/semantics.c; using a list's allocated length
instead of actual length.
2. Added a temporary hook in the netcdf library plus a performance
test case (tst_varsperf.c) to estimate the speedup. After users
have had some experience with this, I will remove it, probably
after the 4.7 release.
2018-05-22 16:50:52 -06:00
Ed Hartnett
40c552bd43
cleaned up nc4hdf5.c
2018-05-16 03:18:50 -06:00
Ed Hartnett
af70577e6d
merged master
2018-05-09 14:43:42 -06:00
Ed Hartnett
5526ca65d1
created libhdf5, moved some files
2018-05-08 11:58:01 -06:00