Source code for pycif.plugins.datastreams.fluxes.dummy_nc.read
from logging import info
from .....utils.check.errclass import CifError
[docs]
def read(
self,
name,
tracdir,
tracfile,
varnames,
dates,
interpol_flx=False,
**kwargs
):
"""Not implemented: reading dummy NetCDF fluxes is not supported.
Args:
self: the model Plugin.
name: the name of the component.
tracdir, tracfile: flux directory and file format.
dates: list of dates to extract.
interpol_flx (bool): if True, interpolates fluxes at time t from
values of surrounding available files.
**kwargs: unused, kept for interface compatibility.
Raises:
CifError: always.
"""
info("READING NetCDF dummy fluxes")
raise CifError