pyart.core.RadarSpectra.add_field#
- RadarSpectra.add_field(field_name, dic, replace_existing=False)[source]#
Add a field to the object.
- Parameters:
field_name (str) – Name of the field to add to the dictionary of fields.
dic (dict) – Dictionary contain field data and metadata.
replace_existing (bool) – True to replace the existing field with key field_name if it exists, loosing any existing data. False will raise a ValueError when the field already exists.