standardize_collocations

SPAREICE.standardize_collocations(data, fields=None, add_sea_mask=True, add_elevation=True)[source]

Convert collocation fields to standard SPARE-ICE fields.

Parameters
  • data – A xarray.Dataset object with collocations either amongst 2C-ICE, MHS & AVHRR or MHS & AVHRR.

  • fields (optional) – Fields that will be selected from the collocations. If None (default), all fields will be selected.

  • add_sea_mask – Add a flag to the data whether the pixel is over sea or land.

  • add_elevation – Add the surface elevation in meters to each pixel.

Returns

A pandas.DataFrame with all selected fields.