huracanpy.tc.pressure_category#
- huracanpy.tc.pressure_category(slp, convention='Klotzbach', slp_units=None)[source]#
Determine the pressure category according to selected convention.
- Parameters:
slp (xarray.DataArray) – Minimum Sea-level Pressure series in hPa
convention (str) –
- Name of the classification convention you want to use.
Klotzbach (default)
Simpson
slp_units (str, default="hPa") – The units of the input array if they are not already provided by the attributes
- Returns:
The category series. You can append it to your tracks by running tracks[“cat”] = get_pressure_cat(tracks.slp)
- Return type: