[3684] | 1 | masks="Sibe USA NAtl Arct ter interH oce circA otrop weak subs conv glob etoa" |
---|
| 2 | masks="Sibe USA" |
---|
| 3 | masks="circAa etow etows" |
---|
| 4 | masks="etows" |
---|
| 5 | masks="circA" |
---|
| 6 | |
---|
| 7 | for mask in $masks ; do |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | case $mask in |
---|
| 11 | |
---|
| 12 | oce|ter|otrop|weak|subs|conv|circA|NAtl|Arct|Sibe|USA) |
---|
| 13 | ferret -batch tmp.ps <<eod |
---|
| 14 | use tas.nc |
---|
| 15 | use mask$mask.nc |
---|
| 16 | shade/nolabel/lev=(-Inf)(0) tas[d=1] |
---|
| 17 | shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred mask$mask ; go land thick |
---|
| 18 | quit |
---|
| 19 | eod |
---|
| 20 | ;; |
---|
| 21 | |
---|
| 22 | glob) |
---|
| 23 | ferret -batch tmp.ps <<eod |
---|
| 24 | use tas.nc |
---|
| 25 | shade/lev=(0.)(200.)(Inf)/nolabel/pal=blue_red_centered tas ; go land thick |
---|
| 26 | quit |
---|
| 27 | eod |
---|
| 28 | ;; |
---|
| 29 | |
---|
| 30 | etoa) |
---|
| 31 | ferret -batch tmp.ps <<eod |
---|
| 32 | use tas.nc |
---|
| 33 | use maskotrop.nc |
---|
| 34 | use masketo.nc |
---|
| 35 | shade/nolabel/lev=(-Inf)(0) tas[d=1] |
---|
| 36 | shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=red_blue_centered maskotrop[d=2] |
---|
| 37 | shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred eto[d=3] ; go land thick |
---|
| 38 | quit |
---|
| 39 | eod |
---|
| 40 | ;; |
---|
| 41 | |
---|
| 42 | etow) |
---|
| 43 | ferret -batch tmp.ps <<eod |
---|
| 44 | use tas.nc |
---|
| 45 | use maskweak.nc |
---|
| 46 | use masketo.nc |
---|
| 47 | shade/nolabel/lev=(-Inf)(0) tas[d=1] |
---|
| 48 | shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=red_blue_centered maskweak[d=2] |
---|
| 49 | shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred eto[d=3] ; go land thick |
---|
| 50 | quit |
---|
| 51 | eod |
---|
| 52 | ;; |
---|
| 53 | |
---|
| 54 | etows) |
---|
| 55 | ferret -batch tmp.ps <<eod |
---|
| 56 | use tas.nc |
---|
| 57 | use maskweak.nc |
---|
| 58 | use masksubs.nc |
---|
| 59 | shade/nolabel/lev=(-Inf)(0) tas[d=1] |
---|
| 60 | shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=red_blue_centered maskweak[d=2] |
---|
| 61 | shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred masksubs[d=3] ; go land thick |
---|
| 62 | quit |
---|
| 63 | eod |
---|
| 64 | ;; |
---|
| 65 | |
---|
| 66 | circAa) |
---|
| 67 | ferret -batch tmp.ps <<eod |
---|
| 68 | use tas.nc |
---|
| 69 | use maskotrop.nc |
---|
| 70 | use maskcircA.nc |
---|
| 71 | shade/nolabel/lev=(-Inf)(0) tas[d=1] |
---|
| 72 | shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=red_blue_centered maskotrop[d=2] |
---|
| 73 | shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred maskcircA[d=3] ; go land thick |
---|
| 74 | quit |
---|
| 75 | eod |
---|
| 76 | ;; |
---|
| 77 | |
---|
| 78 | interH) |
---|
| 79 | ferret -batch tmp.ps <<eod |
---|
| 80 | use maskNH.nc |
---|
| 81 | use maskSH.nc |
---|
| 82 | shade/lev=(-Inf)(0.5)(Inf)/nolabel/pal=red_blue_centered maskSH[d=2] |
---|
| 83 | shade/o/lev=(-Inf)(0.5)(Inf)/nolabel/pal=blue_darkred maskNH[d=1] ; go land thick |
---|
| 84 | quit |
---|
| 85 | eod |
---|
| 86 | |
---|
| 87 | esac |
---|
| 88 | |
---|
| 89 | ps2epsi tmp.ps ; epstopdf tmp.epsi |
---|
| 90 | \mv -f tmp.pdf mask$mask.pdf ; convert -density 144 -rotate 90 mask$mask.pdf mask$mask.png |
---|
| 91 | done |
---|
| 92 | |
---|