Scripts & Data for GLISA Great Lakes Freezing Rain Trends Project
This repo contains all the MATLAB and R scripts used in the updated freezing rain/ice storms climatology of the Great Lakes region that I've been working on, along with the data needed to carry it out.
- a_all.mat: Contains a, a struct containing summary data for all 97 observing stations included in the analysis
- b.mat: Contains b, a struct containg the full timeseries of freezing rain observations for all 97 stations in the analysis
- Extraction_All_Stations.m: Process freezing rain observations from text files in (standard ISD format)[ftp://ftp.ncdc.noaa.gov/pub/data/noaa/ISH-DVD2012/ish-abbreviated.txt] to MATLAB structs a and b (original ISD text files are too large for inclusion here—contact [email protected] if you'd like them!)
- FZRADurationAnalysis.m: Analyze spatial and temporal trends in the duration of freezing rain events
- FZRA_Changepoint_Analysis.R: Perform a changepoint analysis to diagnose any bias introduced in the transition from manual to automated ASOS freezing rain observations in 1995
- HistoricalFZRA_RegionalAvgwProxies.m: Bonus! Compare frequency by year with mentions of "freezing rain" in Wikipedia articles on North American ice storms between 2006 and 2010
- FZRA_Intensity_Investigation_CPC.m:
- FZRA_NARR_Reanalysis.m: Create maps using NARR (not used for any final figures--this code was adapted elsewhere)
- Filter raw ISD observation data to normalize observations to the total number of hours in each year and extract all observations for which freezing rain is present. (IDL scripts by BJ Baule, not included here)
- Process raw text files into structs that can easily be queried.
- Do some QC to determine which stations have observations consistent enough for inclusion in the analysis.
- heatmaps script
- add spreadsheet with percentage of data available by station
- Do a changepoint analysis to begin to characterize biases introduced by the 1995 instrumentation change.
- Create a struct, b, containing all timeseries of freezing rain observations at each station and their metadata, as well as a, a struct summarizing station metadata as well as the frequency of freezing rain events and wind conditions.
- Analyze trends in the kinematics of freezing rain frequency and create maps, timeseries plots, etc.
- Classify all observations into distinct freezing rain events and record information on their duration and intensity.
- Analyze trends in the dynamics of freezing rain events and ice storms by pulling synoptic weather data from the NARR reanalysis and carrying out a k-means clustering of synoptic conditions during events.
- R
- R.matlab for transferring data between R and MATLAB
- modifiedmk for Modified Mann-Kendall trend analysis
- wskm for classifying ice storms using entropy-weighted k-means clustering
- MATLAB with Mapping Toolbox
All third-party R and MATLAB dependencies used in the project can be found at my other repo here.