pycif.plugins.domains.grib_ecmwf — API reference

pycif.plugins.domains.grib_ecmwf — API reference#

Configuration reference: grib_ecmwf plugin

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

Reads a grid from a NetCDF file :param domain: dictionary defining the domain :type domain: Plugin

Returns:

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

pycif.plugins.domains.grib_ecmwf.utils.get_bounds(ds: Dataset, coord_name: str, flip_coord: bool, min_bound: float, max_bound: float, regular_extent: bool) ndarray[source]#

Get the bounds of a given coordinates.

pycif.plugins.domains.grib_ecmwf.utils.get_centers(coord: ndarray, flip_coord: bool) ndarray[source]#
pycif.plugins.domains.grib_ecmwf.utils.find_coord(ds: Dataset | DataArray, name: str, coord_name: str = None) str[source]#

Find a variable or coordinate name in a dataset based on its ‘long_name’ or ‘standard_name’ attribute.