eviz.models.esm package

Submodules

eviz.models.esm.generic module

class eviz.models.esm.generic.Generic(config: Config)

Bases: Root

The generic class contains definitions for handling generic ESM data, that is 2D, 3D, and 4D field data. This is typically not the case for observational data which may be unstructured and very non-standard in its internal arrangement. Specific model functionality should be overridden in subclasses.

property logger: Logger

Abstract property for the logger instance.

eviz.models.esm.geos module

class eviz.models.esm.geos.Geos(config: Config)

Bases: Generic

Define GEOS-specific model data and functions. The GEOS-specific functionality centers around the HISTORY.rc file which contains information about the GEOS data sources. In Eviz, the HISTORY.rc is parsed during initialization and the relevant information is stored in the Config object.

Parameters:

config (Config) – Config object associated with this model

property logger: Logger

Abstract property for the logger instance.

eviz.models.esm.lis module

class eviz.models.esm.lis.Lis(config: Config)

Bases: NuWrf

Define LIS specific model data and functions.

get_field_dim_name(dim_name, field_name)
property global_attrs
property logger: Logger

Abstract property for the logger instance.

eviz.models.esm.nuwrf module

class eviz.models.esm.nuwrf.NuWrf(config: Config)

Bases: Generic

Define NUWRF specific model data and functions.

coord_names(source_name, source_data, field_name, pid)

Get WRF coord names based on field and plot type

Parameters:
  • source_name (str) – source name

  • source_data (dict) – source data

  • field_name (str) – Field name associated with this plot

  • pid (str) – plot type

get_dd(source_name, source_data, dim_name, field_name)
get_field_dim_name(source_name: str, source_data: dict, dim_name: str, field_name: str)
get_model_coord_name(source_name: str, dim_name: str)
get_model_dim_name(source_name: str, dim_name: str)
property logger: Logger

Abstract property for the logger instance.

static set_global_attrs(source_name, ds_attrs)

Return a tuple of global attributes from WRF or LIS dataset

eviz.models.esm.wrf module

class eviz.models.esm.wrf.Wrf(config: Config)

Bases: NuWrf

Define NUWRF specific model data and functions.

basic_plot()

Create a basic plot, i.e. one without specifications.

dim_names(field_name, pid)

Get WRF dim names based on field and plot type

Parameters:
  • field_name (str) – Field name associated with this plot

  • pid (str) – plot type

property global_attrs
property logger: Logger

Abstract property for the logger instance.

Module contents