This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from netCDF4 import Dataset | |
from scipy.stats import norm | |
import numpy as np | |
import matplotlib.pyplot as plt | |
list_indices = ['tasmax'] | |
indices = list_indices[0] | |
#test | |
files='/g/data3/w97/dc8106/AMZ_def_EXPs/121GPsc_E0/AMZDEF.daily_tasmin.tasmax.pr.1978_2011_121GPsc_E0.nc' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xarray | |
from scipy.stats import norm | |
import numpy as np | |
import matplotlib.mlab as mlab | |
import matplotlib.pyplot as plt | |
list_indices = ['tasmax'] | |
indices = list_indices[0] | |
exp = ['CTL_E0', '121GPsc_E0'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xarray as xr | |
import matplotlib.pyplot as plt | |
import os | |
from mpl_toolkits.basemap import Basemap | |
from matplotlib.colors import BoundaryNorm | |
from matplotlib.colors import LinearSegmentedColormap | |
import numpy as np | |
runame = 'SAmerica_CORDEX_Noah-MP' |