pycif.plugins.datastreams.meteos.lmdz_massflx_old — API reference

Contents

pycif.plugins.datastreams.meteos.lmdz_massflx_old — API reference#

Configuration reference: lmdz_massflx_old plugin

pycif.plugins.datastreams.meteos.lmdz_massflx_old.fetch.fetch(ref_dir, ref_file, input_interval, target_dir, tracer=None, **kwargs)[source]#

Reads meteorology and links to the working directory

pycif.plugins.datastreams.meteos.lmdz_massflx_old.read.read(self, name, varnames, dates, tracdir, tracfile, interpol_flx=False, tracer=None, model=None, filetypes=['defstoke', 'fluxstoke', 'fluxstokev', 'phystoke'], **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

  • filetypes ([str]) – list of file radicals to copy in the working directory

  • **kwargs (dictionary) – extra arguments

Returns:

Notes: At some point, include option to compute mass fluxes for LMDz, with different physics What is needed to do that? Possible only on CCRT? Flexibility to define new domains Can be very heavy and not necessarily relevant