|
Last change
on this file since 764 was
207,
checked in by aslmd, 14 years ago
|
|
MESOSCALE: A GENERAL CLEAN-UP FOLLOWING UPDATING THE USER MANUAL. EVERYTHING ESSENTIAL IS IN MESOSCALE (much lighter than before). EVERYTHING FOR DEVELOPPERS OR EXPERTS IS IN MESOSCALE_DEV.
|
-
Property svn:executable set to
*
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | 'reinit' |
|---|
| 2 | 'open sqx.ctl' |
|---|
| 3 | |
|---|
| 4 | 'set display color white' |
|---|
| 5 | 'run rgbset.gs' |
|---|
| 6 | |
|---|
| 7 | say 'Create gif images as well (1=yes ; 0=no)' |
|---|
| 8 | pull ans |
|---|
| 9 | frame = 1 |
|---|
| 10 | |
|---|
| 11 | 'q file' |
|---|
| 12 | rec=sublin(result,5) |
|---|
| 13 | _endtime=subwrd(rec,12) |
|---|
| 14 | |
|---|
| 15 | runscript = 1 |
|---|
| 16 | dis_t = 1 |
|---|
| 17 | |
|---|
| 18 | 'set xlab off' |
|---|
| 19 | 'set ylab off' |
|---|
| 20 | |
|---|
| 21 | while(runscript) |
|---|
| 22 | |
|---|
| 23 | 'set t ' dis_t |
|---|
| 24 | 'q dims' |
|---|
| 25 | rec=sublin(result,5) |
|---|
| 26 | _analysis=subwrd(rec,6) |
|---|
| 27 | |
|---|
| 28 | say 'Time is ' _analysis |
|---|
| 29 | 'c' |
|---|
| 30 | 'set grads off' |
|---|
| 31 | 'set gxout shaded' |
|---|
| 32 | 'd qvapor*1000.0' |
|---|
| 33 | 'set strsiz .2' |
|---|
| 34 | 'set string 1 l 6' |
|---|
| 35 | 'draw string 4.0 8.35 Water Vapor (g/kg)' |
|---|
| 36 | 'set strsiz .15' |
|---|
| 37 | 'set string 1 l 3' |
|---|
| 38 | 'draw string 8.5 8.1 ' _analysis |
|---|
| 39 | 'run cbar.gs' |
|---|
| 40 | if(ans) |
|---|
| 41 | 'printim sqx'frame'.gif gif ' |
|---|
| 42 | frame=frame+1 |
|---|
| 43 | endif |
|---|
| 44 | pull dummy |
|---|
| 45 | 'c' |
|---|
| 46 | 'set grads off' |
|---|
| 47 | 'set gxout shaded' |
|---|
| 48 | 'd qcloud*1000.0' |
|---|
| 49 | 'set gxout contour' |
|---|
| 50 | 'set cmin 0.01' |
|---|
| 51 | 'd qrain*1000.0' |
|---|
| 52 | 'set strsiz .2' |
|---|
| 53 | 'set string 1 l 6' |
|---|
| 54 | 'draw string 4.0.7 8.35 Cloud (color) and rain (g/kg)' |
|---|
| 55 | 'set strsiz .15' |
|---|
| 56 | 'set string 1 l 3' |
|---|
| 57 | 'draw string 8.5 8.1 ' _analysis |
|---|
| 58 | 'run cbar.gs' |
|---|
| 59 | if(ans) |
|---|
| 60 | 'printim sqx'frame'.gif gif ' |
|---|
| 61 | frame=frame+1 |
|---|
| 62 | endif |
|---|
| 63 | pull dummy |
|---|
| 64 | |
|---|
| 65 | if ( dis_t=_endtime ) |
|---|
| 66 | runscript=0 |
|---|
| 67 | endif |
|---|
| 68 | dis_t = dis_t + 1 |
|---|
| 69 | endwhile |
|---|
| 70 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.