mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
1a45ee025f
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
23 lines
357 B
Plaintext
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" ;
|
|
}
|