netcdf-c/libnczarr
Dennis Heimbigner 2f0a6d22e9 Fix error where not converting fill data
re: Github Issue https://github.com/Unidata/netcdf-c/issues/1826

It turns out that the common get code (NC4_get_vars) in libhdf5
(and libnczarr) has an optimization where it does not attempt to
read from the file if the file is all fill values. Rather it
just fills the output buffer with the fill value.  The problem
is that -- in that case -- it forgets that conversion might still be
needed.  So the conversion never occurs and the raw bits of
the fill data are stored directly into the memory space.

Solution: move some code around to properly do the
conversion no matter how the data was obtained.

Added a test cases nc_test4/test_fillonly.sh and
nczarr_test/test_fillonlyz.sh
2020-09-12 14:49:59 -06:00
..
awsincludes.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
CMakeLists.txt 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
Makefile.am This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
SimpleBinStream.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zarr.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zarr.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zattr.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zcache.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zcache.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zchunking.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zchunking.h 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
zclose.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zcreate.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zcvt.c Modify isnan() operation 2020-08-29 18:42:20 -06:00
zdebug.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zdebug.h 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
zdim.c 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
zdispatch.c 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
zdispatch.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zfile.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zfilter.c 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
zgrp.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zincludes.h 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
zinternal.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zinternal.h 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
zjson.c 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
zjson.h 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
zmap_nz4.c 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
zmap_nzf.c 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
zmap_s3sdk.c 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
zmap.c 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
zmap.h 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
zodom.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zodom.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zopen.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zprov.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zprovenance.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zs3sdk.cpp 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
zs3sdk.h This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zsync.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
ztype.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zutil.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00
zvar.c Fix error where not converting fill data 2020-09-12 14:49:59 -06:00
zwalk.c This PR adds EXPERIMENTAL support for accessing data in the 2020-06-28 18:02:47 -06:00