不知楼主的问题解决了没,我用两个ctl文件求距平的时候显示如下图的错误,不知道哪里出了问题
- 'reinit''open f:\Rain2014\Rain2014day.ctl''open f:\RainData\Rain1948-2012mon.ctl''set grads off''set grid off'*'define_colors''set lon 73 135''set lat 18 55''set lev 500''set mpdset cnworld''draw map''set dfile1''pre=0't=152while (t<=182)'set t 't'pre=pre+r.1't=t+1endwhile'set lon 73 135''set lat 18 55''set z 1''set dfile2''mean6=0't=390while (t<=738)'set t 't'mean6=mean6+R.2't=t+1endwhile'set gxout contour''define a=(pre-mean6)''cnbasemap a''draw title sum precipitation in summer 2014'*'gxprint d:\shuju\tu\sumrain.png white'*'reinit';
|