pyart.testing.Radar.get_field#

Radar.get_field(sweep, field_name, copy=False)[source]#

Return the field data for a given sweep.

When used with get_gate_x_y_z() this method can be used to obtain the data needed for plotting a radar field with the correct spatial context.

Parameters:
  • sweep (int) – Sweep number to retrieve data for, 0 based.

  • field_name (str) – Name of the field from which data should be retrieved.

  • copy (bool, optional) – True to return a copy of the data. False, the default, returns a view of the data (when possible), changing this data will change the data in the underlying Radar object.

Returns:

data (array) – Array containing data for the requested sweep and field.