Changeset 923 for trunk/UTIL/PYTHON/planetoplot_v2/examples
- Timestamp:
- Mar 31, 2013, 10:18:37 PM (12 years ago)
- Location:
- trunk/UTIL/PYTHON/planetoplot_v2/examples
- Files:
-
- 3 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/examples/aire.py
r921 r923 11 11 tpond.compute = "meanarea" 12 12 tpond.superpose = True 13 tpond.label = "mean with ponderation by mesh area" 13 14 tpond.getplot(extraplot=1) 14 15 … … 17 18 tnormal.compute = "mean" 18 19 tnormal.plotin = tpond 20 tnormal.label = "simple mean (kind of wrong)" 21 tnormal.filename = "aire" 19 22 tnormal.getplot() 20 23 -
trunk/UTIL/PYTHON/planetoplot_v2/examples/anomaly.py
r910 r923 17 17 ## COMPUTE AND PLOT RELATIVE ANOMALY in % 18 18 anomaly = ((simple-mean)/mean)*100. 19 anomaly.filename = "anomaly" 19 20 anomaly.defineplot() 20 21 anomaly.p[0].title = "surface temperature anomaly in %" -
trunk/UTIL/PYTHON/planetoplot_v2/examples/chain_pp.sh
r910 r923 1 1 #! /bin/bash 2 2 3 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc4 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -v v -t 0.5 -z 10.5 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -y 26 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -y 2 -m 1000 -L --7 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -C spectral8 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P ortho9 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P moll10 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P npstere11 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P spstere12 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P cyl -A Tharsis13 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P lcc -A Tharsis14 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P laea -A Tharsis15 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v ps -t 0.5 -z 10. -C jet -A Tropics -P merc16 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -c phisinit -t 0.5 -z 10. -T Yeah -P laea -A Tharsis17 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v ps -t 0.5 -z 10. -C jet -P merc -A Whole_No_High18 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v ps -t 0.5 -z 10. -C jet -P robin3 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc 4 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -v v -t 0.5 -z 10. 5 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -y 2 6 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -y 2 -m 1000 -L -- 7 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -C spectral 8 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P ortho 9 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P moll 10 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P npstere 11 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P spstere 12 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P cyl -A Tharsis 13 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P lcc -A Tharsis 14 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -z 10. -T Yeah -P laea -A Tharsis 15 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v ps -t 0.5 -z 10. -C jet -A Tropics -P merc 16 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -c phisinit -t 0.5 -z 10. -T Yeah -P laea -A Tharsis 17 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v ps -t 0.5 -z 10. -C jet -P merc -A Whole_No_High 18 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v ps -t 0.5 -z 10. -C jet -P robin 19 19 20 ./pp.py -f/home/aymeric/Big_Data/GALE/wrfout_d03_2024-06-09_00\:00\:0021 ./pp.py -f/home/aymeric/Big_Data/GALE/wrfout_d03_2024-06-09_00\:00\:00 -v HGT -B vishires22 ./pp.py -f/home/aymeric/Big_Data/GALE/wrfout_d03_2024-06-09_00\:00\:00 -v HGT -t 1. -B vishires -H 0.523 ./pp.py -f/home/aymeric/Big_Data/GALE/wrfout_d03_2024-06-09_00\:00\:00 -v HGT -t 1. -P ortho -B vishires20 ./pp.py /home/aymeric/Big_Data/GALE/wrfout_d03_2024-06-09_00\:00\:00 21 ./pp.py /home/aymeric/Big_Data/GALE/wrfout_d03_2024-06-09_00\:00\:00 -v HGT -B vishires 22 ./pp.py /home/aymeric/Big_Data/GALE/wrfout_d03_2024-06-09_00\:00\:00 -v HGT -t 1. -B vishires -H 0.5 23 ./pp.py /home/aymeric/Big_Data/GALE/wrfout_d03_2024-06-09_00\:00\:00 -v HGT -t 1. -P ortho -B vishires 24 24 25 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v ps -t 0.5 -z 10. -C jet -P robin26 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -x 10 -C jet -P robin27 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v ps -t 0.5 -z 10. -C jet -P robin -H 0.5 -B vishires25 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v ps -t 0.5 -z 10. -C jet -P robin 26 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v u -t 0.5 -x 10 -C jet -P robin 27 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v ps -t 0.5 -z 10. -C jet -P robin -H 0.5 -B vishires 28 28 29 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -P robin30 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v phisinit -P ortho -I -120.31 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v phisinit -P ortho -I -120. -v phisinit -I 12032 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v phisinit -P ortho -I -120. -v phisinit33 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P robin -I -120. -v icetot -I 120.29 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -P robin 30 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v phisinit -P ortho -I -120. 31 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v phisinit -P ortho -I -120. -v phisinit -I 120 32 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v phisinit -P ortho -I -120. -v phisinit 33 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P robin -I -120. -v icetot -I 120. 34 34 35 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P moll36 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P moll -i u -j v37 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P moll -i u -j v -z 10.38 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P moll -i u -j v -z 10000.39 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P cyl -i u -j v -z 10000. --verbose40 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P cyl -i u -j v -z 10000. -c phisinit41 ./pp.py -f/home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P cyl -z 10000. -c temp35 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P moll 36 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P moll -i u -j v 37 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P moll -i u -j v -z 10. 38 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P moll -i u -j v -z 10000. 39 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P cyl -i u -j v -z 10000. --verbose 40 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P cyl -i u -j v -z 10000. -c phisinit 41 ./pp.py /home/aymeric/Big_Data/DATAPLOT/diagfired.nc -v icetot -t 1. -P cyl -z 10000. -c temp 42 42 43 ./pp.py -fwrfout_d03_2024-06-09_00\:00\:00_z -v tk -c HGT -t 1 -z 0 -P lcc -i Um -j Vm --verbose43 ./pp.py wrfout_d03_2024-06-09_00\:00\:00_z -v tk -c HGT -t 1 -z 0 -P lcc -i Um -j Vm --verbose -
trunk/UTIL/PYTHON/planetoplot_v2/examples/hodograph.py
r910 r923 17 17 # u as a function of v 18 18 hodo = u.f(v) 19 hodo.filename = "hodograph" 19 20 hodo.makeplot() 20 21 -
trunk/UTIL/PYTHON/planetoplot_v2/examples/les_psfc.py
r910 r923 14 14 les.y = None 15 15 les.t = ["10"] 16 #les.stridex = 3 17 #les.stridey = 3 16 les.stridex = 3 17 les.stridey = 3 18 les.filename = "les_psfc" 18 19 les.getplot() -
trunk/UTIL/PYTHON/planetoplot_v2/examples/meso_profile.py
r910 r923 47 47 S.p[0].ylabel="Geopotential height (km)" 48 48 S.p[0].xlabel="Potential temperature (K)" 49 S.filename = "meso_profile" 49 50 50 51 # make the plot -
trunk/UTIL/PYTHON/planetoplot_v2/examples/scatter.py
r910 r923 50 50 S3.p[0].color="k" 51 51 S3.p[0].ylabel="wind speed $\sqrt{u^{2}+v^{2}}$ (m s$^{-1}$)" 52 S3.filename="scatter" 52 53 S3.makeplot() 53 54 -
trunk/UTIL/PYTHON/planetoplot_v2/examples/simple.py
r910 r923 21 21 u.p[0].title = "This is what we name $u$ (m s$^{-1}$)" 22 22 u.p[0].proj = "robin" 23 u.filename = "simple" 23 24 24 25 # we plot … … 28 29 # ... no need to reload data 29 30 u.p[0].colorb = "RdBu" 31 u.filename = "myplot" 30 32 u.makeplot() 31 33 -
trunk/UTIL/PYTHON/planetoplot_v2/examples/vector.py
r910 r923 8 8 u.t = "0.5,0.8" 9 9 u.z = "50000" 10 u.filename = "vector" 10 11 u.get() 11 12 u.defineplot() … … 16 17 17 18 u.z = "50" 19 u.filename = "myplot" 18 20 u.getplot() 19 21 -
trunk/UTIL/PYTHON/planetoplot_v2/examples/vertpress.py
r910 r923 9 9 prof.x = 30 10 10 prof.y = 30 11 prof.filename = "vertpress" 11 12 12 13 prof.get() -
trunk/UTIL/PYTHON/planetoplot_v2/examples/windspeed.py
r910 r923 25 25 wind = wind**0.5 26 26 wind.plotin = v 27 wind.filename = "windspeed" 27 28 wind.defineplot() 28 29 wind.p[2].title = "$\sqrt{u^2+v^2}$ (m s$^{-1}$)" -
trunk/UTIL/PYTHON/planetoplot_v2/examples/zonalcontour.py
r910 r923 8 8 u.x = "0" 9 9 u.t = "0.5" 10 u.filename = "zonalcontour" 10 11 u.get() 11 12 u.defineplot() -
trunk/UTIL/PYTHON/planetoplot_v2/examples/zonalmean.py
r910 r923 21 21 u.y = None 22 22 u.t = "0.5" 23 u.filename = "zonalmean" 23 24 u.get() 24 25 u.defineplot() … … 30 31 ## ZONAL MINIMUM 31 32 u.compute = "min" 33 u.filename = "zonalmin" 32 34 u.get() 33 35 u.defineplot() … … 39 41 ## ZONAL MAXIMUM 40 42 u.compute = "max" 43 u.filename = "myplot" 41 44 u.get() 42 45 u.defineplot()
Note: See TracChangeset
for help on using the changeset viewer.