metobs_toolkit.station.Station.add_to_modeldata#

Station.add_to_modeldata(new_modeltimeseries: ModelTimeSeries, force_update: bool = False) None[source]#

Add a new ModelTimeSeries to the Station. This can only be done when the new_modeltieseries is not already present in self based on its id, or if force_update is true.

Parameters:
  • new_modeltimeseries (ModelTimeSeries) – The new model time series to be added. Must be an instance of ModelTimeSeries.

  • force_update (bool, optional) – If True, overwrite existing model data for the same observation type. Default is False.

Return type:

None