Last change
on this file since 897 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.1 KB
|
Rev | Line | |
---|
[207] | 1 | 'reinit' |
---|
| 2 | 'open ofs.ctl' |
---|
| 3 | |
---|
| 4 | print_gif = 0 |
---|
| 5 | |
---|
| 6 | 'set display color white' |
---|
| 7 | 'set grads off' |
---|
| 8 | 'clear' |
---|
| 9 | 'set mpdset hires' |
---|
| 10 | 'set gxout shaded' |
---|
| 11 | |
---|
| 12 | 'q file' |
---|
| 13 | rec=sublin(result,6) |
---|
| 14 | _endfieldnr=subwrd(rec,5) + 6 |
---|
| 15 | |
---|
| 16 | 'q ctlinfo' |
---|
| 17 | rec=sublin(result,11) |
---|
| 18 | _t=subwrd(rec,2) |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | ***** Loop through time staring from t |
---|
| 22 | t = 0 |
---|
| 23 | while ( t < _t ) |
---|
| 24 | t = t + 1 |
---|
| 25 | 'set t 't |
---|
| 26 | fieldnr = 7 |
---|
| 27 | |
---|
| 28 | ***** PLOT ALL THE FIELDS |
---|
| 29 | while ( fieldnr < _endfieldnr ) |
---|
| 30 | 'clear' |
---|
| 31 | 'q file' |
---|
| 32 | rec=sublin(result,fieldnr) |
---|
| 33 | say rec |
---|
| 34 | field=subwrd(rec,1) |
---|
| 35 | _levs=subwrd(rec,2) |
---|
| 36 | |
---|
| 37 | current_lev = 0 |
---|
| 38 | if ( _levs = 0 ) |
---|
| 39 | 'clear' |
---|
| 40 | 'd ' field |
---|
| 41 | 'run cbar' |
---|
| 42 | 'draw title ' rec |
---|
| 43 | |
---|
| 44 | if (print_gif = 1) |
---|
| 45 | 'printim 'field'.gif gif' |
---|
| 46 | else |
---|
| 47 | pull dummy |
---|
| 48 | endif |
---|
| 49 | else |
---|
| 50 | while ( current_lev < _levs ) |
---|
| 51 | 'clear' |
---|
| 52 | current_lev = current_lev + 1 |
---|
| 53 | 'set z 'current_lev |
---|
| 54 | 'd ' field |
---|
| 55 | 'run cbar' |
---|
| 56 | 'draw title ' rec ' - lev ' current_lev |
---|
| 57 | |
---|
| 58 | if (print_gif = 1) |
---|
| 59 | 'printim 'field'_'current_lev'.gif gif' |
---|
| 60 | else |
---|
| 61 | pull dummy |
---|
| 62 | endif |
---|
| 63 | endwhile |
---|
| 64 | endif |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | fieldnr = fieldnr + 1 |
---|
| 68 | endwhile |
---|
| 69 | |
---|
| 70 | endwhile |
---|
Note: See
TracBrowser
for help on using the repository browser.