Edward Hartnett
e6ded1a8ec
more testing
2019-12-20 11:42:54 -07:00
Edward Hartnett
995cfdad96
merged master
2019-12-20 11:16:11 -07:00
Edward Hartnett
8681b0d241
more documentaiton
2019-12-20 07:10:13 -07:00
Edward Hartnett
4b7f839666
swtich to collective access when filters are applied
2019-12-20 07:00:12 -07:00
Edward Hartnett
f980743be1
now also can set fletcher32 in parallel I/O writes
2019-12-20 06:48:31 -07:00
Edward Hartnett
0c6641eb98
adjusted tst_parallel_zlib2 to HDF5 version flag
2019-12-20 06:46:13 -07:00
Edward Hartnett
663540b3a7
adjusted tst_parallel_zlib to HDF5 version flag
2019-12-20 06:44:14 -07:00
Edward Hartnett
6d2d92ddec
added new tests to cmake, also additional test development
2019-12-20 06:30:23 -07:00
Edward Hartnett
d534b1298a
adding another zlib parallel I/O test
2019-12-20 05:28:20 -07:00
Edward Hartnett
2a415dba7c
stop running tst_mode test
2019-12-20 05:22:53 -07:00
Ward Fisher
6c75e97764
Merge pull request #1570 from NOAA-GSD/ejh_compact
...
enable compact storage for netcdf-4 vars
2019-12-19 16:47:05 -07:00
Edward Hartnett
cde58d23c1
allowing parallel write of gzipped data, plus added test
2019-12-19 09:20:20 -07:00
Edward Hartnett
3e00967879
allow parallel writes to use zlib
2019-12-19 09:19:23 -07:00
Edward Hartnett
fb4a209f2a
more testing for compact vars
2019-12-16 09:44:31 -07:00
Edward Hartnett
e75c248478
more testing for compact vars
2019-12-16 09:42:54 -07:00
Edward Hartnett
66a2b4c05e
more testing for compact vars
2019-12-16 09:37:54 -07:00
Edward Hartnett
90324dfd10
further test development for compact storage
2019-12-16 09:31:11 -07:00
Edward Hartnett
89b8981c86
got compact storage test working
2019-12-04 09:12:53 -07:00
Edward Hartnett
06896f432d
got compact storage test working
2019-12-04 08:49:37 -07:00
Edward Hartnett
85994847b2
more test development
2019-12-04 08:06:55 -07:00
Edward Hartnett
1a1f537c26
more test development
2019-12-04 08:05:30 -07:00
Edward Hartnett
1a665b6d80
adding test for compact storage
2019-12-04 08:01:56 -07:00
Edward Hartnett
bb1f5e1637
whitespace cleanup of test
2019-12-04 07:55:54 -07:00
Edward Hartnett
c0a6da7757
changed test filename to one that will be cleaned
2019-12-01 08:47:46 -07:00
Edward Hartnett
ddf986665b
comment to explain
2019-12-01 07:35:41 -07:00
Edward Hartnett
f86ca19ee3
added test for opening HDF5 file without creation ordering
2019-12-01 07:30:32 -07:00
Ward Fisher
af8f9ad2cf
Merge pull request #1523 from NetCDF-World-Domination-Council/ejh_udf
...
User-defined formats must come first in NC_infermodel, plus test
2019-11-15 16:40:07 -07:00
Ward Fisher
923d4ccbff
Merge pull request #1530 from NetCDF-World-Domination-Council/ejh_endianness
...
now testing that endianness can only be set on atomic ints and floats
2019-11-15 15:27:35 -07:00
edwardhartnett
965da1de01
now testing that endianness can only be set on atomic ints and floats
2019-11-15 11:10:10 -07:00
edwardhartnett
b844f8f8f6
more testing
2019-11-15 09:26:37 -07:00
edwardhartnett
35e210ac29
test cleanup
2019-11-15 09:21:54 -07:00
edwardhartnett
0017f3e069
test cleanup
2019-11-15 09:21:11 -07:00
edwardhartnett
7f41db9cb3
test cleanup
2019-11-15 09:20:26 -07:00
edwardhartnett
8083b3596e
fixed problem of unlim dim and var sharing the same name but not being related
2019-11-15 09:18:42 -07:00
Ward Fisher
1a6351dab2
Merge pull request #1521 from ckhroulev/netcdf4-repeated-attribute-modification
...
Improve the fix for #350 included in #1119
2019-11-14 17:01:09 -07:00
Ward Fisher
2462cda15e
Merge pull request #1525 from NetCDF-World-Domination-Council/ejh_anon_dims
...
If HDF5 dataset has multiple anonymous dimensions of the same size, assume they are different dimensions
2019-11-14 16:58:24 -07:00
edwardhartnett
d0b069cf70
cleaned up test handling of strings
2019-11-14 09:39:10 -07:00
edwardhartnett
3e45fa1497
another test for two anon dimensions of same size used in same HDF5 var
2019-11-14 07:23:09 -07:00
edwardhartnett
d73611de73
now handle two anon dimensions of same size used in same HDF5 var
2019-11-14 06:54:22 -07:00
edwardhartnett
cebe84157b
adding test for anonymous dims in HDF5 file
2019-11-13 12:51:34 -07:00
edwardhartnett
b9f57b2b5f
now UDF mode flags take priority over NC_NETCDF4
2019-11-13 12:13:33 -07:00
Constantine Khrulev
bb45db457e
Add regression tests modifying attributes 2^16 times
...
This commit adds three new tests:
- a test documenting the limitation originally reported in #350 (in
general modifying an attribute about 2^16 times makes it impossible
to modify this file in ways requiring nc_redef() and nc_enddef() calls).
- a test ensuring that a scalar attribute can be modified 2^16 times
as long as its type and size remain the same
- a test ensuring that a text attribute can be modified 2^16 times as
long as its size remains the same
This version uses the nc_redef(), nc_put_att_...(), nc_enddef()
sequence. One could also use nc_open(), nc_put_att_...(), nc_close()
but that would make these tests significantly slower.
2019-11-13 10:08:31 -09:00
edwardhartnett
0bbe91e438
udf must take priority in NC_infermodel
2019-11-13 12:07:33 -07:00
Dennis Heimbigner
30cfd348e6
Remove debug output
2019-11-06 09:33:14 -07:00
Dennis Heimbigner
9e016b85aa
Add test cases
2019-11-03 12:03:13 -07:00
Dennis Heimbigner
f1506d552e
Change (again), and hopefully simplify, the file model inference algorithm.
...
* For URL paths, the new approach essentially centralizes all information
in the URL into the "#mode=" fragment key and uses that value
to determine the dispatcher for (most) URLs.
* The new approach has the following steps:
1. canonicalize the path if it is a URL.
2. use the mode= fragment key to determine the dispatcher
3. if dispatcher still not determined, then use the mode flags
argument to nc_open/nc_create to determine the dispatcher.
4. if the path points to something readable, attempt to read the
magic number at the front, and use that to determine the dispatcher.
this case may override all previous cases.
* Misc changes.
1. Update documentation
2. Moved some unit tests from libdispatch to unit_test directory.
3. Fixed use of wrong #ifdef macro in test_filter_reg.c
[I think this may fix an previously reported esupport query].
2019-09-29 12:59:28 -06:00
Greg Sjaardema
56c0d5cf8a
Spelling fixes
2019-09-18 08:03:01 -06:00
Ward Fisher
9a92201c94
Wiring unit test directory into cmake-based builds.
2019-08-21 14:50:09 -06:00
edwardhartnett
2077729abc
removed base_pe functions from dispatch table
2019-08-15 06:51:06 -06:00
edwardhartnett
0b00f4b5eb
more work on tst_parallel5.c
2019-08-14 08:50:09 -06:00