retrieve_from_collocations

SPAREICE.retrieve_from_collocations(inputs, output, start=None, end=None, processes=None)[source]

Retrieve SPARE-ICE from collocations between MHS and AVHRR

You can use this either with already collocated MHS and AVHRR data (pass the Collocations object via inputs) or you let MHS and AVHRR be collocated on-the-fly by passing the filesets with the raw data (pass two filesets as list via inputs).

Parameters:
  • inputs – Can be Collocations or a list with FileSet objects. If it is a Collocations object, all files from them are processed and use as input for SPARE-ICE.

  • output – Must be a path with placeholders or a FileSet object where the output files should be stored.

  • start – Start date either as datetime object or as string (“YYYY-MM-DD hh:mm:ss”). Year, month and day are required. Hours, minutes and seconds are optional. If not given, it is datetime.min per default.

  • end – End date. Same format as “start”. If not given, it is datetime.max per default.

  • processes – Number of processes to parallelize the collocation search. If not set, the value from the initialization is taken.

Returns:

None