登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 krysunder 于 2014-5-4 17:06 编辑
想画500高度+850风场矢量+850急流阴影,结果500上面风场也出来了,郁闷。之前画850风场矢量+850急流阴影是对的,加上500高度就变了
- 'reinit''sdfopen e:\zhao\uwnd.2014.nc' 'sdfopen e:\zhao\vwnd.2014.nc''sdfopen e:\zhao\hgt.2014.nc' 'set mpdset cnworld''set lon 80 125''set lat 0 40''set lev 850't=349while(t<360)'set t 't'set grads off''set grid off''set gxout shaded''set cmin 12''d mag(uwnd.1,vwnd.2)''run cbarn.gs''set gxout barb''d uwnd.1;vwnd.2''set gxout contour''set lev 500''set cint 2''d hgt.3/10''printim e:\zhao\850wind\'%t%'.png white x1000 y800''c't=t+1endwhile'reinit'
自己找到了症结,原来是循环内没设置好lev应该是这样
'reinit'
'sdfopen e:\zhao\uwnd.2014.nc'
'sdfopen e:\zhao\vwnd.2014.nc'
'sdfopen e:\zhao\hgt.2014.nc'
'set mpdset cnworld'
'set lon 80 125'
'set lat 0 40'
t=349
while(t<360)
'set lev 850'
'set t 't
'set grads off'
'set grid off'
'set gxout shaded'
'set cmin 12'
'd mag(uwnd.1,vwnd.2)'
'run cbarn.gs'
'set gxout barb'
'd uwnd.1;vwnd.2'
'set gxout contour'
'set lev 500'
'set cint 2'
'd hgt.3/10'
'printim e:\zhao\850wind\'%t%'.png white x1000 y800'
'c'
t=t+1
endwhile
'reinit'
|