WVModelOutputGroup

Schedule observing systems into one NetCDF output group.


Declaration

WVModelOutputGroup < handle

Overview

A WVModelOutputGroup contains one or more observing systems and defines the model times at which their state is written.

The simplest output group is the WVModelOutputGroupEvenlySpaced which, as the name suggests, writes outputs at an evenly spaced interval.

Separate groups allow different observing systems to use different schedules or bounded output windows within the same file. This matters when an observing system does not sample evenly, such as a satellite along-track simulator, or when one diagnostic needs a shorter, higher-frequency window than the rest of a long model run. For example, a mooring may need to resolve the buoyancy frequency, while a tracer experiment may run for only 24 hours in the middle of the simulation.

Usage

outputFile = model.addNewOutputFile("myfile.nc");
outputGroup = WVModelOutputGroupEvenlySpaced(model,name="high-temporal-resolution",initialTime=wvt.t,outputInterval=wvt.inertialPeriod/20);
outputFile.addOutputGroup(outputGroup);

Topics

Developer Topics

These items document internal implementation details and are not part of the primary public API.



This site uses Just the Docs, a documentation theme for Jekyll.