rcatool.utils.polygons.topo_mask

rcatool.utils.polygons.topo_mask(data, orog, orog_int)[source]

Rotuine to mask grid points outside a specified height interval.

Parameters:
  • data (2D numpy array) – the data matrix

  • orog (2D numpy array) – array containing topographical heights (same resolution as data)

  • orog_int (1D array,list,tuple) – the height interval outside which data should be masked.

Returns:

masked_data – the masked data

Return type:

2D numpy array