pycif.plugins.datastreams.fields.oldlmdz_photochem — API reference

pycif.plugins.datastreams.fields.oldlmdz_photochem — API reference#

Configuration reference: oldlmdz_photochem plugin

pycif.plugins.datastreams.fields.oldlmdz_photochem.fetch.fetch(ref_dir, ref_file, date_interval, target_dir, tracer=None, **kwargs)[source]#
pycif.plugins.datastreams.fields.oldlmdz_photochem.get_domain.get_domain(ref_dir, ref_file, input_interval, target_dir, tracer=None)[source]#
pycif.plugins.datastreams.fields.oldlmdz_photochem.read.read(self, name, tracdir, tracfile, varnames, dates, interpol_j=False, comp_type=None, model=None, **kwargs)[source]#

Get photolysis kinetic constants from pre-computed Js and load them into a pyCIF variables

Parameters:
  • self – the photochem Plugin

  • name – the name of the component

  • tracdir – kinetic directory and file format

  • tracfile – kinetic directory and file format

  • dates – list of dates to extract

  • interpol_j (bool) – if True, interpolates Js at time t from

  • files (values of surrounding available)

pycif.plugins.datastreams.fields.oldlmdz_photochem.utils.find_valid_file(ref_dir, file_format, dd)[source]#