@@ -59,8 +59,8 @@ term "deep" is also used to mean recursive.
5959
6060Two deep walking operations are provided by the netcdf-c library
6161to aid in managing instances of complex structures.
62- * free'ing an instance of the complex type
63- * copying an instance of the complex type.
62+ - free'ing an instance of the complex type
63+ - copying an instance of the complex type.
6464
6565Previously The netcdf-c library only did shallow free and shallow copy of
6666complex types. This meant that only the top level was properly
@@ -72,7 +72,7 @@ internally and the user's data.
7272Note that the term "vector" is used to mean a contiguous (in
7373memory) sequence of instances of some type. Given an array with,
7474say, dimensions 2 X 3 X 4, this will be stored in memory as a
75- vector of length 2* 3 * 4=24 instances.
75+ vector of length 2\* 3 \ * 4=24 instances.
7676
7777The use cases are primarily these.
7878
@@ -328,7 +328,7 @@ The model output is actually a struct containing two fields:
328328## The Inference Algorithm
329329
330330The construction of the model is primarily carried out by the function
331- * NC\_ infermodel()* (in * libdispatch/dinfermodel.c).
331+ * NC\_ infermodel()* (in * libdispatch/dinfermodel.c* ).
332332It is given the following parameters:
3333331 . path -- (IN) absolute file path or URL
3343342 . modep -- (IN/OUT) the set of mode flags given to * NC\_ open* or * NC\_ create* .
@@ -493,7 +493,7 @@ int nc_inq_var_zstandard(int ncid, int varid, int* has_filterp, int* levelp);
493493````
494494So generally the API has the ncid and the varid as fixed, and then
495495a list of parameters specific to the filter -- level in this case.
496- For the inquire function, there is an additional argument -- has_filterp --
496+ For the inquire function, there is an additional argument -- has \_ filterp --
497497that is set to 1 if the filter is defined for the given variable
498498and is 0 if not.
499499The remainder of the inquiry parameters are pointers to memory
@@ -506,10 +506,10 @@ requires three supporting objects:
506506 libzstd must be installed in order to use the zstandard
507507 API.
5085082 . A HDF5 wrapper for the filter must be installed in the
509- directory pointed to by the HDF5_PLUGIN_PATH environment
509+ directory pointed to by the HDF5 \_ PLUGIN \_ PATH environment
510510 variable.
5115113 . (Optional) An NCZarr Codec implementation must be installed
512- in the the HDF5_PLUGIN_PATH directory.
512+ in the the HDF5 \_ PLUGIN \_ PATH directory.
513513
514514## Adding a New Standard Filter
515515
@@ -521,7 +521,7 @@ of several locations.
5215213 . or it can be loaded as part of an external library such as libccr.
522522
523523However, the three objects listed above need to be
524- stored in the HDF5_PLUGIN_DIR directory, so adding a standard
524+ stored in the HDF5 \_ PLUGIN \_ PATH directory, so adding a standard
525525filter still requires modification to the netcdf build system.
526526This limitation may be lifted in the future.
527527
543543AC_MSG_CHECKING([whether libzstd library is available])
544544AC_MSG_RESULT([${have_zstd}])
545545````
546- Note the the entry point (* ZSTD_compress * ) is library dependent
546+ Note the the entry point (* ZSTD \_ compress * ) is library dependent
547547and is used to see if the library is available.
548548
549549#### Makefile.am
@@ -558,22 +558,23 @@ libh5szip_la_SOURCES = H5Zzstd.c H5Zzstd.h
558558endif
559559````
560560
561+ ````
561562# Need our version of szip if libsz available and we are not using HDF5
562563if HAVE_SZ
563564noinst_LTLIBRARIES += libh5szip.la
564565libh5szip_la_SOURCES = H5Zszip.c H5Zszip.h
565566endif
566-
567+ ````
567568#### CMakeLists.txt
568569In an analog to * configure.ac* , a block like
569570this needs to be in * netcdf-c/CMakeLists.txt* .
570571````
571572FIND_PACKAGE(Zstd)
572573set_std_filter(Zstd)
573574````
574- The FIND_PACKAGE requires a CMake module for the filter
575+ The FIND \_ PACKAGE requires a CMake module for the filter
575576in the cmake/modules directory.
576- The * set_std_filter * function is a macro.
577+ The * set \_ std \_ filter * function is a macro.
577578
578579An entry in the file config.h.cmake.in will also be needed.
579580````
0 commit comments