pycif.plugins.datastreams.fluxes.dummy_nc — API reference#
Configuration reference: dummy_nc plugin
- pycif.plugins.datastreams.fluxes.dummy_nc.read.read(self, name, tracdir, tracfile, varnames, dates, interpol_flx=False, **kwargs)[source]#
Not implemented: reading dummy NetCDF fluxes is not supported.
- Parameters:
self – the model Plugin.
name – the name of the component.
tracdir – flux directory and file format.
tracfile – flux directory and file format.
dates – list of dates to extract.
interpol_flx (bool) – if True, interpolates fluxes at time t from
files. (values of surrounding available)
**kwargs – unused, kept for interface compatibility.
- Raises:
CifError – always.
- pycif.plugins.datastreams.fluxes.dummy_nc.write.write(self, flx_file, flx_fwd, flx_tl, **kwargs)[source]#
No-op: does not write anything.
- Parameters:
self (Flux) – the Flux plugin.
flx_file (str) – the file where to write fluxes.
flx_fwd – fluxes data to write.
flx_tl – fluxes data to write.
**kwargs – unused, kept for interface compatibility.