This is a simple interactive script to analyze CMIP5 climate model predictions.
The code files in this repository are:
config.py: Configuration file to process and plot different variablesprocess.py: Processes netcdf data into npz files for displayplot.py: Displays npz files created with process.py interactively
The configuration variables are:
process.pyconfigurationdataDir: directory where data is being storedcacheDir: directory to store npz cache and output datalandSeaFile: file containing mask determining whether an latitude/longitude is land or seadataFilesRCP26: NetCDF files containing RCP2.6 experiment data (to be averaged)dataFilesRCP85: NetCDF files containing RCP8.5 experiment data (to be averaged)varOfInterest: Variable to analyze
- Universal configuration
numMonths: Total number of months of climate model data to analyzestartYear: The starting yearlatitudeRes: The latitude resolutionlongitudeRes: The longitude resolutionrealm: Which locations of Earth to plot
plot.pyconfigurationprocessedDataFile: The file contining processed dataplay_interval: The number of milliseconds between each frame when playing- (I'll write the others later if I feel like it. I'm tired.)
I have some samples of output here