FV3 Bundle
|
Variables | |
int | plot_diff = 1 |
string | model = 'gfs' |
int | cube = 48 |
string | filetype = 'png' |
string | path1 = './' |
string | file_tplt_befr1 = '20180415.000000.3DVar.fv_core.res.tile' |
string | file_tplt_aftr = '.nc' |
string | path2 = '../INPUTS/GEOS_c48/' |
string | file_tplt_befr2 = '20180415.000000.fv_core.res.tile' |
string | xdimvar = 'xaxis_1' |
string | ydimvar = 'yaxis_2' |
string | zdimvar = 'zaxis_1' |
string | readvar = 'T' |
string | Dim2dor3d = '3D' |
int | plot_level = 50 |
string | readvarlat = 'grid_lat' |
string | readvarlon = 'grid_lon' |
fh1 = Dataset(path1 + file_tplt_befr1 + str(1) + file_tplt_aftr, mode='r') | |
fh2 = Dataset(path2 + file_tplt_befr2 + str(1) + file_tplt_aftr, mode='r') | |
npx = len(fh1.dimensions[xdimvar]) | |
npy = len(fh1.dimensions[ydimvar]) | |
int | npz = 0 |
npxr = npx | |
npyr = npy | |
fr = np.zeros(6*npz*npyr*npxr).reshape(6,npz,npyr,npxr) | |
flat = np.zeros(6*npy*npx).reshape(6,npy,npx) | |
flon = np.zeros(6*npy*npx).reshape(6,npy,npx) | |
string | file_tile1 = file_tplt_befr1 + str(tile+1) + file_tplt_aftr |
string | file_tile2 = file_tplt_befr2 + str(tile+1) + file_tplt_aftr |
string | pathfile1 = path1 + file_tile1 |
string | pathfile2 = path2 + file_tile2 |
f = np.zeros(6*npy*npx).reshape(6,npy,npx) | |
f12 = np.zeros(12*npy*npx).reshape(12,npy,npx) | |
fp = np.zeros(12*npy*npx).reshape(4*npy,3*npx) | |
maxf = np.nanmax(np.abs(fp)) | |
minf = np.nanmin(fp) | |
tuple | incf = (maxf - minf)/101 |
clev = np.arange(minf,maxf+incf,incf) | |
ctic = np.arange(minf,maxf+incf,incf) | |
cmap = plt.cm.seismic | |
string | itit = ' ' |
fig = plt.figure(figsize=(14,8)) | |
cp = plt.contourf(fp,clev,cmap=cmap) | |
cbar = plt.colorbar(cp,ticks=ctic) | |
bbox_inches | |
facecolor | |
PlotCubeSphereField.bbox_inches |
Definition at line 296 of file PlotCubeSphereField.py.
Definition at line 286 of file PlotCubeSphereField.py.
Definition at line 119 of file PlotCubeSphereField.py.
PlotCubeSphereField.cmap = plt.cm.seismic |
Definition at line 125 of file PlotCubeSphereField.py.
Definition at line 285 of file PlotCubeSphereField.py.
Definition at line 122 of file PlotCubeSphereField.py.
int PlotCubeSphereField.cube = 48 |
Definition at line 11 of file PlotCubeSphereField.py.
string PlotCubeSphereField.Dim2dor3d = '3D' |
Definition at line 33 of file PlotCubeSphereField.py.
Definition at line 83 of file PlotCubeSphereField.py.
Definition at line 90 of file PlotCubeSphereField.py.
PlotCubeSphereField.facecolor |
Definition at line 296 of file PlotCubeSphereField.py.
PlotCubeSphereField.fh1 = Dataset(path1 + file_tplt_befr1 + str(1) + file_tplt_aftr, mode='r') |
Definition at line 40 of file PlotCubeSphereField.py.
PlotCubeSphereField.fh2 = Dataset(path2 + file_tplt_befr2 + str(1) + file_tplt_aftr, mode='r') |
Definition at line 41 of file PlotCubeSphereField.py.
PlotCubeSphereField.fig = plt.figure(figsize=(14,8)) |
Definition at line 284 of file PlotCubeSphereField.py.
string PlotCubeSphereField.file_tile1 = file_tplt_befr1 + str(tile+1) + file_tplt_aftr |
Definition at line 67 of file PlotCubeSphereField.py.
string PlotCubeSphereField.file_tile2 = file_tplt_befr2 + str(tile+1) + file_tplt_aftr |
Definition at line 68 of file PlotCubeSphereField.py.
string PlotCubeSphereField.file_tplt_aftr = '.nc' |
Definition at line 16 of file PlotCubeSphereField.py.
string PlotCubeSphereField.file_tplt_befr1 = '20180415.000000.3DVar.fv_core.res.tile' |
Definition at line 15 of file PlotCubeSphereField.py.
string PlotCubeSphereField.file_tplt_befr2 = '20180415.000000.fv_core.res.tile' |
Definition at line 21 of file PlotCubeSphereField.py.
PlotCubeSphereField.filetype = 'png' |
Definition at line 12 of file PlotCubeSphereField.py.
Definition at line 62 of file PlotCubeSphereField.py.
Definition at line 63 of file PlotCubeSphereField.py.
Definition at line 91 of file PlotCubeSphereField.py.
Definition at line 58 of file PlotCubeSphereField.py.
Definition at line 118 of file PlotCubeSphereField.py.
string PlotCubeSphereField.itit = ' ' |
Definition at line 127 of file PlotCubeSphereField.py.
PlotCubeSphereField.maxf = np.nanmax(np.abs(fp)) |
Definition at line 113 of file PlotCubeSphereField.py.
PlotCubeSphereField.minf = np.nanmin(fp) |
Definition at line 114 of file PlotCubeSphereField.py.
string PlotCubeSphereField.model = 'gfs' |
Definition at line 10 of file PlotCubeSphereField.py.
PlotCubeSphereField.npx = len(fh1.dimensions[xdimvar]) |
Definition at line 44 of file PlotCubeSphereField.py.
int PlotCubeSphereField.npxr = npx |
Definition at line 48 of file PlotCubeSphereField.py.
PlotCubeSphereField.npy = len(fh1.dimensions[ydimvar]) |
Definition at line 45 of file PlotCubeSphereField.py.
int PlotCubeSphereField.npyr = npy |
Definition at line 49 of file PlotCubeSphereField.py.
PlotCubeSphereField.npz = 0 |
Definition at line 46 of file PlotCubeSphereField.py.
string PlotCubeSphereField.path1 = './' |
Definition at line 14 of file PlotCubeSphereField.py.
string PlotCubeSphereField.path2 = '../INPUTS/GEOS_c48/' |
Definition at line 20 of file PlotCubeSphereField.py.
string PlotCubeSphereField.pathfile1 = path1 + file_tile1 |
Definition at line 69 of file PlotCubeSphereField.py.
string PlotCubeSphereField.pathfile2 = path2 + file_tile2 |
Definition at line 70 of file PlotCubeSphereField.py.
int PlotCubeSphereField.plot_diff = 1 |
Definition at line 9 of file PlotCubeSphereField.py.
int PlotCubeSphereField.plot_level = 50 |
Definition at line 34 of file PlotCubeSphereField.py.
string PlotCubeSphereField.readvar = 'T' |
Definition at line 32 of file PlotCubeSphereField.py.
string PlotCubeSphereField.readvarlat = 'grid_lat' |
Definition at line 36 of file PlotCubeSphereField.py.
string PlotCubeSphereField.readvarlon = 'grid_lon' |
Definition at line 37 of file PlotCubeSphereField.py.
string PlotCubeSphereField.xdimvar = 'xaxis_1' |
Definition at line 29 of file PlotCubeSphereField.py.
string PlotCubeSphereField.ydimvar = 'yaxis_2' |
Definition at line 30 of file PlotCubeSphereField.py.
string PlotCubeSphereField.zdimvar = 'zaxis_1' |
Definition at line 31 of file PlotCubeSphereField.py.