ReconDataset.find_mission¶
- ReconDataset.find_mission(time=None, distance=None)[source]¶
Returns the name of a mission or list of recon missions for this storm.
- Parameters
time (datetime.datetime or list, optional) – Datetime object or list of datetime objects representing the time of the requested mission. If none, all missions will be returned.
distance (int, optional) – Distance from storm center, in kilometers.
- Returns
list – The IDs of any/all missions that had in-storm observations during the specified time.
Notes
Especially in earlier years, missions are not always numbered sequentially (e.g., the first mission might not have an ID of “01”).
To get a
Mission
object for one or more mission IDs, use the mission ID as an argument inReconDataset.get_mission()
. For example, to retrieve a Mission object for every mission valid at a requested time, assuming thatReconDataset
is linked to a Storm object:#Enter a requested time here import datetime as dt requested_time = dt.datetime(2020,8,12,12) #enter your requested time here #Get all active mission ID(s), if any, for this time mission_ids = storm.recon.find_mission(requested_time) #Get Mission object for each mission for mission_id in mission_ids: mission = storm.recon.get_mission(mission_id) print(mission)