- 积分
- 26297
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-6-1
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
- ctl说明文件:
- dset G:\jra25\%y4\%m2\fcst_phy2m.%y4%m2%d2%h2
- index G:\jra25\fcst_phy2m.1979_2004.idx
- undef 9.999E+20
- title fcst_phy2m
- dtype grib 255
- options yrev template
- xdef 320 linear 0.0 1.125
- ydef 160 levels
- -89.142 -88.029 -86.911 -85.791 -84.670 -83.549 -82.428 -81.307 -80.185 -79.064
- -77.943 -76.821 -75.700 -74.578 -73.457 -72.336 -71.214 -70.093 -68.971 -67.850
- -66.728 -65.607 -64.485 -63.364 -62.242 -61.121 -60.000 -58.878 -57.757 -56.635
- -55.514 -54.392 -53.271 -52.149 -51.028 -49.906 -48.785 -47.663 -46.542 -45.420
- -44.299 -43.177 -42.056 -40.934 -39.813 -38.691 -37.570 -36.448 -35.327 -34.205
- -33.084 -31.962 -30.841 -29.719 -28.598 -27.476 -26.355 -25.234 -24.112 -22.991
- -21.869 -20.748 -19.626 -18.505 -17.383 -16.262 -15.140 -14.019 -12.897 -11.776
- -10.654 -9.533 -8.411 -7.290 -6.168 -5.047 -3.925 -2.804 -1.682 -0.561
- 0.561 1.682 2.804 3.925 5.047 6.168 7.290 8.411 9.533 10.654
- 11.776 12.897 14.019 15.140 16.262 17.383 18.505 19.626 20.748 21.869
- 22.991 24.112 25.234 26.355 27.476 28.598 29.719 30.841 31.962 33.084
- 34.205 35.327 36.448 37.570 38.691 39.813 40.934 42.056 43.177 44.299
- 45.420 46.542 47.663 48.785 49.906 51.028 52.149 53.271 54.392 55.514
- 56.635 57.757 58.878 60.000 61.121 62.242 63.364 64.485 65.607 66.728
- 67.850 68.971 70.093 71.214 72.336 73.457 74.578 75.700 76.821 77.943
- 79.064 80.185 81.307 82.428 83.549 84.670 85.791 86.911 88.029 89.142
- tdef 37988 linear 00Z01jan1979 6hr
- zdef 1 linear 1 1
- * Level suffix abbreviation: sfc=Surface; col=Total Column; toa=Top of atmosphere
- * Last Column Abbreviation: AC=Accumulation; MN=Time-Mean; SNP=Snap-shot (instantaneous)
- vars 60
- CPRATsfc 0 63,1,0 ** 6-hourly convective precipitation rate [mm/day] AC
- CSDLFsfc 0 163,1,0 ** Clear sky downward long wave flux at surface [W/m^2] MN
- CSDSFsfc 0 161,1,0 ** Clear sky downward solar flux at surface [W/m^2] MN
- CSULFtoa 0 162,8,0 ** Clear sky upward long wave flux at top [W/m^2] MN
- CSUSFsfc 0 160,1,0 ** Clear sky upward solar flux at surface [W/m^2] MN
- CSUSFtoa 0 160,8,0 ** Clear sky upward solar flux at top [W/m^2] MN
- CWATcol 0 76,1,0 ** Total cloud water [kg/m^2] AC
- DISTsfc 0 8,1,0 ** Model surface height [m] SNP
- DLWRFsfc 0 205,1,0 ** Downward long wave radiation flux at surface [W/m^2] MN
- DSWRFsfc 0 204,1,0 ** Downward solar radiation flux at surface [W/m^2] MN
- DSWRFtoa 0 204,8,0 ** Downward solar radiation flux at top [W/m^2] MN
- FGLUsfc 0 147,1,0 ** Zonal momemtum flux by long gravity wave [N/m^2] MN
- FGLVsfc 0 148,1,0 ** Meridional momemtum flux by long gravity wave [N/m^2] MN
- FGSUsfc 0 159,1,0 ** Zonal momemtum flux by short gravity wave [N/m^2] MN
- FGSVsfc 0 154,1,0 ** Meridional momemtum flux by short gravity wave [N/m^2] MN
- FRQCsfc 0 169,1,0 ** Frequency of cumulus precipitation [%]
- FRQPsfc 0 168,1,0 ** Frequency of precipitation [%]
- HCDC 0 75,1,0 ** High level cloud cover [%] MN
- ICECsfc 0 91,1,0 ** Ice concentration (ice=1; no ice=0) [1/0] MN
- LCDC 0 73,1,0 ** Low level cloud cover [%] MN
- LHTFLsfc 0 121,1,0 ** Latent heat flux [W/m^2] MN
- MCDC 0 74,1,0 ** Mid level cloud cover [%] MN
- LPRATsfc 0 62,1,0 ** 6-hourly large-scale precipitation rate [mm/day] AC
- PRESsfc 0 1,1,0 ** Surface pressure [Pa] SNP
- PRMSLmsl 0 2,102,0 ** Mean pressure reduced to MSL [Pa] MN
- PRMXsfc 0 220,1,0 ** Maximum hourly precipitaion [mm/hour]
- PWATcol 0 54,1,0 ** Precipitable water [kg/m^2] SNP
- SPFHMsfc 0 139,1,0 ** Surface specific humidity [kg/kg] MN
- RHsfc 0 52,1,0 ** Surface relative humidity [%] SNP
- SFCRsfc 0 83,1,0 ** Surface roughness [m] SNP
- SHTFLsfc 0 122,1,0 ** Sensible heat flux [W/m^2] MN
- SPFHsfc 0 51,1,0 ** Specific humidity [kg/kg] SNP
- SPFHhbl 0 51,109,1 ** Specific humidity at the lowest model level [kg/kg] SNP
- SRWEQsfc 0 64,1,0 ** 6-hourly snowfall rate water equivalent [kg/m^2/s] AC
- TCDCcol 0 71,1,0 ** Total cloud cover [%] MN
- TMAXsfc 0 15,1,0 ** Surface 2m air maximum temperature [K]
- TMINsfc 0 16,1,0 ** Surface 2m air minimum temperature [K]
- TMPsfc 0 11,1,0 ** Surface 2m air temperature [K] SNP
- TMPhbl 0 11,109,1 ** Temperature at the lowest model level [K] SNP
- TMPMsfc 0 138,1,0 ** Surface 2m air temperature [K] MN
- TTHMcol 0 218,1,0 ** Column total of diabatic heat [W/m^2] MN
- UFLXsfc 0 124,1,0 ** Zonal momentum flux by friction [N/m^2] MN
- UGRDsfc 0 33,1,0 ** Surface 10m zonal wind [m/s] SNP
- UGRDhbl 0 33,109,1 ** Zonal wind at lowest model level [m/s] SNP
- ULWRFsfc 0 212,1,0 ** Upward long wave radiation flux at surface [W/m^2] MN
- ULWRFtoa 0 212,8,0 ** Upward long wave radiation flux at top [W/m^2] MN
- UGRDMsfc 0 136,1,0 ** Surface 10m zonal wind [m/s] MN
- USWRFsfc 0 211,1,0 ** Upward solar radiation at surface [W/m^2] MN
- USWRFtoa 0 211,8,0 ** Upward solar radiation at top [W/m^2] MN
- UWVcol 0 157,1,0 ** Column total of zonal water vapor flux [kg/m/s] MN
- VFLXsfc 0 125,1,0 ** Meridional momentum flux by friction [N/m^2] MN
- VGRDsfc 0 34,1,0 ** Surface 10m meridional wind [m/s] SNP
- VGRDhbl 0 34,109,1 ** Meridional wind at lowest model level [m/s] SNP
- VGRDMsfc 0 137,1,0 ** Surface 10m meridional wind [m/s] MN
- VTUcol 0 200,1,0 ** Column total of TU [K*Pa*m/s] MN
- VTVcol 0 201,1,0 ** Column total of TV [K*Pa*m/s] MN
- VWVcol 0 152,1,0 ** Column total of meridional water vapor flux [Kg/m/s] MN
- WSMXsfc 0 219,1,0 ** Surface 10m maximum surface wind [m/s]
- WSMXhbl 0 219,109,1 ** Maximum surface wind at lowest model level [m/s]
- WTMPsfc 0 80,1,0 ** SST and sea ice surface temperature [K] SNP
- ENDVARS
- * WTMPsfc includes reversed weighted-mean ground and canopy tempereture
- * over land area. Please use GrADS commands like;
- * d abs(WTMPsfc) ---> Effective skin temperature
- * d maskout(WTMPsfc,WTMPsfc) ---> SST and sea ice surface temperature
- 批量读取出图程序:
- 'reinit'
- 'open f:\fcst_phy2m.1979_2004.ctl'
- year=1979
- **设定开始的年
- month=1
- day=1
- hour=00
- t=1
- while(year<2011)
- while(month<13)
- while(day<32)
- while(hour<24)
- if(month<10)
- if(day<10)
- if(hour<10)
- *** 设定输出的字符,输出的格式是4位年+2位月
- aaa=year%0%month%0%day%0%hour
- ***如果月小于10,则在月前加0,保证月是两位
- else
- aaa=year%0%month%0%day%hour
- endif
- else
- aaa=year%0%month%day%hour
- endif
- else
- aaa=year%month%day%hour
- endif
- 'set t 't
- 'set gxout shaded'
- 'set mpdset cnworld'
- 'set grads off'
- **30-36: red (rr%: 0, 600%)
- *'set rgb 30 255 215 225'
- *'set rgb 31 255 190 190'
- *'set rgb 32 255 160 150'
- *'set rgb 33 255 130 115'
- *'set rgb 34 255 100 85'
- *'set rgb 35 255 70 50'
- *'set rgb 36 255 40 0'
- *'set rgb 37 161 1 1'
- *'set rgb 38 121 1 1'
- *'set rgb 39 80 1 1'
- **40-46:green (rr%: 0, 600%)
- *'set rgb 40 225 255 225'
- *'set rgb 41 190 255 190'
- *'set rgb 42 150 255 150'
- *'set rgb 43 115 255 115'
- *'set rgb 44 75 255 75 '
- *'set rgb 45 45 255 45 '
- *'set rgb 46 0 255 0'
- **50-56: blue (rr%: 0,600%)
- *'set rgb 50 200 254 254'
- *'set rgb 51 178 251 254'
- *'set rgb 52 155 242 254'
- *'set rgb 53 130 230 254'
- *'set rgb 54 108 211 254'
- *'set rgb 55 90 191 254'
- *'set rgb 56 70 166 254'
- *'set rgb 57 42 136 254'
- *'set rgb 58 24 105 254'
- *'set rgb 59 0 64 254'
- **40-46: yello (rr%: 0,600%)
- *'set rgb 60 254 254 230'
- *'set rgb 61 254 254 205'
- *'set rgb 62 254 254 180'
- *'set rgb 63 254 253 155'
- *'set rgb 64 254 253 130'
- *'set rgb 65 254 250 105'
- *'set rgb 66 254 240 80'
- *'set rgb 67 254 238 50'
- **50-56:purple (rr%: 0, 600%)
- *'set rgb 70 225 225 255'
- *'set rgb 71 190 190 255'
- *'set rgb 72 150 150 255'
- *'set rgb 73 115 115 255'
- *'set rgb 74 75 75 255'
- *'set rgb 75 45 45 255'
- *'set rgb 76 0 0 255'
- *'set clevs 0.001 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0'
- *'set ccols 0 71 51 54 55 42 45 62 64 66 33 35'
- 'set csmooth on'
- 'd TMAXsfc'
- 'draw title JAR_'%aaa%''
- 'cbarn.gs '
- 'enable print f:\1\JAR_'%aaa%'.gmf'
- 'printim f:\1\JAR_'%aaa%'.png x1600 y1200 white'
- 'print'
- 'disable print'
- 'c'
- t=t+6
- hour=hour+6
- endwhile
- hour=0
- day=day+1
- endwhile
- day=1
- month=month+1
- endwhile
- month=1
- year=year+1
- endwhile
- 'reinit'
复制代码 以上程序仅供抛砖引玉。以前用到的时候写的,水平不是很高,请大家指正
|
评分
-
查看全部评分
|