pycif.plugins.datastreams.meteos.chimere_meteo — API reference#
Configuration reference: chimere_meteo plugin
- pycif.plugins.datastreams.meteos.chimere_meteo.fetch.fetch(ref_dir, ref_file, input_interval, target_dir, tracer=None, **kwargs)[source]#
- pycif.plugins.datastreams.meteos.chimere_meteo.read.read(self, name, varnames, dates, files, interpol_flx=False, comp_type=None, ddi=None, **kwargs)[source]#
Get meteo from a pre-computed meteo and load required variables into a pyCIF variables
- Parameters:
self – the meteo Plugin
name – the name of the component
metdir – meteo directory and file format
metfic – meteo directory and file format
dates – list of dates to extract
- pycif.plugins.datastreams.meteos.chimere_meteo.write.write(self, name, meteo_file, meteo_data, mode='a', **kwargs)[source]#
Write flux to METEO CHIMERE compatible files.
- Parameters:
self (Fluxes) – the Fluxes plugin
flx_file (str) – the file where to write fluxes
flx (xarray.DataArray) – fluxes data to write
mode (str) – ‘w’ to overwrite, ‘a’ to append