爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 1503|回复: 2

[图形美化] 求助!批处理gfs预报场资料

[复制链接]

新浪微博达人勋

发表于 2018-6-1 16:44:54 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
QQ截图20180601163713.png QQ截图20180601163652.png QQ截图20180601164117.png

我想将gfs的48小时预报场grib2资料做批处理,!gribmap -v -i  *.ctl > *.txt  命令后生成了.idx文件,但是打开文件缺画不出图,请教大家是怎么回事呢?(后面附了相应的ctl)一共是12天,每天4个时次,很简单的问题就是总出错!一个个文件处理可以出图

dset D:/18baoyu/gfs/ybc/gfs_4_2017%m2%d2_%h200_048.grb2
index D:/18baoyu/gfs/ybc/gfs_4_048.grb2.idx
options template
undef 9.999E+20
title D:/18baoyu/gfs/ybc/gfs_4_20170620_1200_048.grb2
*  produced by g2ctl v0.0.3d
* griddef=1:0:(720 x 361):grid_template=0: lat-lon grid:(720 x 361) units 1e-006 input WE:NS output WE:SN res 48 lat 90.000000 to -90.000000 by 0.500000 lon 0.000000 to 359.500000 by 0.500000 #points=259920

dtype grib2
ydef 361 linear -90.000000 0.5
xdef 720 linear 0.000000 0.500000
tdef 48 linear 00Z22jun2017 6hr
*  z has 31 levels -prs
zdef 31 levels 100000 97500 95000 92500 90000 85000 80000 75000 70000 65000 60000 55000 50000 45000 40000 35000 30000 25000 20000 15000 10000 7000 5000 3000 2000 1000 700 500 300 200 100
options pascals
vars 166
no4LFTXsfc  0,1,0   0,7,193 ** surface none Best (4 layer) Lifted Index [K]
no5WAVH500mb  0,100,50000   0,3,193 ** 500 mb none 5-Wave Geopotential Height [gpm]
ABSVprs   26,100  0,2,10 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100 70 50 30 20 10) none Absolute Vorticity [1/s]
ACPCPsfc  0,1,0   0,1,10,1 ** surface acc Convective Precipitation [kg/m^2]
ALBDOsfc  0,1,0   0,19,1,0 ** surface ave Albedo [%]
APCPsfc  0,1,0   0,1,8,1 ** surface acc Total Precipitation [kg/m^2]
CAPEsfc  0,1,0   0,7,6 ** surface none Convective Available Potential Energy [J/kg]
CAPE180_0mb 0,108,18000,0   0,7,6 ** 180-0 mb above ground none Convective Available Potential Energy [J/kg]
CAPE255_0mb 0,108,25500,0   0,7,6 ** 255-0 mb above ground none Convective Available Potential Energy [J/kg]
CFRZRsfc  0,1,0   0,1,193,0 ** surface ave Categorical Freezing Rain (yes=1; no=0) [non-dim]
CICEPsfc  0,1,0   0,1,194,0 ** surface ave Categorical Ice Pellets (yes=1; no=0) [non-dim]
CINsfc  0,1,0   0,7,7 ** surface none Convective Inhibition [J/kg]
CIN180_0mb 0,108,18000,0   0,7,7 ** 180-0 mb above ground none Convective Inhibition [J/kg]
CIN255_0mb 0,108,25500,0   0,7,7 ** 255-0 mb above ground none Convective Inhibition [J/kg]
CLWMRprs   21,100  0,1,22 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100) none Cloud Mixing Ratio [kg/kg]
CPOFPsfc  0,1,0   0,1,39 ** surface none Percent frozen precipitation [%]
CPRATsfc  0,1,0   0,1,196,0 ** surface ave Convective Precipitation Rate [kg/m^2/s]
CRAINsfc  0,1,0   0,1,192,0 ** surface ave Categorical Rain (yes=1; no=0) [non-dim]
CSNOWsfc  0,1,0   0,1,195,0 ** surface ave Categorical Snow (yes=1; no=0) [non-dim]
CWATclm  0,200,0   0,6,6 ** entire atmosphere (considered as a single layer) none Cloud Water [kg/m^2]
CWORKclm  0,200,0   0,6,193,0 ** entire atmosphere (considered as a single layer) ave Cloud Work Function [J/kg]
DLWRFsfc  0,1,0   0,5,192,0 ** surface ave Downward Long-Wave Rad. Flux [W/m^2]
DPT2m  0,103,2   0,0,6 ** 2 m above ground none Dew Point Temperature [K]
DSWRFsfc  0,1,0   0,4,192,0 ** surface ave Downward Short-Wave Rad. Flux [W/m^2]
FLDCPsfc  0,1,0   2,3,203 ** surface none Field Capacity [fraction]
GFLUXsfc  0,1,0   2,0,193,0 ** surface ave Ground Heat Flux [W/m^2]
GUSTsfc  0,1,0   0,2,22 ** surface none Wind Speed (Gust) [m/s]
HGTsfc  0,1,0   0,3,5 ** surface none Geopotential Height [gpm]
HGTprs   31,100  0,3,5 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100 70 50 30 20 10 7 5 3 2 1) none Geopotential Height [gpm]
HGT2pv  0,109,2e-006   0,3,5 ** PV=2e-006 (Km^2/kg/s) surface none Geopotential Height [gpm]
HGTneg2pv  0,109,-2e-006   0,3,5 ** PV=-2e-006 (Km^2/kg/s) surface none Geopotential Height [gpm]
HGTtop0C  0,204,0   0,3,5 ** highest tropospheric freezing level none Geopotential Height [gpm]
HGT0C  0,4,0   0,3,5 ** 0C isotherm none Geopotential Height [gpm]
HGTmwl  0,6,0   0,3,5 ** max wind none Geopotential Height [gpm]
HGTtrop  0,7,0   0,3,5 ** tropopause none Geopotential Height [gpm]
HLCY3000_0m 0,103,3000,0   0,7,8 ** 3000 m above ground - 0 m above ground none Storm Relative Helicity [m^2/s^2]
HPBLsfc  0,1,0   0,3,196 ** surface none Planetary Boundary Layer Height [m]
ICAHTmwl  0,6,0   0,3,3 ** max wind none ICAO Standard Atmosphere Reference Height [m]
ICAHTtrop  0,7,0   0,3,3 ** tropopause none ICAO Standard Atmosphere Reference Height [m]
ICECsfc  0,1,0   10,2,0 ** surface none Ice Cover [Proportion]
LANDsfc  0,1,0   2,0,0 ** surface none Land Cover (1=land, 0=sea) [Proportion]
LFTXsfc  0,1,0   0,7,192 ** surface none Surface Lifted Index [K]
LHTFLsfc  0,1,0   0,0,10,0 ** surface ave Latent Heat Net Flux [W/m^2]
MSLETmsl  0,101,0   0,3,192 ** mean sea level none MSLP (Eta model reduction) [Pa]
O3MRprs   31,100  0,14,192 ** (400 350 300 250 200 150 100 70 50 30 20 10 7 5 3 2 1) none Ozone Mixing Ratio [kg/kg]
PEVPRsfc  0,1,0   0,1,200 ** surface none Potential Evaporation Rate [W/m^2]
PLPL255_0mb 0,108,25500,0   0,3,200 ** 255-0 mb above ground none Pressure of level from which parcel was lifted [Pa]
POTsig995  0,104,0.995   0,0,2 ** 0.995 sigma level none Potential Temperature [K]
PRATEsfc  0,1,0   0,1,7,0 ** surface ave Precipitation Rate [kg/m^2/s]
PRESsfc  0,1,0   0,3,0 ** surface none Pressure [Pa]
PRES80m  0,103,80   0,3,0 ** 80 m above ground none Pressure [Pa]
PRES2pv  0,109,2e-006   0,3,0 ** PV=2e-006 (Km^2/kg/s) surface none Pressure [Pa]
PRESneg2pv  0,109,-2e-006   0,3,0 ** PV=-2e-006 (Km^2/kg/s) surface none Pressure [Pa]
PRESlclb  0,212,0   0,3,0,0 ** low cloud bottom level ave Pressure [Pa]
PRESlclt  0,213,0   0,3,0,0 ** low cloud top level ave Pressure [Pa]
PRESmclb  0,222,0   0,3,0,0 ** middle cloud bottom level ave Pressure [Pa]
PRESmclt  0,223,0   0,3,0,0 ** middle cloud top level ave Pressure [Pa]
PREShclb  0,232,0   0,3,0,0 ** high cloud bottom level ave Pressure [Pa]
PREShclt  0,233,0   0,3,0,0 ** high cloud top level ave Pressure [Pa]
PREScclb  0,242,0   0,3,0 ** convective cloud bottom level none Pressure [Pa]
PREScclt  0,243,0   0,3,0 ** convective cloud top level none Pressure [Pa]
PRESmwl  0,6,0   0,3,0 ** max wind none Pressure [Pa]
PREStrop  0,7,0   0,3,0 ** tropopause none Pressure [Pa]
PRMSLmsl  0,101,0   0,3,1 ** mean sea level none Pressure Reduced to MSL [Pa]
PWATclm  0,200,0   0,1,3 ** entire atmosphere (considered as a single layer) none Precipitable Water [kg/m^2]
RHprs   31,100  0,1,1 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100 70 50 30 20 10 7 5 3 2 1) none Relative Humidity [%]
RH2m  0,103,2   0,1,1 ** 2 m above ground none Relative Humidity [%]
RHsg330_1000 0,104,0.33,1   0,1,1 ** 0.33-1 sigma layer none Relative Humidity [%]
RHsg440_1000 0,104,0.44,1   0,1,1 ** 0.44-1 sigma layer none Relative Humidity [%]
RHsg720_940 0,104,0.72,0.94   0,1,1 ** 0.72-0.94 sigma layer none Relative Humidity [%]
RHsg440_720 0,104,0.44,0.72   0,1,1 ** 0.44-0.72 sigma layer none Relative Humidity [%]
RHsig995  0,104,0.995   0,1,1 ** 0.995 sigma level none Relative Humidity [%]
RH30_0mb 0,108,3000,0   0,1,1 ** 30-0 mb above ground none Relative Humidity [%]
RHclm  0,200,0   0,1,1 ** entire atmosphere (considered as a single layer) none Relative Humidity [%]
RHtop0C  0,204,0   0,1,1 ** highest tropospheric freezing level none Relative Humidity [%]
RH0C  0,4,0   0,1,1 ** 0C isotherm none Relative Humidity [%]
SHTFLsfc  0,1,0   0,0,11,0 ** surface ave Sensible Heat Net Flux [W/m^2]
SNODsfc  0,1,0   0,1,11 ** surface none Snow Depth [m]
SOILW0_10cm 0,106,0,0.1   2,0,192 ** 0-0.1 m below ground none Volumetric Soil Moisture Content [Fraction]
SOILW10_40cm 0,106,0.1,0.4   2,0,192 ** 0.1-0.4 m below ground none Volumetric Soil Moisture Content [Fraction]
SOILW40_100cm 0,106,0.4,1   2,0,192 ** 0.4-1 m below ground none Volumetric Soil Moisture Content [Fraction]
SOILW100_200cm 0,106,1,2   2,0,192 ** 1-2 m below ground none Volumetric Soil Moisture Content [Fraction]
SPFH2m  0,103,2   0,1,0 ** 2 m above ground none Specific Humidity [kg/kg]
SPFH80m  0,103,80   0,1,0 ** 80 m above ground none Specific Humidity [kg/kg]
SPFH30_0mb 0,108,3000,0   0,1,0 ** 30-0 mb above ground none Specific Humidity [kg/kg]
TCDCl10  0,10,0   0,6,1,0 ** reserved ave Total Cloud Cover [%]
TCDCblcll  0,211,0   0,6,1,0 ** boundary layer cloud layer ave Total Cloud Cover [%]
TCDClcll  0,214,0   0,6,1,0 ** low cloud layer ave Total Cloud Cover [%]
TCDCmcll  0,224,0   0,6,1,0 ** middle cloud layer ave Total Cloud Cover [%]
TCDChcll  0,234,0   0,6,1,0 ** high cloud layer ave Total Cloud Cover [%]
TCDCccll  0,244,0   0,6,1 ** convective cloud layer none Total Cloud Cover [%]
TMAX2m  0,103,2   0,0,4,2 ** 2 m above ground max Maximum Temperature [K]
TMIN2m  0,103,2   0,0,5,3 ** 2 m above ground min Minimum Temperature [K]
TMPsfc  0,1,0   0,0,0 ** surface none Temperature [K]
TMPprs   31,100  0,0,0 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100 70 50 30 20 10 7 5 3 2 1) none Temperature [K]
TMP_1829m  0,102,1829   0,0,0 ** 1829 m above mean sea level none Temperature [K]
TMP_2743m  0,102,2743   0,0,0 ** 2743 m above mean sea level none Temperature [K]
TMP_3658m  0,102,3658   0,0,0 ** 3658 m above mean sea level none Temperature [K]
TMP2m  0,103,2   0,0,0 ** 2 m above ground none Temperature [K]
TMP80m  0,103,80   0,0,0 ** 80 m above ground none Temperature [K]
TMP100m  0,103,100   0,0,0 ** 100 m above ground none Temperature [K]
TMPsig995  0,104,0.995   0,0,0 ** 0.995 sigma level none Temperature [K]
TMP30_0mb 0,108,3000,0   0,0,0 ** 30-0 mb above ground none Temperature [K]
TMP2pv  0,109,2e-006   0,0,0 ** PV=2e-006 (Km^2/kg/s) surface none Temperature [K]
TMPneg2pv  0,109,-2e-006   0,0,0 ** PV=-2e-006 (Km^2/kg/s) surface none Temperature [K]
TMPlclt  0,213,0   0,0,0,0 ** low cloud top level ave Temperature [K]
TMPmclt  0,223,0   0,0,0,0 ** middle cloud top level ave Temperature [K]
TMPhclt  0,233,0   0,0,0,0 ** high cloud top level ave Temperature [K]
TMPmwl  0,6,0   0,0,0 ** max wind none Temperature [K]
TMPtrop  0,7,0   0,0,0 ** tropopause none Temperature [K]
TOZNEclm  0,200,0   0,14,0 ** entire atmosphere (considered as a single layer) none Total Ozone [Dobson]
TSOIL0_10cm 0,106,0,0.1   2,0,2 ** 0-0.1 m below ground none Soil Temperature [K]
TSOIL10_40cm 0,106,0.1,0.4   2,0,2 ** 0.1-0.4 m below ground none Soil Temperature [K]
TSOIL40_100cm 0,106,0.4,1   2,0,2 ** 0.4-1 m below ground none Soil Temperature [K]
TSOIL100_200cm 0,106,1,2   2,0,2 ** 1-2 m below ground none Soil Temperature [K]
UGWDsfc  0,1,0   0,3,194,0 ** surface ave Zonal Flux of Gravity Wave Stress [N/m^2]
UFLXsfc  0,1,0   0,2,17,0 ** surface ave Momentum Flux, U-Component [N/m^2]
UGRDprs   31,100  0,2,2 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100 70 50 30 20 10 7 5 3 2 1) none U-Component of Wind [m/s]
UGRD_1829m  0,102,1829   0,2,2 ** 1829 m above mean sea level none U-Component of Wind [m/s]
UGRD_2743m  0,102,2743   0,2,2 ** 2743 m above mean sea level none U-Component of Wind [m/s]
UGRD_3658m  0,102,3658   0,2,2 ** 3658 m above mean sea level none U-Component of Wind [m/s]
UGRD10m  0,103,10   0,2,2 ** 10 m above ground none U-Component of Wind [m/s]
UGRD80m  0,103,80   0,2,2 ** 80 m above ground none U-Component of Wind [m/s]
UGRD100m  0,103,100   0,2,2 ** 100 m above ground none U-Component of Wind [m/s]
UGRDsig995  0,104,0.995   0,2,2 ** 0.995 sigma level none U-Component of Wind [m/s]
UGRD30_0mb 0,108,3000,0   0,2,2 ** 30-0 mb above ground none U-Component of Wind [m/s]
UGRD2pv  0,109,2e-006   0,2,2 ** PV=2e-006 (Km^2/kg/s) surface none U-Component of Wind [m/s]
UGRDneg2pv  0,109,-2e-006   0,2,2 ** PV=-2e-006 (Km^2/kg/s) surface none U-Component of Wind [m/s]
UGRDpbl  0,220,0   0,2,2 ** planetary boundary layer none U-Component of Wind [m/s]
UGRDmwl  0,6,0   0,2,2 ** max wind none U-Component of Wind [m/s]
UGRDtrop  0,7,0   0,2,2 ** tropopause none U-Component of Wind [m/s]
ULWRFsfc  0,1,0   0,5,193,0 ** surface ave Upward Long-Wave Rad. Flux [W/m^2]
ULWRFtoa  0,8,0   0,5,193,0 ** top of atmosphere ave Upward Long-Wave Rad. Flux [W/m^2]
USTM6000_0m 0,103,6000,0   0,2,194 ** 6000 m above ground - 0 m above ground none U-Component Storm Motion [m/s]
USWRFsfc  0,1,0   0,4,193,0 ** surface ave Upward Short-Wave Rad. Flux [W/m^2]
USWRFtoa  0,8,0   0,4,193,0 ** top of atmosphere ave Upward Short-Wave Rad. Flux [W/m^2]
VGWDsfc  0,1,0   0,3,195,0 ** surface ave Meridional Flux of Gravity Wave Stress [N/m^2]
VFLXsfc  0,1,0   0,2,18,0 ** surface ave Momentum Flux, V-Component [N/m^2]
VGRDprs   31,100  0,2,3 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100 70 50 30 20 10 7 5 3 2 1) none V-Component of Wind [m/s]
VGRD_1829m  0,102,1829   0,2,3 ** 1829 m above mean sea level none V-Component of Wind [m/s]
VGRD_2743m  0,102,2743   0,2,3 ** 2743 m above mean sea level none V-Component of Wind [m/s]
VGRD_3658m  0,102,3658   0,2,3 ** 3658 m above mean sea level none V-Component of Wind [m/s]
VGRD10m  0,103,10   0,2,3 ** 10 m above ground none V-Component of Wind [m/s]
VGRD80m  0,103,80   0,2,3 ** 80 m above ground none V-Component of Wind [m/s]
VGRD100m  0,103,100   0,2,3 ** 100 m above ground none V-Component of Wind [m/s]
VGRDsig995  0,104,0.995   0,2,3 ** 0.995 sigma level none V-Component of Wind [m/s]
VGRD30_0mb 0,108,3000,0   0,2,3 ** 30-0 mb above ground none V-Component of Wind [m/s]
VGRD2pv  0,109,2e-006   0,2,3 ** PV=2e-006 (Km^2/kg/s) surface none V-Component of Wind [m/s]
VGRDneg2pv  0,109,-2e-006   0,2,3 ** PV=-2e-006 (Km^2/kg/s) surface none V-Component of Wind [m/s]
VGRDpbl  0,220,0   0,2,3 ** planetary boundary layer none V-Component of Wind [m/s]
VGRDmwl  0,6,0   0,2,3 ** max wind none V-Component of Wind [m/s]
VGRDtrop  0,7,0   0,2,3 ** tropopause none V-Component of Wind [m/s]
VSTM6000_0m 0,103,6000,0   0,2,195 ** 6000 m above ground - 0 m above ground none V-Component Storm Motion [m/s]
VVELprs   21,100  0,2,8 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100) none Vertical Velocity (Pressure) [Pa/s]
VVELsig995  0,104,0.995   0,2,8 ** 0.995 sigma level none Vertical Velocity (Pressure) [Pa/s]
VWSH2pv  0,109,2e-006   0,2,192 ** PV=2e-006 (Km^2/kg/s) surface none Vertical speed sheer [1/s]
VWSHneg2pv  0,109,-2e-006   0,2,192 ** PV=-2e-006 (Km^2/kg/s) surface none Vertical speed sheer [1/s]
VWSHtrop  0,7,0   0,2,192 ** tropopause none Vertical speed sheer [1/s]
WATRsfc  0,1,0   2,0,5,1 ** surface acc Water Runoff [kg/m^2]
WEASDsfc  0,1,0   0,1,13 ** surface none Water Equivalent of Accumulated Snow Depth [kg/m^2]
WILTsfc  0,1,0   2,0,201 ** surface none Wilting Point [Fraction]
var00212m  0,103,2   0,0,21 ** 2 m above ground none desc [unit]
var019234prs   31,100  0,19,234 ** (1000 950 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100) none desc [unit]
var02224pbl  0,220,0   0,2,224 ** planetary boundary layer none desc [unit]
var06201sfc  0,1,0   0,6,201 ** surface none desc [unit]
var242sfc  0,1,0   2,4,2 ** surface none desc [unit]
ENDVARS


密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-6-1 20:37:25 | 显示全部楼层
更新你的g2ctl.exe,我之前的帖子里分享过。或者把相应的变量后面的说明删掉
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-4-5 11:14:33 | 显示全部楼层
btqxt 发表于 2018-6-1 20:37
更新你的g2ctl.exe,我之前的帖子里分享过。或者把相应的变量后面的说明删掉

果然成功了,拜谢
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表