netcdf-c/nczarr_test/ref_string_zarr.baseline
Dennis Heimbigner 1a45ee025f Fix some addtional errors in NCZarr
re: Issue https://github.com/Unidata/netcdf-c/issues/2502

H/T Charlie Zender

* Fix NCZarr handling of endianness value NC_ENDIAN_NATIVE. This now matches how it is handled in libhdf5
* Fix NCZarr handling of char typed attribute with value "". This now matches how it is handled in libhdf5
* Add test for various char attribute values
* Change the mapping of NC_CHAR and NC_STRING to dtype; requires changing some test files also.
* Optimize the testing for NC_ENOTBUILT in NC_open.
* Turn off debugging left on accidentally
* Fix memory leak in tst_pnetcdf.c
* Fix blosc test
2022-09-09 14:25:24 -06:00

23 lines
357 B
Plaintext

netcdf ref_string {
dimensions:
d2 = 2 ;
_scalar_ = 1 ;
variables:
string c(d2) ;
string truncated(_scalar_) ;
truncated:_nczarr_maxstrlen = 4 ;
string v(d2) ;
// global attributes:
:stringattr = "[\"abc\",\"def\"]" ;
:charattr = "ghijkl" ;
:_nczarr_default_maxstrlen = 6 ;
data:
c = "a", "b" ;
truncated = "0123" ;
v = "uvw", "xyz" ;
}