expand

typhon.collocations.expand(dataset)[source]

Repeat the primary data so they align with their secondary collocations

During searching for collocations, one might find multiple collocation points from one dataset for one single point of the other dataset. For example, the MHS instrument has a larger footprint than the AVHRR instrument, hence one will find several AVHRR colloocation points for each MHS data point. To avoid needing more storage than required, no duplicated data values are stored even if they collocate multiple times.

Parameters

dataset – A xarray.Dataset object with collocated data.

Returns

A xarray.Dataset object.