get_additional_field

SingleFileDataset.get_additional_field(M, fld)

Get additional field.

Get field from other dataset, original objects, or otherwise. To be implemented by subclass implementations.

Exact fields depend on subclass.

Parameters:
  • M (ndarray) – ndarray with existing data A (masked) array with a dtype such as returned from self.read <Dataset.read>.

  • fld (str) – Additional field to read from original data

Returns:

ndarray with fields of M + fld.