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

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

Configuration reference: noaa_glob_avg plugin

pycif.plugins.datastreams.fields.noaa_glob_avg.fetch.fetch(ref_dir, ref_file, date_interval, target_dir, tracer=None, **kwargs)[source]#
pycif.plugins.datastreams.fields.noaa_glob_avg.get_domain.get_domain(ref_dir, ref_file, input_interval, target_dir, tracer=None)[source]#
pycif.plugins.datastreams.fields.noaa_glob_avg.read.read(self, name, varnames, dates, files, interpol_flx=False, comp_type=None, **kwargs)[source]#

Get fluxes from pre-computed fluxes and load them into a pyCIF variables

Parameters:
  • self – the fluxes Plugin

  • name – the name of the component

  • tracdir – flux directory and file format

  • tracfile – 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.fields.noaa_glob_avg.write.write(self, name, lbc_file, data, mode='a', comp_type=None, **kwargs)[source]#