Commit Graph

8946 Commits

Author SHA1 Message Date
Dennis Heimbigner
4ed02afaf2 installtest 2022-04-21 15:47:49 -06:00
Ward Fisher
516c73b5d9 Made the parallel build action label mention pnetcdf. 2022-04-21 14:34:18 -06:00
Ward Fisher
b533d4a175
Merge pull request #2292 from edwardhartnett/ejh_mpi_file_2
ensuring that MPI_File_close() is only called on open MPI file handle
2022-04-21 14:28:53 -06:00
Ward Fisher
ad9650604f Remove on-push trigger for OSX-based workflows. 2022-04-21 14:23:53 -06:00
Dennis Heimbigner
a9216fec29 ckp 2022-04-21 12:48:01 -06:00
Dennis Heimbigner
aee2324fc8 cmake 2022-04-20 18:51:56 -06:00
Dennis Heimbigner
095daf4d6a update file permission 2022-04-20 15:56:54 -06:00
Dennis Heimbigner
d954243822 missing file' 2022-04-20 15:48:21 -06:00
Dennis Heimbigner
33578d1733 ckp 2022-04-20 15:40:27 -06:00
Ward Fisher
cf1a0b8bb7
Merge pull request #2295 from WardF/gh2161.wif
2161 re-run tests
2022-04-19 13:02:53 -06:00
Ward Fisher
982b258c46 Merge branch 'dimscale_attachement_optional' of https://github.com/gsjaardema/netcdf-c into gh2161.wif 2022-04-19 11:06:34 -06:00
Sergey Kosukhin
f5ae447be9 fix configure check for the -fno-strict-aliasing flag 2022-04-19 10:47:33 +02:00
Edward Hartnett
9ffc8d6d42 ensuring that MPI_File_close() is only called on open MPI file handle 2022-04-18 08:36:14 -06:00
Edward Hartnett
e9ac9bda1c working on parallel numrec problem 2022-04-18 08:22:50 -06:00
Edward Hartnett
60a0f07ccc attempts to get working 2022-04-12 07:52:16 -06:00
Edward Hartnett
b7d832b37f adding test to demonstrate parallel I/O numrecs problem 2022-04-12 06:56:23 -06:00
Milton Woods
f546d95aa2 Fix dll exports for ncxml 2022-04-12 19:16:58 +10:00
Ward Fisher
dd4edd09eb
Merge pull request #2282 from edwardhartnett/ejh_no_util_tests
turning off tests that depend on ncpathcvt when --disable-utilities is used
2022-04-11 15:11:18 -06:00
Ward Fisher
58660cd438
Merge pull request #2286 from edwardhartnett/ejh_fix_netcdf_meta
fixed missing NC_HAS_QUANTIZE
2022-04-11 14:58:10 -06:00
Ward Fisher
cda16fd893
Merge pull request #2284 from edwardhartnett/ejh_pnetcdf_tests
fixing some of the problems with nc_test when --enable-pnetcdf is used
2022-04-11 14:53:12 -06:00
Ward Fisher
1cb28a9e66
Merge pull request #2105 from mjwoods/mingw-w64-pwd
Use Windows paths in tests of mingw-w64 executables
2022-04-11 13:22:59 -06:00
Ward Fisher
24835e0794
Merge pull request #2287 from edwardhartnett/ejh_add_zstd_meta
added ZSTD to netcdf_meta.h and libnetcdf.settings
2022-04-11 10:40:48 -06:00
Ward Fisher
c0f319de3c
Merge branch 'main' into mingw-w64-pwd 2022-04-11 10:39:10 -06:00
Ward Fisher
04e8af3842
Merge pull request #2240 from iridl/changelog-link
Fix incorrect PR link
2022-04-11 10:37:39 -06:00
Ward Fisher
572f123c6b
Merge pull request #2280 from edwardhartnett/ejh_pnetcdf_CI
Adds pnetcdf to the parallel I/O testing on GitHub.
2022-04-11 10:36:51 -06:00
Edward Hartnett
57365d4b47 added ZSTD to netcdf_meta.h and libnetcdf.settings 2022-04-11 08:03:24 -06:00
Edward Hartnett
a0d58c6820 fixed missing NC_HAS_QUANTIZE 2022-04-10 08:21:11 -06:00
Edward Hartnett
0b044b180e fixing some nc_test builds when --enable-pnetcdf is not used 2022-04-10 07:36:34 -06:00
Edward Hartnett
7849955976 fixing some nc_test builds when --enable-pnetcdf is not used 2022-04-10 07:30:49 -06:00
Edward Hartnett
1dbc0e7b05 fixing some nc_test builds when --enable-pnetcdf is not used 2022-04-10 07:21:11 -06:00
Edward Hartnett
2b26121537 fixed problems running mpi-enabled tests with --enable-pnetcdf in nc_test 2022-04-09 14:27:13 -06:00
Edward Hartnett
d4d4e28ac9 now running MPI-enabled tests with mpiexec for parallel I/O builds 2022-04-09 14:18:36 -06:00
Edward Hartnett
be0de4c95c fixing some issuses of pnetcdf tests in nc_test 2022-04-09 13:56:59 -06:00
Edward Hartnett
f077e4a2a8 fixing some issuses of pnetcdf tests in nc_test 2022-04-09 13:52:29 -06:00
Edward Hartnett
336b7d7222 turning off tests that depend on ncpathcvt when --disable-utilities is used 2022-04-09 13:28:01 -06:00
Edward Hartnett
0cfc4370da untabified 2022-04-09 11:41:40 -06:00
Edward Hartnett
a7e1734568 adding pnetcdf 2022-04-09 11:32:43 -06:00
Ward Fisher
4ad45457d2
Merge pull request #2253 from DennisHeimbigner/daptestfixes.dmh
Clean up some ncdap tests.
2022-04-07 16:57:41 -06:00
Ward Fisher
0b60b72232
Merge branch 'main' into daptestfixes.dmh 2022-04-07 16:57:35 -06:00
Dennis Heimbigner
9f78be8bb8 Allow the read/write of JSON-valued Zarr attributes.
A number of other packages that read/write Zarr insert
attributes whose value is a dictionary containing specialized
information.  An example is the GDAL Driver convention (see
https://gdal.org/drivers/raster/zarr.html).

In order to handle such attributes, this PR enforces a special
convention. It applies to both pure Zarr an NCZarr format as
written by the netdf-c library.

The convention is as follows:

## Reading
Suppose an attribute is read from *.zattrs* and it has a JSON
value that is a a dictionary.  In this case, the JSON dictionary
is converted to a string value.  It then appears in the netcdf-c
API as if it is a character valued attribute of the same name,
and whose value is the "stringified" dictionary.

# Writing
Suppose an attribute is of type character and its *value* *looks like*
a JSON dictionary. In this case, it is parsed to JSON
and written as the value of the attribute in the NCZarr file.
Here the *value* is the concatenation of all the characters
in the attributes netcdf-c value.
The term "looks like" means that the *value*'s first character is
"{", its last value is "}", and it can be successfully parsed
by a JSON parser.

A test case, *nczarr_test/run_jsonconventions.sh* was also added.

## Misc. Unrelated Changes

1. Fix an error in nc_test4/tst_broken_files.c
2. Modify the internal JSON parser API.
3. Modify the nczarr_test/zisjson program is modified to support
   this convention.
2022-04-06 18:22:59 -06:00
Dennis Heimbigner
56167a7775 final 2022-04-06 17:16:40 -06:00
Dennis Heimbigner
d5798aff2e testing 2022-04-06 15:57:17 -06:00
Dennis Heimbigner
90fe06592e ckp 2022-04-06 15:54:42 -06:00
Dennis Heimbigner
7b3128b3e4 update file permission 2022-04-06 15:54:19 -06:00
Ward Fisher
e6853c24f0
Merge pull request #2273 from edwardhartnett/ejh_par
turning on parallel I/O tests in CI
2022-04-06 14:44:02 -06:00
Dennis Heimbigner
cd3fa1b361 restrict the json convention to dictionaries only 2022-04-06 11:42:51 -06:00
Dennis Heimbigner
8be0782c39 Describe JSON attribute convention 2022-04-06 11:04:22 -06:00
Ward Fisher
127c139618
Merge pull request #2263 from wkliao/vpath
vpath build: use top_srcdir
2022-04-05 16:57:27 -06:00
Ward Fisher
ac5c2f55c1
Merge pull request #2277 from WardF/gh2222.wif
Conflict resolution
2022-04-05 11:44:45 -06:00
Edward Hartnett
9dc2947856 fixed makefile 2022-04-05 11:06:55 -06:00