pycif.plugins.datastreams.fluxes.EDGARv8_EYECLIMA_nc — API reference

pycif.plugins.datastreams.fluxes.EDGARv8_EYECLIMA_nc — API reference#

Configuration reference: EDGARv8_EYECLIMA_nc plugin

pycif.plugins.datastreams.fluxes.EDGARv8_EYECLIMA_nc.fetch.fetch(ref_dir, ref_file, input_interval, target_dir, tracer=None, **kwargs)[source]#
Parameters:
  • ref_dir – directory where the original files are found

  • ref_file – (template) name of the original files

  • input_interval – list of the periods to simulate, each item is the list of the dates of the period

  • target_dir – directory where the links to the orginal files are created

  • tracer

  • kwargs

Returns:

list_files: for each date that begins a period, an array containing

the names of the files that are available for the dates within this period

list_dates: for each date that begins a period, an array containing

the names of the dates mathcin the files listed in list_files

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

Get fluxes from raw files and load them into a pyCIF variables

pycif.plugins.datastreams.fluxes.EDGARv8_EYECLIMA_nc.utils.find_valid_file(ref_dir, file_format, dd, ref_dir_next, ref_dir_previous=False)[source]#
pycif.plugins.datastreams.fluxes.EDGARv8_EYECLIMA_nc.write.write(self, name, flx_file, flx, mode='a', **kwargs)[source]#