WVModelOutputGroupAlongTrack
Represent WaveVortexModel output for satellite along-track sampling.
Declaration
classdef WVModelOutputGroupAlongTrack < WVModelOutputGroupOverview
WVModelOutputGroupAlongTrack manages the time sampling and NetCDF output for a single satellite altimetry mission using an AlongTrackSimulator. The group precomputes mission pass-overs through the model domain and, when the model reaches a pass-over time, writes the full along-track sample sequence for that pass-over into the corresponding NetCDF group.
Typical usage:
- Create a WVModel NetCDF output file and initialize an AlongTrackSimulator.
- Construct one WVModelOutputGroupAlongTrack per mission and attach it to the output file.
The following code adds output groups for all current satellites
outputFile = model.createNetCDFFileForModelOutput('ModelOutput.nc',outputInterval=86400);
ats = AlongTrackSimulator();
currentMissions = ats.currentMissions;
for iMission = 1:length(currentMissions)
outputFile.addOutputGroup(WVModelOutputGroupAlongTrack(model,currentMissions(iMission),ats));
end
Major responsibilities:
- Store mission metadata and repeat-cycle information.
- Determine pass-over output times for a model integration window.
- Write the complete along-track time series for each pass-over into NetCDF.
- Provide class annotation metadata for property introspection.
Topics
- Initialization
WVModelOutputGroupAlongTrackCreate an along-track output group for a satellite mission.
- Mission metadata
atsAlongTrackSimulator used to compute and project mission ground tracks.descriptionDescribe the sampling pattern represented by this output group.missionNameMission identifier used to configure the along-track sampling.repeatCycleMission repeat cycle (s).
- Output scheduling
convertTrackVectorToPassoverCellArrayConvert a track time series into a cell array of pass-overs.firstPassoverTimeModel time of first sample for each pass-over (s).tracksPass-over tracks through the model domain.
- Class annotations
classRequiredPropertyNamesReturn names of required properties for this class.