pycif.plugins.datastreams.meteos.dummy_csv — API reference#
Configuration reference: dummy_csv plugin
- pycif.plugins.datastreams.meteos.dummy_csv.fetch.fetch(ref_dir, ref_file, input_interval, target_dir, tracer=None, **kwargs)[source]#
- pycif.plugins.datastreams.meteos.dummy_csv.make.make(meteo, meteo_file, file_hours, **kwargs)[source]#
Creates random meteo time series for toy Gaussian model
- Parameters:
meteo (pycif.utils.classes.Meteo) – object defining the meteo
meteo_file (str) – path where to dump
file_hours (pd.DatetimeIndex) – list of dates to include
- Returns:
initialized meteo
- pycif.plugins.datastreams.meteos.dummy_csv.read.read(meteo, name, varnames, dates, files, **kwargs)[source]#
Reads meteorology and links to the working directory
- Parameters:
meteo (dictionary) – dictionary defining the domain. Should include
meteorology (dirmeteo to be able to read the)
datei (datetime.datetime) – initial date for the inversion window
datef (datetime.datetime) – end date for the inversion window
workdir (str) – path to the working directory where meteo files should be copied
logfile (str) – path to the log file
**kwargs (dictionary) – extra arguments
- Returns:
None