mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +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.
15 lines
290 B
Plaintext
15 lines
290 B
Plaintext
netcdf amsre_20060131v5 {
|
|
dimensions:
|
|
_AnonymousDim3 = 3 ;
|
|
_AnonymousDim6 = 6 ;
|
|
variables:
|
|
byte time_a(_AnonymousDim3, _AnonymousDim6) ;
|
|
string time_a:Equator_Crossing_Time = "1:30 PM" ;
|
|
data:
|
|
|
|
time_a =
|
|
-1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1 ;
|
|
}
|