netcdf-c/docs
Dennis Heimbigner f3e711e2b8 Add support for setting HDF5 alignment property when creating a file
re: https://github.com/Unidata/netcdf-c/issues/2177
re: https://github.com/Unidata/netcdf-c/pull/2178

Provide get/set functions to store global data alignment
information and apply it when a file is created.

The api is as follows:
````
int nc_set_alignment(int threshold, int alignment);
int nc_get_alignment(int* thresholdp, int* alignmentp);
````

If defined, then for every file created opened after the call to
nc_set_alignment, for every new variable added to the file, the
most recently set threshold and alignment values will be applied
to that variable.

The nc_get_alignment function return the last values set by
nc_set_alignment.  If nc_set_alignment has not been called, then
it returns the value 0 for both threshold and alignment.

The alignment parameters are stored in the NCglobalstate object
(see below) for use as needed. Repeated calls to nc_set_alignment
will overwrite any existing values in NCglobalstate.

The alignment parameters are applied in libhdf5/hdf5create.c
and libhdf5/hdf5open.c

The set/get alignment functions are defined in libsrc4/nc4internal.c.

A test program was added as nc_test4/tst_alignment.c.

## Misc. Changes Unrelated to Alignment

* The NCRCglobalstate type was renamed to NCglobalstate to
  indicate that it represented more general global state than
  just .rc data.  It was also moved to nc4internal.h.  This led
  to a large number of small changes: mostly renaming. The
  global state management functions were moved to nc4internal.c.

* The global chunk cache variables have been moved into
  NCglobalstate.  As warranted, other global state will be moved
  as well.

* Some misc. problems with the nczarr performance tests were corrected.
2022-01-29 15:27:52 -07:00
..
images Added uniLogo.png to make dist. 2021-08-24 12:50:21 -06:00
obsolete Docs migration 2021-11-11 10:47:49 -07:00
old docs cleanup 2021-11-11 11:40:45 -07:00
static-pages Docs migration 2021-11-11 10:47:49 -07:00
.gitignore
all-error-codes.md
architecture.dox
attribute_conventions.md Docs migration 2021-11-11 10:47:49 -07:00
auth.md Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
building-with-cmake.md
byterange.dox
CMakeLists.txt Modify cmakelists.txt to generate oc2 auth html file whenever a doxygen-enabled build is run. 2022-01-27 13:09:52 -07:00
COPYRIGHT.md
credits.md Docs migration 2021-11-11 10:47:49 -07:00
dispatch.dox
docmap.pdf
Doxyfile.developer Bump version numbers for the next development cycle. 2021-08-17 10:41:07 -06:00
Doxyfile.in Add support for setting HDF5 alignment property when creating a file 2022-01-29 15:27:52 -07:00
Doxyfile.user docs cleanup 2021-11-11 11:40:45 -07:00
DoxygenLayout.xml
esg.md
FAQ.md docs link updates 2021-11-15 11:19:34 -07:00
file_format_specifications.md This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
filters.md Significantly Improve Amazon S3 Cloud Storage Support 2021-09-27 18:36:33 -06:00
footer.html Update footer.html and Doxyfile to use local Unidata image. 2021-08-24 12:38:40 -06:00
groups.dox
header.html
indexing.dox Provide a Number of fixes/improvements to NCZarr 2020-11-19 17:01:04 -07:00
inmeminternal.dox
inmemory.md
install-fortran.md Docs migration 2021-11-11 10:47:49 -07:00
internal.dox
known_problems.md docs cleanup 2021-11-11 11:40:45 -07:00
mainpage.dox docs cleanup 2021-11-11 11:40:45 -07:00
Makefile.am Merge branch 'NUG_clean_ethan' of https://github.com/ethanrd/netcdf-c into gh1636.wif 2022-01-27 12:54:06 -07:00
nczarr.md Fix additional S3 support issues 2021-10-29 20:06:37 -06:00
netcdf-50x50.png
netcdf.m4 Docs migration 2021-11-11 10:47:49 -07:00
notes.md
release_header.html Update release_header.html 2022-01-19 11:50:59 -07:00
release.css
tests.md
testserver.dox Update d4ts.war and dts.war build instructions 2021-02-26 15:14:57 -07:00
tutorial.dox docs migration, part 2 2021-11-11 10:55:52 -07:00
unidata_logo_cmyk.png
windows-binaries.md docs cleanup 2021-11-11 11:40:45 -07:00