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]#
Get fluxes from pre-computed fluxes and load them into a pycif variables
- 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)
- pycif.plugins.datastreams.fluxes.dummy_nc.write.write(self, flx_file, flx_fwd, flx_tl, **kwargs)[source]#
Write fluxes for the dummy Gaussian model as NetCDF.
- 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