Go to file
Dennis Heimbigner 793ecc8e60 Yet another fix for DAP2 double URL encoding.
re:  https://github.com/Unidata/netcdf-c/issues/1876
and: https://github.com/Unidata/netcdf-c/pull/1835
and: https://github.com/Unidata/netcdf4-python/issues/1041

The change in PR 1835 was correct with respect to using %20 instead of '+'
for encoding blanks. However, it was a mistake to assume everything was
unencoded and then to do encoding ourselves. The problem is that
different servers do different things, with Columbia being an outlier.

So, I have added a set of client controls that can at least give
the caller some control over this. The caller can append
the following fragment to his URL to control what gets encoded before
sending it to the server. The syntax is as follows:
````
https://<host>/<path>/<query>#encode=path|query|all|none
````

The possible values:
* path  -- URL encode (i.e. %xx encode) as needed in the path part of the URL.
* query -- URL encode as needed in the query part of the URL.
* all   -- equivalent to ````#encode=path,query````.
* none  -- do not url encode any part of the URL sent to the server; not strictly necessary, so mostly for completeness.

Note that if "encode=" is used, then before it is processed, all encoding
is turned of so that ````#encode=path```` will only encode the path
and not the query.

The default is ````#encode=query````, so the path is left untouched,
but the query is always encoded.

Internally, this required changes to pass the encode flags down into
the OC2 library.

Misc. Unrelated Changes:
* Shut up those irritating warning from putget.m4
2020-11-05 11:04:56 -07:00
.github
cmake
conda.recipe
ctest_scripts
dap4_test Prepare for the path management code 2020-10-13 19:12:15 -06:00
debug Prepare for the path management code 2020-10-13 19:12:15 -06:00
docs Email Removal 2020-07-28 12:15:04 -04:00
examples Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
h5_test fixed tst_h_par_compress.c 2020-08-12 07:28:49 -06:00
hdf4_test
include Yet another fix for DAP2 double URL encoding. 2020-11-05 11:04:56 -07:00
libdap2 Yet another fix for DAP2 double URL encoding. 2020-11-05 11:04:56 -07:00
libdap4 Suppress notused warnings 2020-10-19 13:32:09 -06:00
libdispatch Yet another fix for DAP2 double URL encoding. 2020-11-05 11:04:56 -07:00
libhdf4 Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
libhdf5 Improve the building of NCZARR S3 support in CMake and Autoconf 2020-10-16 15:04:51 -06:00
liblib Revert "Revert "Fix nczarr-experimental: improve build support, disengage hdf5 vs netcdf4 flags, and find AWS libraries"" 2020-08-17 19:15:47 -06:00
libnczarr Prepare for the path management code 2020-10-13 19:12:15 -06:00
libsrc Yet another fix for DAP2 double URL encoding. 2020-11-05 11:04:56 -07:00
libsrc4 Fix missing casts of var->filters 2020-10-09 21:26:29 -06:00
libsrcp Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
nc_perf getting tst_gfs_data_1 ready to merge 2020-07-08 14:20:42 -06:00
nc_test Prepare for the path management code 2020-10-13 19:12:15 -06:00
nc_test4 Improve the building of NCZARR S3 support in CMake and Autoconf 2020-10-16 15:04:51 -06:00
ncdap_test Revert "Revert "Fix nczarr-experimental: improve build support, disengage hdf5 vs netcdf4 flags, and find AWS libraries"" 2020-08-17 19:15:47 -06:00
ncdump Prepare for the path management code 2020-10-13 19:12:15 -06:00
ncgen Prepare for the path management code 2020-10-13 19:12:15 -06:00
ncgen3 Prepare for the path management code 2020-10-13 19:12:15 -06:00
nctest
nczarr_test Prepare for the path management code 2020-10-13 19:12:15 -06:00
NUG Removed NUG files, added a README.md file directing people to the correct location. 2020-10-06 11:13:56 -06:00
oc2 Yet another fix for DAP2 double URL encoding. 2020-11-05 11:04:56 -07:00
plugins Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
unit_test Prepare for the path management code 2020-10-13 19:12:15 -06:00
.gitignore
.travis.yml Revert "Revert "Fix nczarr-experimental: improve build support, disengage hdf5 vs netcdf4 flags, and find AWS libraries"" 2020-08-17 19:15:47 -06:00
acinclude.m4
appveyor.yml
bootstrap
cmake_uninstall.cmake.in
CMakeInstallation.cmake
CMakeLists.txt Improve the building of NCZARR S3 support in CMake and Autoconf 2020-10-16 15:04:51 -06:00
COMPILE.cmake.txt
config.h.cmake.in Improve the building of NCZARR S3 support in CMake and Autoconf 2020-10-16 15:04:51 -06:00
config.h.cmake.in.old-works
configure.ac Yet another fix for DAP2 double URL encoding. 2020-11-05 11:04:56 -07:00
COPYRIGHT
CTestConfig.cmake.in
CTestCustom.cmake
dods.m4
FixBundle.cmake.in
INSTALL.md
lib_flags.am Revert "Revert "Fix nczarr-experimental: improve build support, disengage hdf5 vs netcdf4 flags, and find AWS libraries"" 2020-08-17 19:15:47 -06:00
libnetcdf.settings.in Mostly revert the filter code to reduce its complexity of use. 2020-09-27 12:43:46 -06:00
Makefile.am Revert "Revert "Fix nczarr-experimental: improve build support, disengage hdf5 vs netcdf4 flags, and find AWS libraries"" 2020-08-17 19:15:47 -06:00
mclean
nc-config.cmake.in Improve the building of NCZARR S3 support in CMake and Autoconf 2020-10-16 15:04:51 -06:00
nc-config.in Improve the building of NCZARR S3 support in CMake and Autoconf 2020-10-16 15:04:51 -06:00
netcdf.pc.in
netCDFConfig.cmake.in
PostInstall.cmake
postinstall.sh.in Fix typo postinstall. 2020-08-06 15:27:20 -04:00
README.md Updated README.md Links 2020-06-04 14:16:30 -04:00
RELEASE_NOTES.md Yet another fix for DAP2 double URL encoding. 2020-11-05 11:04:56 -07:00
test_common.in Improve the building of NCZARR S3 support in CMake and Autoconf 2020-10-16 15:04:51 -06:00
test_prog.c
test-driver-verbose
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.