netcdf insitu {
types:
compound obs_t { // type for a single observation
float pressure ;
float temperature ;
float salinity ;
} ;
obs_t(*) some_obs_t ; // type for vlen of observations
compound profile_t { // type for a single profile
float latitude ;
float longitude ;
int time ;
some_obs_t obs ;
} ;
profile_t(*) some_profiles_t ; // type for vlen of profiles
compound track_t { // type for a single track
string id ;
string description ;
some_profiles_t profiles;
} ;
dimensions:
tracks = 3;
variables:
track_t cruise(tracks); // this cruise has 3 tracks
data:
cruise =
{"track1", "first", {{40, -205, 1000, {{2, 3, 4}, {5, 6, 7}}}}},
{"track2", "second", {{50, -210, 1100, {{8, 9, 10}, {11, 12, 13}}}}},
{"track3", "final", {{60, -215, 1200, {{14, 15, 16}, {17, 18, 19}}}}} ;
}