tropycal.recon.Mission

class tropycal.recon.Mission(data, mission_id)[source]

Creates an instance of a Mission object.

Parameters
  • data (dict) – Dictionary containing mission data. This is passed automatically from RealtimeRecon.get_mission() or ReconDataset.get_mission().

  • mission_id (str) – String representing the full Mission ID. This is passed automatically from RealtimeRecon.get_mission() or ReconDataset.get_mission().

Returns

tropycal.recon.Mission – An instance of a Mission object.

Notes

Mission objects can be retrieved via two methods. The first method is for realtime Recon missions, retrieved directly from RealtimeRecon objects provided a mission ID string. For this example below, we’ll retrieve the latest mission available:

#Read in all recent mission data
from tropycal import recon
realtime_obj = recon.RealtimeRecon()

#Get latest mission ID string (or set this to any of the available mission IDs)
latest_mission_id = realtime_obj.get_mission_ids()[-1]

#Retrieve an instance of Mission
mission = realtime_obj.get_mission(latest_mission_id)

The second method to retrieve a Mission object is for archived recon missions, via ReconDataset:

#Read in HURDATv2 dataset
from tropycal import tracks
basin = tracks.TrackDataset()
storm = basin.get_storm(('michael',2018))

#Get mission #11
mission = storm.recon.get_mission(11)

This instance of Mission can now access all of the attributes and methods of the Mission class.

Note that since the Mission object is mission-centric, not storm-centric, much of the functionality available in the storm-centric recon classes is not available here, though some of the plotting functionality (plotting HDOB points, time series, or dropsonde Skew-T) is available.

Methods Summary

Mission.get_dropsondes()

Returns dropsondes for this mission.

Mission.get_hdobs()

Returns High Density Observations (HDOBs) for this mission.

Mission.get_vdms()

Returns Vortex Data Messages (VDMs) for this mission.

Mission.plot_points([varname, in_storm, ...])

Creates a plot of High Density Observations (HDOBs) data points.

Mission.plot_skewt([number])

Plot a single dropsonde Skew-T for a given dropsonde number.

Mission.plot_time_series([varname, time, ...])

Plots a time series of one or two variables on an axis.

Mission.status()

Returns the current mission status.