pycif.plugins.datastreams.fluxes.dummy_txt — API reference#
Configuration reference: dummy_txt plugin
- pycif.plugins.datastreams.fluxes.dummy_txt.fetch.fetch(ref_dir, ref_file, input_interval, target_dir, tracer=None, **kwargs)[source]#
- pycif.plugins.datastreams.fluxes.dummy_txt.read.read(self, name, varnames, dates, files, interpol_flx=False, tracer=None, **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_txt.write.write(self, name, flx_file, flx, mode='w', **kwargs)[source]#
Write fluxes for the dummy_txt Gaussian model.
- Parameters:
self (Fluxes) – the Fluxes plugin
file (str) – the file where to write fluxes
flx_fwd – fluxes data to write
flx_tl – fluxes data to write