hdobs.to_pickle¶
- hdobs.to_pickle(filename)[source]¶
- Save HDOB data (Pandas dataframe) to a pickle file. - Parameters
- filename (str) – name of file to save pickle file to. 
 - Notes - This method saves the HDOBs data as a pickle within the current working directory, given a filename as an argument. - For example, assume - hdobswas retrieved from a Storm object (using the first method described in the- hdobsclass documentation). The HDOBs data would be saved to a pickle file as follows:- >>> storm.recon.hdobs.to_pickle("mystorm_hdobs.pickle") - Now the HDOBs data is saved locally, and next time recon data for this storm needs to be analyzed, this allows to bypass re-reading the HDOBs data from the NHC server by providing the pickle file as an argument: - >>> storm.recon.get_hdobs("mystorm_hdobs.pickle")