dartobsgen.ModelState#

class dartobsgen.ModelState(path, valid_time)[source]#

Bases: object

A single-timeslice model state ready for perfect_model_obs.

Parameters:
  • path (str) – Path to a netCDF file holding exactly one timeslice, in the format the DART model interface reads (for MOM6: restart format).

  • valid_time (datetime) – The time DART will read from the file, computed exactly as the model_mod’s read_model_time computes it. Synthetic observations must be placed at (or near) this time because perfect_model_obs cannot advance large models.

__init__(path, valid_time)#
Parameters:
Return type:

None

Methods

__init__(path, valid_time)

Attributes

path: str#
valid_time: datetime#