Commit Graph

8740 Commits

Author SHA1 Message Date
wkliao
5230ae802e Compile dparallel.c only when parallel I/O is enabled 2022-04-01 23:11:28 -05:00
wkliao
01efbd79cf avoid type define MPI_Comm and MPI_Info
Also define NC_MPI_INFO only when parallel I/O is enabled.
2022-04-01 23:10:19 -05:00
Ward Fisher
4366db8ac1
Merge pull request #2269 from WardF/gh2232.wif
Resolve conflict in generated file
2022-04-01 17:27:39 -06:00
Ward Fisher
2ccdf14697 Merge branch 'csz_bitround' of https://github.com/nco/netcdf-c into gh2232.wif 2022-04-01 10:43:34 -06:00
Ward Fisher
cd421ee92d
Merge pull request #2260 from wkliao/NC_EDIMSCALE
use NC_EDIMSCALE for errors related to dimscale
2022-04-01 10:17:18 -06:00
Ward Fisher
e1cc95434b
Merge pull request #2267 from DennisHeimbigner/nanfix.dmh
Fix typo "Nan" -> "NaN"
2022-03-31 14:50:54 -06:00
Dennis Heimbigner
dab1c36650 Fix typo "Nan" -> "NaN"
re: issue https://github.com/Unidata/netcdf-c/issues/2265

The zarr code is generating "Nan" instead of "NaN" on windows.
This causes failures.
Solution: fix typo.
2022-03-30 13:27:55 -06:00
Ward Fisher
ce0446baeb
Merge pull request #2266 from WardF/gh2170.wif
Correct conflict in #2170
2022-03-30 10:42:27 -06:00
Ward Fisher
0164512b0f Merge branch 'tinyxml2.dmh' of https://github.com/DennisHeimbigner/netcdf-c into gh2170.wif 2022-03-29 11:31:31 -06:00
Ward Fisher
9273aafedf
Merge pull request #2262 from wkliao/echo
use AC_MSG_WARN/AC_MSG_NOTICE instead of echo
2022-03-29 11:14:03 -06:00
Ward Fisher
79f30b375f
Merge pull request #2264 from WardF/gh2261.wif
Fix parallel build issue, add Parallel Tests Github Actions
2022-03-29 10:41:36 -06:00
Ward Fisher
6649d74ff8 Merge branch 'nc4var.c' of https://github.com/wkliao/netcdf-c into gh2261.wif 2022-03-28 14:04:06 -06:00
Ward Fisher
40412e6db5 Correct compiler issue with parallel one-off test. 2022-03-28 13:55:02 -06:00
Ward Fisher
2f3b7fc922 Correct dependency chain for Github Actions. 2022-03-28 13:45:10 -06:00
Ward Fisher
7d76990596 Added first pass at a parallel github actions one-off 2022-03-28 13:43:07 -06:00
Ward Fisher
418c7c86c5 Reconfiguring the Ubuntu Github Actions test. 2022-03-28 13:32:04 -06:00
Dennis Heimbigner
13dd15b76c minor fix 2022-03-28 10:04:18 -06:00
wkliao
15c75bf5d3 vpath build: use top_srcdir 2022-03-27 17:37:43 -05:00
wkliao
300aa5c84e use AC_MSG_WARN/AC_MSG_NOTICE instead of echo 2022-03-27 17:35:39 -05:00
wkliao
548a33a4f2 fix a compile error 2022-03-27 17:33:41 -05:00
Dennis Heimbigner
0825302e02 Remove debugging 2022-03-26 13:15:39 -06:00
Dennis Heimbigner
2ea8aec566 Change so explicit xarray => pure zarr 2022-03-26 13:15:10 -06:00
Dennis Heimbigner
72c90b41c8 Add Release Notes warning 2022-03-25 20:54:03 -06:00
wkliao
826ff7383f use NC_EDIMSCALE for errors related to dimscale 2022-03-25 18:10:52 -05:00
Dennis Heimbigner
70b6df9b04 OSX only 2022-03-23 21:01:58 -06:00
Dennis Heimbigner
4bed17e0da precision fix 2022-03-23 20:48:18 -06:00
Dennis Heimbigner
bee267e867 Fix float precision issue in ncdap_tests 2022-03-23 20:14:12 -06:00
Dennis Heimbigner
9bc1c1bc7e Update release notes 2022-03-23 19:31:33 -06:00
Dennis Heimbigner
a5cae51efc Turn on the xarray convention for NCZarr format
re: https://github.com/pydata/xarray/issues/6374

As a result of a discussion about Xarray (see above issue),
I decided to turn on the xarray convention for NCZarr datasets
where possible so that xarray can read a larger set of nczarr
generated datasets.

This causes the following changes:
* If the user wants to generate a pure zarr file, then the mode "zarr" must be explicitly used; it is no longer the case that "mode=xarray" or mode="noxarray"
implies "mode=zarr".
* It is still the case that "mode=noxarray" will turn off the XArray convention.

The following conditions will cause ''_ARRAY_DIMENSIONS'' to not be written.
* The variable is not in the root group,
* Any dimension referenced by the variable is not in the root group.
2022-03-23 19:28:06 -06:00
Ward Fisher
cd0f1690e8
Merge pull request #2245 from DennisHeimbigner/filterenhance.dmh 2022-03-21 16:45:27 -06:00
Ward Fisher
c8a7a22b1d
Merge pull request #2256 from WardF/doc_static_page_reorg.wif
Static page/documentation reorganization.
2022-03-21 10:46:20 -06:00
Ward Fisher
9ece4cf546 Added new credits file. 2022-03-21 10:12:44 -06:00
Dennis Heimbigner
a83b7b9fe7 Clean up some ncdap tests.
This is in response to issue https://github.com/Unidata/netcdf-c/issues/2188#issuecomment-1072762308 although it does not fix that problem.
2022-03-18 21:01:40 -06:00
Ward Fisher
6cbeb780fc Removed empty, useless script. 2022-03-18 10:18:05 -06:00
Ward Fisher
6aee687446 Tweak to software.html static page. 2022-03-18 10:17:25 -06:00
Ward Fisher
526552034c
Merge pull request #2250 from WardF/oc_auth_fix.wif
Change order in which auth.html is generated and copied.
2022-03-17 16:40:13 -06:00
Ward Fisher
3accf83725 Change order in which auth.html is generated and copied. 2022-03-17 15:57:16 -06:00
Dennis Heimbigner
abde249984 Update release notes 2022-03-16 12:40:10 -06:00
Dennis Heimbigner
f1eaefd91e Update selected documentation
Update the following documentation files:

## docs/FAQ.md
* Discuss the use of UTF-8 names under Windows 10+.

## docs/filters.md
* Add documentation about NCzarr filters.
  * Specifically Codec support and HDF5 <-> Codec translation
* Add documentation about standard filters

## docs/dispatch.md
* Convert from .dox format to .md (markdown) format.
* Add discussion about the user defined dispatch tables.
* Update the example.
* Abbreviate the NC_infermodel documentation and move the more detailed discusion to the companion *dinternal.md* documenation.

## docs/internal.md

This is a (mostly) new file that attempts to provide detailed
descriptions about how various features are implemented inside
the netcdf-c library. The topics currently covered the
following.

### Including C++ Code in the netcdf-c Library {#intern_c++}

The state of C compiler technology has reached the point where
it is possible to include C++ code into the netcdf-c library
code base. The document describes how to do this.

### Managing instances of complex data types

The document describes how to properly handle instances of
complex types (those with variable length).  This involves
having functions that can recursively walk instances of such
types to perform various actions on them.  These new functions
are intended to replace the *nc_free_vlen*, *nc_free_vlens* and
*nc_free_string* functions in *netcdf.h*.

### Inferring File Types

As described in the companion document -- docs/dispatch.md --
when *nc\_create()* or *nc\_open()* is called, the library must
figure out what kind of file is being created or opened.  Once it
has figured out the file kind, the appropriate "dispatch table"
can be used to process that file.

As a result of the introduction of remote data access to the netcdf-c
library, the path arguments to *nc\_open()* and *nc\_create()* have
been extended to support URLs as paths. Processing URLs requires
some significant changes to the file inference algorithm. The
details of that processing are recorded in the document.
2022-03-16 12:38:00 -06:00
Dennis Heimbigner
6d44ec39f6 1. Fix conflicts with current master.
2. There is a bug in building tinyxml2 under OSX, so as a hack, the absence of an installed libxml2 under OSX will disable libxml2 and DAP4.
2022-03-15 15:33:13 -06:00
Ward Fisher
e0a2236b5a
Merge pull request #2123 from xantares/patch-1
cmake: list zip libs before szip
2022-03-15 09:19:48 -06:00
Ward Fisher
aba6fc0c84
Merge pull request #2247 from WardF/gh2104.wif
Rebase of #2104
2022-03-14 22:13:17 -06:00
Ward Fisher
06cc87ca7f
Merge pull request #2246 from WardF/gh2103.wif
Rebase of #2103
2022-03-14 17:01:58 -06:00
Ward Fisher
5856b8ed9c Merge branch 'mingw-w64-name_path' of https://github.com/mjwoods/netcdf-c into gh2104.wif 2022-03-14 16:11:18 -06:00
Ward Fisher
247ffac282 Merge branch 'mingw-w64-cmake' of https://github.com/mjwoods/netcdf-c into gh2103.wif 2022-03-14 16:08:42 -06:00
Ward Fisher
8152a515c4
Merge pull request #2089 from d70-t/open_mem_truncated_file
Don't assert if trying to open truncated file from memory.
2022-03-14 16:06:56 -06:00
Ward Fisher
d281be2333
Merge branch 'main' into open_mem_truncated_file 2022-03-14 15:02:02 -06:00
Dennis Heimbigner
ad4a3f69b9 typo 2022-03-14 14:36:49 -06:00
Dennis Heimbigner
bbdfec2dcf retry 2022-03-14 14:14:08 -06:00
Dennis Heimbigner
746dbc05f8 more strlcat remove 2022-03-14 14:08:54 -06:00