- add build require pkgconfig(zstd) to fix build for Leap 15.4
- update to 4.9.2:
* Update `nc-config` to remove inclusion from
automatically-detected `nf-config` and `ncxx-config` files,
as the wrong files could be included in the output.
* Update H5FDhttp.[ch] to work with HDF5 version 1.13.2
and later.
* [Bug Fix] Update DAP code to enable CURLOPT_ACCEPT_ENCODING
by default.
* [Bug Fix] Fix byterange failures for certain URLs.
* [Bug Fix] Fix 'make distcheck' error in run_interop.sh.
* [Enhancement] Update `nc-config` to remove inclusion from
automatically-detected `nf-config` and `ncxx-config` files,
as the wrong files could be included in the output.
* [Enhancement] Update H5FDhttp.[ch] to work with HDF5
version 1.14.0.
* Fix nc_def_var_fletcher32 operation
* Merge relevant info updates back into `main`
* Add manual GitHub actions triggers for the tests.
* Make public a limited API for programmatic access to internal
.rc tables
* Fix typo in CMakeLists.txt
* Fix choice of HOME dir
* Check for libxml2 development files
* Updating Doxyfile.in with doxygen-1.8.17, turned on
WARN_AS_ERROR, added doxygen build to CI run
* updated release notes
* increase read block size from 1 KB to 4 MB
* fixed RELEASE_NOTES.md
OBS-URL: https://build.opensuse.org/request/show/1077507
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netcdf?expand=0&rev=68
- Update to version 4.9.0:
* [Enhancement] Improve filter installation process to avoid use
of an extra shell script. See gh#Unidata/netcdf-c#2348.
* [Bug Fix] Get "make distcheck" to work See
gh#Unidata/netcdf-c#/2343.
* [Enhancement] Allow the read/write of JSON-valued Zarr
attributes to allow for domain specific info such as used by
GDAL/Zarr. See gh#Unidata/netcdf-c#2278.
* [Enhancement] Turn on the XArray convention for NCZarr files by
default. WARNING, this means that the mode should explicitly
specify nczarr" or "zarr" even if "xarray" or "noxarray" is
specified. See gh#Unidata/netcdf-c#2257.
* [Enhancement] Update the documentation to match the current
filter capabilities See gh#Unidata/netcdf-c#2249.
* [Enhancement] Support installation of pre-built standard
filters into user-specified location. See
gh#Unidata/netcdf-c#2318.
* [Enhancement] Improve filter support. More specifically (1)
add nc_inq_filter_avail to check if a filter is available, (2)
add the notion of standard filters, (3) cleanup szip support
to fix interaction with NCZarr. See gh#Unidata/netcdf-c#2245.
* [Enhancement] Switch to tinyxml2 as the default xml parser
implementation. See gh#Unidata/netcdf-c#2170.
* [Bug Fix] Require that the type of the variable in
nc_def_var_filter is not variable length.
See gh#Unidata/netcdf-c#/2231.
* [File Change] Apply HDF5 v1.8 format compatibility when
writing to previous files, as well as when creating new files.
The superblock version remains at 2 for newly created files.
Full backward read/write compatibility for netCDF-4 is
maintained in all cases. See gh#Unidata/netcdf-c#2176.
* [Enhancement] Add ability to set dataset alignment for
netcdf-4/HDF5 files. See gh#Unidata/netcdf-c#2206.
* [Bug Fix] Improve UTF8 support on windows so that it can use
utf8 natively. See gh#Unidata/netcdf-c#2222.
* [Enhancement] Add complete bitgroom support to NCZarr.
See gh#Unidata/netcdf-c#2197.
* [Bug Fix] Clean up the handling of deeply nested VLEN
types. Marks nc_free_vlen() and nc_free_string as deprecated
in favor of ncaux_reclaim_data(). See gh#Unidata/netcdf-c#2179.
* [Bug Fix] Make sure that netcdf.h accurately defines the flags
in the open/create mode flags. See gh#Unidata/netcdf-c#2183.
* [Enhancement] Improve support for msys2+mingw platform. See
gh#Unidata/netcdf-c#2171.
* [Bug Fix] Clean up the various inter-test dependencies in
ncdump for CMake. See gh#Unidata/netcdf-c#2168.
* [Bug Fix] Fix use of non-aws appliances. See
gh#Unidata/netcdf-c#2152.
* [Enhancement] Added options to suppress the new behavior from
gh#Unidata/netcdf-c#2135.
* [Enhancement] Support optional use of libxml2, otherwise
default to ezxml. See gh#Unidata/netcdf-c#2135
* [Bug Fix] Fix several os related errors. See
gh#Unidata/netcdf-c#2138.
* [Enhancement] Support byte-range reading of netcdf-3 files
stored in private buckets in S3. See gh#Unidata/netcdf-c#2134
* [Enhancement] Support Amazon S3 access for NCZarr. Also support
use of the existing Amazon SDK credentials system. See
gh#Unidata/netcdf-c#2114
* [Bug Fix] Fix string allocation error in H5FDhttp.c. See
gh#Unidata/netcdf-c#2127.
* [Bug Fix] Apply patches for ezxml and for selected oss-fuzz
detected errors. See gh#Unidata/netcdf-c#2125.
* [Bug Fix] Ensure that internal Fortran APIs are always
defined. See gh#Unidata/netcdf-c#2098.
* [Enhancement] Support filters for NCZarr. See
gh#Unidata/netcdf-c#2101
* [Bug Fix] Make PR 2075 long file name be idempotent. See
gh#Unidata/netcdf-c#2094.
- Remove unused doxygen build dependency.
- Remove some obsolete Provides/Obsoletes from library package.
- Drop upstream patches:
* swap-4-8-b-Satisfy-strict-aliasing-rules.patch
* Fix-type-punning-in-val_NC_check_voff-by-using-memcpy-instead-of-assignment.patch
* Fix-type-punning-in-xxdrntohdouble-by-using-memcpy-instead-of-assignment.patch
* NCD4_dumpbytes-use-correct-swapline-for-object-size.patch
* d4util.h-make-swapinlineXX-more-robust-against-type-punning.patch
* bin_reclaim_compound-Fixed-uninitialized-variable.patch
- Drop ezxml patches (replaced by tinyxml2/libxml2):
* Fix-for-CVE-2019-20200-ezxml-bug-19.patch
* Fix-for-CVE-2019-20006-CVE-2019-20202-CVE-2021-31598-ezxml-bug-15-17-28.patch
* Fix-for-CVE-2019-20199-ezxml-bug-18.patch
* Fix-for-CVE-2019-20007-ezxml-bug-13.patch
* Fix-for-CVE-2021-26221-ezxml-bug-21.patch
* Fix-for-CVE-2021-26222-ezxml-bug-22.patch
* Fix-CVE-2021-30485-bug-25.patch
* Fix-CVE-2021-31229-bug-26-CVE-2019-20201-bug-16-CVE-2019-20198-bug-20.patch
* Fix-CVE-2021-31347-bug-27.patch
OBS-URL: https://build.opensuse.org/request/show/1046215
OBS-URL: https://build.opensuse.org/package/show/science/netcdf?expand=0&rev=130
- Gcc11 has raised the bar on strict aliasing requirements even
further. This has given rise to seemingly senseless warnings
like:
ncx.c: In function 'ncx_putn_float_double':
ncx.c:272:20: warning: 'xx' may be used uninitialized [-Wmaybe-uninitialized]
272 | uint32_t tmp = *(uint32_t*)src;
| ^~~~~~~~~~~~~~~
ncx.c:3562:14: note: 'xx' was declared here
3562 | ix_float xx = NC_FILL_FLOAT;
| ^~
but what is worse, data in netcdf files is missing. Luckily, this
was caught by the test suite.
These warnings and further type punning warnings should be fixed
eventually. However, for now, lets cry defeat, disable strict
aliasing and get netcdf back working again.
- Add build support for gcc11 to HPC build.
- Update to version 4.7.4.
* Enhancements:
- Bump the NC_DISPATCH_VERSION from 2 to 3
- Better cross platform path name management. This converts paths for
various platforms (e.g. Windows, MSYS, etc.) so that they are in
the proper format for the executing platform. See Github #1958.
- Add support for storing NCZarr data in zip files. See Github #1908.
- Optimizations to NCZarr, cleanup of code cruft, NCZarr test cases,
performance test to NCZarr. See Github #1942.
- Provide .rc fields for S3 authentication: HTTP.S3.ACCESSID and
HTTP.S3.SECRETKEY.
- Give the client control over what parts of a DAP2 URL are URL
encoded (i.e. xx). This is to support the different decoding
OBS-URL: https://build.opensuse.org/request/show/904626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netcdf?expand=0&rev=62
- Gcc11 has raised the bar on strict aliasing requirements even
further. This has given rise to seemingly senseless warnings
like:
ncx.c: In function 'ncx_putn_float_double':
ncx.c:272:20: warning: 'xx' may be used uninitialized [-Wmaybe-uninitialized]
272 | uint32_t tmp = *(uint32_t*)src;
| ^~~~~~~~~~~~~~~
ncx.c:3562:14: note: 'xx' was declared here
3562 | ix_float xx = NC_FILL_FLOAT;
| ^~
but what is worse, data in netcdf files is missing. Luckily, this
was caught by the test suite.
These warnings and further type punning warnings should be fixed
eventually. However, for now, lets cry defeat, disable strict
aliasing and get netcdf back working again.
- Add build support for gcc11 to HPC build.
- Update to version 4.7.4.
* Enhancements:
- Bump the NC_DISPATCH_VERSION from 2 to 3
- Better cross platform path name management. This converts paths for
various platforms (e.g. Windows, MSYS, etc.) so that they are in
the proper format for the executing platform. See Github #1958.
- Add support for storing NCZarr data in zip files. See Github #1908.
- Optimizations to NCZarr, cleanup of code cruft, NCZarr test cases,
performance test to NCZarr. See Github #1942.
- Provide .rc fields for S3 authentication: HTTP.S3.ACCESSID and
HTTP.S3.SECRETKEY.
- Give the client control over what parts of a DAP2 URL are URL
encoded (i.e. xx). This is to support the different decoding
OBS-URL: https://build.opensuse.org/request/show/904468
OBS-URL: https://build.opensuse.org/package/show/science/netcdf?expand=0&rev=117
* Support has been added for multiple filters per variable.
* Now nc_inq_var_szip retuns 0 for parameter values if szip is not in
use for var.
* Now allow parallel I/O with filters, for HDF5-1.10.3 and later.
* Increased default size of cache buffer to 16 MB, from 4 MB. Increased
number of slots to 4133.
* Allow zlib compression to be used with parallel I/O writes, if HDF5
version is 1.10.3 or greater.
* Restore use of szip compression when writing data (including writing
in parallel if HDF5 version is 1.10.3 or greater).
* Enable use of compact storage option for small vars in netCDF/HDF5 files.
* Updated benchmarking program bm_file.c to better handle very large files.
* Added version number to dispatch table, and now check version with
nc_def_user_format().
* Increased size of maximum allowed name in HDF4 files to NC_MAX_NAME.
* Bug Fixes:
- Correct behavior for the command line utilities when
directly accessing a directory using utf8 characters.
- Attempts to set filters or chunked storage on scalar vars will now
return NC_EINVAL. Scalar vars cannot be chunked, and only chunked
vars can have filters. Previously the library ignored these attempts,
and always storing scalars as contiguous storage.
- Fixed problem of growing memory when netCDF-4 files were
opened and closed.
OBS-URL: https://build.opensuse.org/package/show/science/netcdf?expand=0&rev=108
- Remove build restrictions for SLE builds: build all flavors for
SLE.
- Fix ldconfig args for HPC packages: no caching should be done
as these libs are made available thru LD_LIBRARY_PATH tweaking.
- Adhere to common conventions regarding NetCDF and PnetCDF:
NetCDF modules should be called 'netcdf' - regardless whether
they are 'serial' or use MPI (boo#1174291).
OBS-URL: https://build.opensuse.org/request/show/821783
OBS-URL: https://build.opensuse.org/package/show/science/netcdf?expand=0&rev=99
- Add support for gcc8 and gcc9 (jsc#SLE-7766 & jsc#SLE-8609).
- Update to version 4.7.1:
* Remove obsolete _CRAYMPP and LOCKNUMREC macros from
code. Also brought documentation up to date in man page.
* Remove obsolete and deprecated functions nc_set_base_pe()
and nc_inq_base_pe() from the dispatch table. (Both functions
are still supported in the library, this is an internal
change only.)
* Fix: Reverted nccopy behavior so that if no -c parameters are
given, then any default chunking is left to the netcdf-c library
to decide.
- Disable openmpi1 builds for SLE/Leap > 15.1.
- Enable openmpi3 builds for Leap and SLE > 15.1 (jsc#SLE-7773).
OBS-URL: https://build.opensuse.org/request/show/752486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netcdf?expand=0&rev=50
- Update to version 4.7.1:
* Remove obsolete _CRAYMPP and LOCKNUMREC macros from
code. Also brought documentation up to date in man page.
* Remove obsolete and deprecated functions nc_set_base_pe()
and nc_inq_base_pe() from the dispatch table. (Both functions
are still supported in the library, this is an internal
change only.)
* Fix: Reverted nccopy behavior so that if no -c parameters are
given, then any default chunking is left to the netcdf-c library
to decide.
- Disable openmpi1 builds for SLE/Leap > 15.1.
- Enable openmpi3 builds for Leap and SLE > 15.1.
OBS-URL: https://build.opensuse.org/request/show/751698
OBS-URL: https://build.opensuse.org/package/show/science/netcdf?expand=0&rev=84
- Disable mvapich2 for the time being.
- Source mpivars.sh to fix the non-HPC openmpi %check.
- Add magic to limit the number of flavors built in the
in the OBS ring.
- Incorporated HPC-style builds using environment modules.
- Converted to multibuild (FATE#321719).
- renamed rpmlintrc to netcdf-rpmlintrc.
- Generate baselib.conf dynamically and only for the non-HPC
build: this avoids issues with the source validator.
OBS-URL: https://build.opensuse.org/request/show/535296
OBS-URL: https://build.opensuse.org/package/show/science/netcdf?expand=0&rev=28
- Update to version 4.4.1.1:
- Fixed an issue where ncgen would potentially crash or write
incorrect netCDF4 binary data under very specific
circumstances [gh#Unidata/netcdf-c#323].
- Updated documentation related to netCDF variable names and
DAP2 access to reflect the undefined behavior potentially
observed when DAP2 reserved keywords are used as netCDF
variable names.
- Fixed an issue with nc_inq_type() not returning proper value
in some circumstances [gh#Unidata/netcdf-c#317].
- Corrected an issue related to test failures when
--disable-utilities or -DENABLE_UTILITIES=OFF are specified
when building with autotools or cmake, respectively
[gh#Unidata/netcdf-c#313].
- Corrected a behavioral issue with the _NCProperties attribute
taking up too much space [gh#Unidata/netcdf-c#300],
[gh#Unidata/netcdf-c#301].
- Corrected behavior for nc-config so that, if nf-config is
found in system, the proper fortran-related information will
be conveyed [gh#Unidata/netcdf-c#296].
- Add netcdf-disable-szip-linking.patch: Disable building with
szip support for now, since test nc_test4/tst_interops5.c fails
otherwise; this is likely to be fixed with version 4.5.0 of
netcdf, but requires big enough changes that we don't backport
it here. Necessitates BuildRequires on libtool and running
autoreconf before configure.
OBS-URL: https://build.opensuse.org/request/show/523619
OBS-URL: https://build.opensuse.org/package/show/science/netcdf?expand=0&rev=26
- Currently the regular, openmpi, and mpivachi2 versions of the library packages all provide the exact same libraries. So any package built against the -devel package will end up with an "unresolvable" build error because there are multiple versions of the library it can use. To avoid this, I have added generic provides for the library package so packages can depend on the version they really need, avoiding these build issues.
- Depend on the correct regular, openmpi, and mpivachi2 versions of hdf, hdf5, and parallel-netcdf.
Note: the corresponding change to hdf5 has already been accepted. The corresponding change to hdf has been submitted with request 325776. parallel-netcdf already had the necessary provides.
OBS-URL: https://build.opensuse.org/request/show/325782
OBS-URL: https://build.opensuse.org/package/show/science/netcdf?expand=0&rev=9
Updated to 4.3.2
refreshed .no_date_time patch
* Improved type handling with respect to fill-values.
* Enabled netCDF-4 bit-for-bit reproducibility for nccopy and other
applications (thanks to Rimvydas Jasinskas and Quincey Koziol).
* Improved cmake build process.
* As part of an ongoing project, the Doxygen-generated netCDF documentation
has been reorganized. The goal is to make the documentation easier to
parse, and to eliminate redundant material.
OBS-URL: https://build.opensuse.org/request/show/232369
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/netcdf?expand=0&rev=27
- Copy Changes from the release notes to here for the updates to 4.2.1
and 4.2.1.1
- Update to 4.2.1.1:
* Fix DAP performance bug remotely accessing large files (> 2GiB).
* Properly escape special characters in CDL output from ncdump for
netCDF-4 string data.
- Update to 4.2.1:
* Add a specific NC_MMAP mode flag to modify behavior of NC_DISKLESS.
* Changed the file protections for NC_DISKLESS created files to 0666.
* Fixed ncdump to report error when an unsupported option is specified.
* Fixed documentation of CDL char constants in Users Guide and ncgen
man page.
* Fixed memory leak detected by valgrind in one of the HDF5 tests.
For further changes pleaase see the file RELEASE_NOTES in
/usr/share/doc/packages/netcdf
OBS-URL: https://build.opensuse.org/request/show/175854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netcdf?expand=0&rev=16