Storm.get_recon¶
- Storm.get_recon(path_vdm=None, path_hdobs=None, path_dropsondes=None)[source]¶
Retrieves all aircraft reconnaissance data for this storm.
- Parameters
path_vdm (str, optional) – Filepath of pickle file containing VDM data retrieved from
vdms.to_pickle()
. If provided, data will be retrieved from the local pickle file instead of the NHC server.path_hdobs (str, optional) – Filepath of pickle file containing HDOBs data retrieved from
hdobs.to_pickle()
. If provided, data will be retrieved from the local pickle file instead of the NHC server.path_dropsondes (str, optional) – Filepath of pickle file containing dropsonde data retrieved from
dropsondes.to_pickle()
. If provided, data will be retrieved from the local pickle file instead of the NHC server.
- Returns
ReconDataset – Instance of ReconDataset is returned.
Notes
In addition to returning an instance of
ReconDataset
, this function additionally stores it as an attribute of this Storm object, such that all attributes and methods associated with thevdms
,hdobs
anddropsondes
classes can be directly accessed from this Storm object.One method of accessing the
hdobs.plot_points()
method is as follows:#Get data for Hurricane Michael (2018) from tropycal import tracks basin = tracks.TrackDataset() storm = basin.get_storm(('michael',2018)) #Get all recon data for this storm storm.get_recon() #Plot HDOBs points storm.recon.hdobs.plot_points()
The other method is using the returned ReconDataset instance from this function:
#Get data for Hurricane Michael (2018) from tropycal import tracks basin = tracks.TrackDataset() storm = basin.get_storm(('michael',2018)) #Get all recon data for this storm recon = storm.get_recon() #Plot HDOBs points recon.hdobs.plot_points()