mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-12 15:45:21 +08:00
a37ca49d25
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.
31 lines
828 B
Plaintext
31 lines
828 B
Plaintext
<Dataset
|
|
name="test_vlen4.nc"
|
|
dapVersion="4.0"
|
|
dmrVersion="1.0"
|
|
xmlns="http://xml.opendap.org/ns/DAP/4.0#"
|
|
xmlns:dap="http://xml.opendap.org/ns/DAP/4.0#">
|
|
<Dimensions>
|
|
<Dimension name="_AnonymousDim2" size="2"/>
|
|
</Dimensions>
|
|
<Types>
|
|
<Structure name="v1">
|
|
<Seq name="f1" type="/v1_f1_t">
|
|
<Dim name="/_AnonymousDim2"/>
|
|
</Sequence>
|
|
</Structure>
|
|
<Structure name="v1_f1_base">
|
|
<Int32 name="f1"/>
|
|
</Structure>
|
|
<Vlen name="v1_f1_t" type="/v1_f1_base"/>
|
|
</Types>
|
|
<Variables>
|
|
<Struct name="v1" type="/v1"/>
|
|
</Variables>
|
|
<Attribute name="_DAP4_Little_Endian" type="UInt8">
|
|
<Value value="1"/>
|
|
</Attribute>
|
|
<Attribute name="_NCProperties" type="String">
|
|
<Value value="version=2,netcdf=4.9.1-development,hdf5=1.12.2"/>
|
|
</Attribute>
|
|
</Dataset>
|