netcdf-c/ncgen/compound_datasize_test.cdl

22 lines
432 B
Plaintext
Raw Normal View History

// Test for an issue related to CDL compound structs.
// See https://github.com/Unidata/netcdf-c/issues/323 for more information
netcdf stations {
types:
compound obs_t {
float lat ;
float lon ;
string stid ;
double time ;
float temperature ;
}; // obs_t
dimensions:
n = UNLIMITED ;
variables:
obs_t obs(n) ;
data:
obs = {39.9, -104.9, "KDEN", 7776000, 15},
{40, -105, "KBOU", 7776000, 16} ;
}