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

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

Configuration reference: iconart_icbc plugin

pycif.plugins.datastreams.fields.iconart_icbc.fetch.fetch(ref_dir, ref_file, input_interval, target_dir, tracer=None, component=None)[source]#
pycif.plugins.datastreams.fields.iconart_icbc.read.read(self, name, varnames, dates, files, interpol_flx=False, comp_type=None, ddi=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.iconart_icbc.write.write(self, name, lbc_file, data, mode='a', comp_type=None, **kwargs)[source]#