netcdf-c/dap4_test/baselineremote/test_struct_array.8.nc.ncdump
Dennis Heimbigner a37ca49d25 Modify PR https://github.com/Unidata/netcdf-c/pull/2655 to ensure transient types have names.
re: PR https://github.com/Unidata/netcdf-c/pull/2655

This PR modifies the transient types PR so that all created
transient types are given a created unique name (within a
group). The form of the name is "_Anonymous<Class>NN". The class
is the user-defined type class: Enum, Compound, Opaque, or
Vlen. NN is an integer identifier to ensure uniqueness.
Additionally, this was applied to DAP/4 anonymous dimensions.
This also required some test baseline data changes.

The transient test case is modified to verify that the name exists.
2023-07-22 20:40:53 -06:00

20 lines
293 B
Plaintext

netcdf test_struct_array {
types:
compound s_t {
int x ;
int y ;
}; // s_t
dimensions:
_AnonymousDim2 = 2 ;
variables:
s_t s(_AnonymousDim2, _AnonymousDim2) ;
// global attributes:
string :_dap4.ce = "/s[0:2:3][0:1]" ;
data:
s =
{1, -1}, {17, 37},
{-4, 12}, {-8, 8} ;
}