pycif.plugins.datastreams.fluxes.flexpart — API reference#
Configuration reference: flexpart plugin
- pycif.plugins.datastreams.fluxes.flexpart.fetch.fetch(ref_dir, ref_file, date_interval, target_dir, tracer=None, **kwargs)[source]#
- pycif.plugins.datastreams.fluxes.flexpart.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
tracfic – 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.flexpart.read_glob.read_glob(self, name, tracdir, tracfic, dates, interpol_flx=False, **kwargs)[source]#
Get global 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
tracfic – 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)
Note
This was originally copied from ../flexpart/read.py. May eventually be moved to a different plugin