Go to file
Greg Sjaardema 8d7d5ac9e5
Different method of setting Parallel Filters variables
The current method of setting the `HDF5_HAS_PAR_FILTERS` and `HAS_PAR_FILTERS` variables is done purely based on the `HDF5_VERSION` and that variable is only set inside the if block which finds the HDF5 library based on CMake package files.  If the user specifies the explicit location of the HDF5 library and include files (for example, via:
```
         -DHDF5_C_LIBRARY:PATH=${INSTALL_PATH}/lib/libhdf5.${LD_EXT} \
         -DHDF5_HL_LIBRARY:PATH=${INSTALL_PATH}/lib/libhdf5_hl.${LD_EXT} \
         -DHDF5_INCLUDE_DIR:PATH=${INSTALL_PATH}/include
```
Then, the code path which determines whether the par filters variables is set is not run.  However, later on in the file, there is another check for parallel filter support (near line 759):
```
  # Check to see if this is hdf5-1.10.3 or later.
  CHECK_LIBRARY_EXISTS(${HDF5_C_LIBRARY_hdf5} H5Dread_chunk "" HDF5_SUPPORTS_PAR_FILTERS)
```

This PR moves the code that sets the two other par filters variables down after this check and instead of setting their values based on the version, it bases it on the results of this test.

I'm not totally sure why there are three variables; it looks like the `HDF5_SUPPORTS_PAR_FILTERS` and `HDF5_HAS_PAR_FILTERS` could be combined.  I think the `HAS_PAR_FILTERS` is a string which is used to show the results of the configuration and the other two are booleans.

The new check should work for both types of HDF5 installs (cmake-based and configure-based)
2020-05-11 11:11:24 -06:00
.github Moved code of conduct and contributing to .github folder. 2019-10-08 10:27:32 -06:00
cmake
conda.recipe Attempting appveyor support. Based on work by @ocefpaf, see https://github.com/Unidata/netcdf-c/pull/347 for more information. 2018-04-24 11:28:22 -06:00
ctest_scripts Added a ctest script with DAP tests enabled. 2020-02-11 15:09:29 -07:00
dap4_test fixed distclean target in dap4_test 2020-01-23 04:40:37 -07:00
debug force github checks restart 2020-03-29 14:50:28 -06:00
docs Added a stand-alone user level doxygen configuration file. It must be used from the top-level netcdf-c directory, e.g. doxygen docs/Doxyfile.user. 2020-05-07 16:23:43 -06:00
examples Add support for multiple filters per variable. 2020-02-16 12:59:33 -07:00
h5_test fixed missing declaration 2020-04-23 23:32:29 -05:00
hdf4_test Spelling fixes 2019-09-18 08:03:01 -06:00
include adding internal function, plus some documentation 2020-05-08 08:58:42 -06:00
libdap2 Support no-op dispatch functions 2020-04-15 14:44:58 -06:00
libdap4 Support no-op dispatch functions 2020-04-15 14:44:58 -06:00
libdispatch Merge branch 'master' into dispnoop.dmh 2020-04-27 15:54:22 -06:00
libhdf4 Support no-op dispatch functions 2020-04-15 14:44:58 -06:00
libhdf5 now properly setting HDF5 file cache for files created/opened sequentially on parallel IO builds 2020-05-08 11:00:56 -06:00
liblib Updated so version info in line with guidelines found at https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html 2020-03-26 11:26:10 -06:00
libsrc Support no-op dispatch functions 2020-04-15 14:44:58 -06:00
libsrc4 Fix reclamation of the ->format_XXX_info fields 2020-03-29 12:48:59 -06:00
libsrcp Support no-op dispatch functions 2020-04-15 14:44:58 -06:00
nc_perf fix for memory leak due to HDF5 types 2020-02-09 11:47:13 -07:00
nc_test Merge branch 'master' into dispnoop.dmh 2020-04-27 15:54:22 -06:00
nc_test4 Merge pull request #1717 from NOAA-GSD/ejh_cache 2020-05-08 15:00:45 -06:00
ncdap_test Avoid spurious test failures when servers fail. 2019-12-31 15:42:58 -07:00
ncdump Correcting a formatting error for scalars when dumping with ncdump -f 2020-04-28 15:49:03 -06:00
ncgen Make utilities support NC_COMPACT 2020-02-29 12:06:21 -07:00
ncgen3 removed _CRAYMPP from manpage 2019-08-14 06:31:39 -06:00
nctest Spelling fixes 2019-09-18 08:03:01 -06:00
NUG Use proper CURLOPT values for VERIFYHOST and VERIFYPEER 2020-04-10 13:42:27 -06:00
oc2 Use proper CURLOPT values for VERIFYHOST and VERIFYPEER 2020-04-10 13:42:27 -06:00
plugins Fix missing forward declarations 2020-04-03 20:15:34 -06:00
unit_test fixed warning 2020-03-02 16:29:52 -07:00
.gitignore Shuffling NUG and documentation. 2020-02-06 16:14:25 -07:00
.travis.yml Turned off hdf4 explicitly when no NetCDF-4 support is available. 2020-01-07 18:04:30 -07:00
acinclude.m4 Merge branch 'master' into ejh_cleanup 2018-04-02 18:11:58 -06:00
appveyor.yml Fix cmake X mmap 2019-04-19 20:32:26 -06:00
bootstrap Renamed autogen file. 2019-01-16 11:22:17 -07:00
cmake_uninstall.cmake.in Misc. files updated with copyright stanza. 2018-12-06 15:51:35 -07:00
CMakeInstallation.cmake Move away from deprecated PackageManager to the productbuild generator. 2019-02-05 13:08:30 -07:00
CMakeLists.txt Different method of setting Parallel Filters variables 2020-05-11 11:11:24 -06:00
COMPILE.cmake.txt Restoring CMake compilation document. 2019-10-10 13:30:05 -06:00
config.h.cmake.in Use proper CURLOPT values for VERIFYHOST and VERIFYPEER 2020-04-10 13:42:27 -06:00
config.h.cmake.in.old-works c: remove __CHAR_UNSIGNED__ 2018-02-14 17:24:49 -05:00
configure.ac Use proper CURLOPT values for VERIFYHOST and VERIFYPEER 2020-04-10 13:42:27 -06:00
COPYRIGHT Modifying COPYRIGHT to reflect a standardized license, the BSD 3-clause license. 2018-12-04 15:17:54 -07:00
CTestConfig.cmake.in Adding new security stance to cdash instance. 2019-11-18 10:58:44 -07:00
CTestCustom.cmake Misc. files updated with copyright stanza. 2018-12-06 15:51:35 -07:00
dods.m4 Spelling fixes 2019-09-18 08:03:01 -06:00
FixBundle.cmake.in Misc. files updated with copyright stanza. 2018-12-06 15:51:35 -07:00
INSTALL.md Added a note about running autoreconf -if in support of https://github.com/Unidata/netcdf-c/issues/1397 2019-08-27 11:24:25 -06:00
lib_flags.am Misc. files updated with copyright stanza. 2018-12-06 15:51:35 -07:00
libnetcdf.settings.in Merge pull request #1619 from NOAA-GSD/ejh_more_szip 2020-02-06 12:42:27 -07:00
Makefile.am Add support for multiple filters per variable. 2020-02-16 12:59:33 -07:00
mclean
nc-config.cmake.in Fixed line return issue. 2019-04-08 15:05:26 -06:00
nc-config.in Fixed line return issue. 2019-04-08 15:05:26 -06:00
netcdf.pc.in Fix typo, exploring solution to https://github.com/Unidata/netcdf-c/issues/1324 2019-02-27 14:14:53 -07:00
netCDFConfig.cmake.in Correct typo. 2020-01-24 16:53:16 -07:00
PostInstall.cmake
postinstall.sh.in Bumped experimental fortran autoinstall script to 4.4.4 2018-09-14 15:56:28 -06:00
README.md Correcting dead link to installation 2020-04-24 16:44:07 -06:00
RELEASE_NOTES.md updated RELEASE_NOTES 2020-05-08 11:03:25 -06:00
test_common.in Misc. files updated with copyright stanza. 2018-12-06 15:51:35 -07:00
test_prog.c Misc. files updated with copyright stanza. 2018-12-06 15:51:35 -07:00
test-driver-verbose The Jetstream remote test server is now working. 2018-06-26 13:58:45 -06:00
wjna

Unidata NetCDF

Build Status Coverity Scan Build Status

About

The Unidata network Common Data Form (netCDF) is an interface for scientific data access and a freely-distributed software library that provides an implementation of the interface. The netCDF library also defines a machine-independent format for representing scientific data. Together, the interface, library, and format support the creation, access, and sharing of scientific data. The current netCDF software provides C interfaces for applications and data. Separate software distributions available from Unidata provide Java, Fortran, Python, and C++ interfaces. They have been tested on various common platforms.

Properties

NetCDF files are self-describing, network-transparent, directly accessible, and extendible. Self-describing means that a netCDF file includes information about the data it contains. Network-transparent means that a netCDF file is represented in a form that can be accessed by computers with different ways of storing integers, characters, and floating-point numbers. Direct-access means that a small subset of a large dataset may be accessed efficiently, without first reading through all the preceding data. Extendible means that data can be appended to a netCDF dataset without copying it or redefining its structure.

Use

NetCDF is useful for supporting access to diverse kinds of scientific data in heterogeneous networking environments and for writing application software that does not depend on application-specific formats. For information about a variety of analysis and display packages that have been developed to analyze and display data in netCDF form, see

More information

For more information about netCDF, see

Latest releases

You can obtain a copy of the latest released version of netCDF software for various languages:

Copyright and licensing information can be found here, as well as in the COPYRIGHT file accompanying the software

Installation

To install the netCDF-C software, please see the file INSTALL in the netCDF-C distribution, or the (usually more up-to-date) document:

Documentation

A language-independent User's Guide for netCDF, and some other language-specific user-level documents are available from:

A mailing list, netcdfgroup@unidata.ucar.edu, exists for discussion of the netCDF interface and announcements about netCDF bugs, fixes, and enhancements. For information about how to subscribe, see the URL

Feedback

We appreciate feedback from users of this package. Please send comments, suggestions, and bug reports to support-netcdf@unidata.ucar.edu.