pylag.parallel.model_factory module

Module containing factory method for Model Objects in parallel runs

pylag.parallel.model_factory.get_model(config, datetime_start, datetime_end)[source]

Factory method for model objects.

Configure the OPTModel. Here, the required set of data readers for ocean, wind and waves input data are instantiated and configured. Tests are put in place to ensure a working configuration has been specified.

Parameters
  • config (ConfigParser) – Configuration object

  • datetime_start (Datetime) – Start datetime

  • datetime_end (Datetime) – End datetime

Returns

Offline particle tracking model object

Return type

pylag.model.OPTModel