The variables containing moment data ('field variables') are stored directly within the group of the containing sweep. Other variables containing metadata related to the sweep, rays or bins are also stored directly within the sweep group. For example, sweep_number, azimuth, range and pulse_width.
As a result of this, there is no easy way to discover or loop through all moments within a sweep.
All other levels of the data model support discovery / enumeration of child objects:
- Sweeps can be discovered via the
sweep_group_names global variable
- Spectrum datasets can be discovered via the
spectrum_group_names variable within each sweep
To support discovery of moments within a sweep a new variable we could reuse the mechanism established above:
- A new dimension called
field added to the sweep group. Dimension should be required, and should also be an unlimited dimension to allow later insertion of new fields.
- A new variable called
field_names added to the sweep group based on the field dimension. This variables will be a string type and will contain the names of each moment/field variable in the sweep.
The variables containing moment data ('field variables') are stored directly within the group of the containing sweep. Other variables containing metadata related to the sweep, rays or bins are also stored directly within the sweep group. For example,
sweep_number,azimuth,rangeandpulse_width.As a result of this, there is no easy way to discover or loop through all moments within a sweep.
All other levels of the data model support discovery / enumeration of child objects:
sweep_group_namesglobal variablespectrum_group_namesvariable within each sweepTo support discovery of moments within a sweep a new variable we could reuse the mechanism established above:
fieldadded to the sweep group. Dimension should be required, and should also be an unlimited dimension to allow later insertion of new fields.field_namesadded to the sweep group based on thefielddimension. This variables will be astringtype and will contain the names of each moment/field variable in the sweep.