runtraj.ProjectConfig.met_config#

ProjectConfig.met_config(name, model=None)[source]#

Return the met called name, checked by the met config of the transport model that reads it.

model is the name of a models block, needed when there are several. A relative directory stays as written; resolve() makes it absolute.

Raises:

ValueError – If the met is not one the model can read, there is no such model, or there are several models and none is named.

Return type:

Any

Parameters:
  • name (str)

  • model (str | None)