WVModelOutputGroup

A WVModelOutputGroup represents a group of observing system to be written to file at particular output times


Declaration

WVModelOutputFile < handle

Overview

A WVModelOutputGroup encapsulates a netcdf group with particular output times t; it has one or more observing systems that get written to the group at those times.

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

The reason for this abstraction is that some observing systems do not have evenly spaced output intervals, e.g., the AlongTrackSimulator, and it is often the case that one might want to sample the model for a short interval at higher frequency, e.g., sampling a mooring at high frequency to resolve the buoyancy frequency, or running a tracer experiment for 24 hours in the middle of a long model run.

Usage

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

Topics



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