dartobsgen.ObsNetworkEntry#

class dartobsgen.ObsNetworkEntry(obs_type, lat, lon, vertical, vert_unit, obs_err_var, time_offset=<factory>)[source]#

Bases: object

One synthetic observation location and type in the observing network.

Parameters:
  • obs_type (str) – DART obs type name, e.g. "TEMPERATURE", "U_WIND_COMPONENT".

  • lat (float) – Latitude in degrees.

  • lon (float) – Longitude in degrees (-180 to 180 or 0 to 360; written to the obs_seq file wrapped to 0–360 as DART requires).

  • vertical (float) – Vertical coordinate value (units defined by vert_unit).

  • vert_unit (str) – Vertical coordinate unit string understood by DART, e.g. "pressure (Pa)", "height (m)", "model level".

  • obs_err_var (float) – Observation error variance (same units as the observed quantity, squared).

  • time_offset (timedelta) – Offset from the window’s reference time at which this observation is placed. The reference time is the cycle’s analysis_time (the centre of the window), or the model state’s valid time when a state_provider is used (required because perfect_model_obs cannot advance large models, so obs must sit at the state time). Default is timedelta(0). Must stay within (-freq/2, +freq/2] or perfect_model_obs will reject the observation as outside the window.

__init__(obs_type, lat, lon, vertical, vert_unit, obs_err_var, time_offset=<factory>)#
Parameters:
Return type:

None

Methods

__init__(obs_type, lat, lon, vertical, ...)

Attributes

obs_type: str#
lat: float#
lon: float#
vertical: float#
vert_unit: str#
obs_err_var: float#
time_offset: timedelta#