pycif.plugins.domains.lmdz — API reference

pycif.plugins.domains.lmdz — API reference#

Configuration reference: lmdz plugin

pycif.plugins.domains.lmdz.create_domain.create_domain(domain, **kwargs)[source]#

Creates a grid if needed

Parameters:

domain (dictionary) – dictionary defining the domain.

Returns:

Error as LMDZ shouldn’t be used with unknown grids

pycif.plugins.domains.lmdz.read_domain.read_grid(domain, **kwargs)[source]#

Reads a grid from an existing file

Parameters:
  • domain (Plugin) – dictionary defining the domain. Should include

  • file (filegrid to be able to read the grid from a)

Returns:

Grid dictionary with meshgrids for center lon/lat and corner lon/lat

Notes

In LMDZ the grid cell at -180 degW is repeated