mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-15 08:30:11 +08:00
2b45c7ec84
re: https://github.com/Unidata/netcdf-c/issues/2159 There was error in libhdf5 that only allowed reading a single value HDF5 fixed string. Fix to allow reading an array of such strings. Also make sure it still works for scalars and for attributes. Add a testcase: nc_test4/tst_fixedstring.sh.
10 lines
134 B
Plaintext
10 lines
134 B
Plaintext
netcdf ref_fixedstring {
|
|
dimensions:
|
|
phony_dim_0 = 3 ;
|
|
variables:
|
|
string test(phony_dim_0) ;
|
|
data:
|
|
|
|
test = "foo", "bar", "baz" ;
|
|
}
|