WRF测试用例
镜像和数据都是提前准备好的
镜像包:wrfwps.v422.tgz
镜像:wrfwps:v4.2.2
地理数据包:geog_high_res_mandatory.tar.gz
气象数据包:JAN00_GFS_FNL.tar.gz
测试命令:docker run -ti --rm wrfwps:v4.2.2 -- tcsh -c "script.csh RUN em_real 34 em_real 01 NP=3 ; set OK = \$status ; echo \$OK for test 01"
#本次以下面容器为主
docker run -itd -v /data/wrf/WPS_GEOG:/wrf/WPS_GEOG -v /data/wrf/JAN00:/wrf/JAN00 -v /data/wrf/wps/output:/wrf/WPS/output -v /data/wrf/namelist/namelist.wps:/wrf/WPS/namelist.wps -v /data/wrf/namelist/namelist.input:/wrf/WRF/run/namelist.input --security-opt seccomp:unconfined --name test_002 wrfwps:v4.2.2 bash
WPS部分
WPS为WRF前处理部分
namelist.wps主要是处理WPS是WRF的前处理部分,包含3个程序
1. geogrid.exe:处理下载的地理数据
2. ungrib.exe:处理网格气象数据
3. metgrid.exe:将ungrib中处理的气象数据水平插值到网格中
namelist.wps文件内容,资料参考参数说明
&share
wrf_core = 'ARW', (表示调用的是ARW这个核)
max_dom = 2, (表示两层嵌套)
start_date = '2006-08-16_12:00:00','2006-08-16_12:00:00', (模式开始运行时刻)
end_date = '2006-08-16_18:00:00','2006-08-16_12:00:00', (模式终止运行时刻)
interval_seconds = 21600, (输入气象数据的时间间隔,单位s,这里表示6h)
io_form_geogrid = 2, (一般均设置为2,表示netCDF格式)
opt_output_from_geogrid_path = '../output/', !(这个参数是可选的,表示生成地形数据geo_em.d01.nc等的存放位置,默认放在WPS目录下。为了防止WPS目录下文件太多,我在外面新建了一个output目录来存储WPS中输出的内容)
debug_level = 0, (常规设置为0即可)/
&geogr
idparent_id = 1, 1, (每个域的父域的编号,第1个域均设置为1)
parent_grid_ratio = 1, 5, (相对于父域的空间嵌套比率,第1个域为1,其余的官方推荐设为3或5)
i_parent_start = 1, 44, (在其父域中左下角的x坐标。同理第一个域为1)
j_parent_start = 1, 11, (在其父域中左下角的y坐标。同理第一个域为1)
e_we = 90, 91, (每个域的东西向维度)
e_sn = 50, 91, (每个域的南北向维度)
geog_data_res = '10m','5m', (模型中要使用的地形数据的分辨率,然后会插值到网格点上。可选择的值分别为:10m、5m、2m、30s)
dx = 50000, (x 方向的网格空间分辨率,只用设置第一层,如果有多个domain会根据parent_grid_ratio进行换算)
dy = 50000, (同理,y 方向的网格空间分辨率)
map_proj = 'lambert', (投影类型,可选择:'lambert'、'polar'、'mercator'、'lat-lon')
ref_lat = 42.9, (最外层domain中心纬度值,再加上网格数和网格间距就可以确定了模拟区域)
ref_lon = 110.0, (同理,最外层domain中心经度值)
truelat1 = 30.0, (真实纬度,与投影方式有关,与投影方式有关)
truelat2 = 60.0, (同上)
stand_lon = 110.0, (标准经度,实际图形以这条轴来展开,一般设置与ref_lon相同)
geog_data_path = '/home/lisi/wrf/data/geog/', (地理数据存放位置)/
&ungrib
out_format = 'WPS', (一般均设为'WPS')
prefix = '../output/FILE', (设置输出文件路径和前缀,其中'../output/'为存储位置,表示将输出的气象数据文件放到../output/这个目录下;'FILE'表示文件名的前缀,即输出的气象数据文件名类似于'FILExxxx')/
&metgrid
fg_name = '../output/FILE', (对应了ungrib部分中的prefix参数)
io_form_metgrid = 2, (最终输出文件(met_em*.nc)的格式,一般设置为2(netcdf)即可)
opt_output_from_metgrid_path = '../output/', (输出文件的位置)/
WRF部分
WRF包含2个程序
1. real.exe:气象场的垂直插值、生成初始条件和边界条件、一致性检查
2. wrf.exe :模式运行,生成wrfout文件
namelist.input文件
namelist.input参数解析参考http://blog.sina.com.cn/s/blog_68491d0501012xgf.html
&time_control
run_days = 0,
run_hours = 12,
run_minutes = 0,
run_seconds = 0,
start_year = 2000, 2000, 2000,
start_month = 01, 01, 01,
start_day = 24, 24, 24,
start_hour = 12, 12, 12,
end_year = 2000, 2000, 2000,
end_month = 01, 01, 01,
end_day = 25, 25, 25,
end_hour = 12, 12, 12,
interval_seconds = 21600
input_from_file = .true.,.true.,.true.,
history_interval = 180, 60, 60,
frames_per_outfile = 1000, 1000, 1000,
restart = .false.,
restart_interval = 7200,
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
/
&domains
time_step = 180,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 1,
e_we = 74, 112, 94,
e_sn = 61, 97, 91,
e_vert = 33, 33, 33,
p_top_requested = 5000,
num_metgrid_levels = 32,
num_metgrid_soil_levels = 4,
dx = 30000,
dy = 30000,
grid_id = 1, 2, 3,
parent_id = 0, 1, 2,
i_parent_start = 1, 31, 30,
j_parent_start = 1, 17, 30,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 1,
smooth_option = 0
sfcp_to_sfcp = .true.
/
&physics
physics_suite = 'CONUS'
mp_physics = -1, -1, -1,
cu_physics = -1, -1, 0,
ra_lw_physics = -1, -1, -1,
ra_sw_physics = -1, -1, -1,
bl_pbl_physics = -1, -1, -1,
sf_sfclay_physics = -1, -1, -1,
sf_surface_physics = -1, -1, -1,
radt = 30, 30, 30,
bldt = 0, 0, 0,
cudt = 5, 5, 5,
icloud = 1,
num_land_cat = 21,
sf_urban_physics = 0, 0, 0,
/
&fdda
/
&dynamics
hybrid_opt = 2,
w_damping = 0,
diff_opt = 1, 1, 1,
km_opt = 4, 4, 4,
diff_6th_opt = 0, 0, 0,
diff_6th_factor = 0.12, 0.12, 0.12,
base_temp = 290.
damp_opt = 3,
zdamp = 5000., 5000., 5000.,
dampcoef = 0.2, 0.2, 0.2
khdif = 0, 0, 0,
kvdif = 0, 0, 0,
non_hydrostatic = .true., .true., .true.,
moist_adv_opt = 1, 1, 1,
scalar_adv_opt = 1, 1, 1,
gwd_opt = 1, 1, 0,
/
&bdy_control
spec_bdy_width = 5,
specified = .true.
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
WRF测试步骤
docker run -itd -v /data/wrf/WPS_GEOG:/wrf/WPS_GEOG -v /data/wrf/JAN00:/wrf/JAN00 -v /data/wrf/wps/output:/wrf/WPS/output -v /data/wrf/namelist/namelist.wps:/wrf/WPS/namelist.wps -v /data/wrf/namelist/namelist.input:/wrf/WRF/run/namelist.input --security-opt seccomp:unconfined --name test_002 wrfwps:v4.2.2 bash
1. WPS前处理步骤
WPS阶段对地理数据和气象数据进行处理输出成包含地理数据和气象数据的文件
namelist.wps文件配置
&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '2006-08-16_12:00:00','2006-08-16_12:00:00',
end_date = '2006-08-16_18:00:00','2006-08-16_12:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
opt_output_from_geogrid_path = '/wrf/WPS/output/', #指定3个程序中间文件路径
/
&geogrid
parent_id = 1, 1,
parent_grid_ratio = 1, 3,
i_parent_start = 1, 31,
j_parent_start = 1, 17,
e_we = 74, 112,
e_sn = 61, 97,
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!
! The default datasets used to produce the MAXSNOALB and ALBEDO12M
! fields have changed in WPS v4.0. These fields are now interpolated
! from MODIS-based datasets.
!
! To match the output given by the default namelist.wps in WPS v3.9.1,
! the following setting for geog_data_res may be used:
!
! geog_data_res = 'maxsnowalb_ncep+albedo_ncep+default', 'maxsnowalb_ncep+albedo_ncep+default',
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
geog_data_res = 'default','default',
dx = 30000,
dy = 30000,
map_proj = 'lambert',
ref_lat = 34.83,
ref_lon = -81.03,
truelat1 = 30.0,
truelat2 = 60.0,
stand_lon = -98.0,
geog_data_path = '/wrf/WPS_GEOG/' #挂在的静态地理文件路径
/
&ungrib
out_format = 'WPS',
prefix = '/wrf/WPS/output/FILE', #ungrib生成中间文件路径和命名前缀
/
&metgrid
fg_name = '/wrf/WPS/output/FILE' #中间文件路径和命名前缀,这里指定的是ungrib的中间文件参数为prefix
io_form_metgrid = 2,
opt_output_from_metgrid_path = '/wrf/WRF/run', #metgrid产生的文件路径,后续需要将这些生产文件copy或者软连接到WRF/run目录下,所以这里直接生成到该目录下
/
进行步骤
[root@tcnp-node01-1 ~]# docker ps|grep test
781d100de9c4 wrfwps:v4.2.2 "/usr/bin/entrypoint…" 2 hours ago Up About an hour test_002
e2da7bfd69ba wrfwps:v4.2.2 "/usr/bin/entrypoint…" 28 hours ago Up 28 hours test_001
[root@tcnp-node01-1 ~]# docker exec -it 781d100de9c4 bash
bash-4.2$
# 1. geogrid部分部分
数据下载链接:https://www2.mmm.ucar.edu/wrf/src/wps_files/geog_high_res_mandatory.tar.gz
bash-4.2$ ls
README clean configure geogrid link_grib.csh metgrid.exe namelist.wps.all_options namelist.wps.global ungrib util
arch compile configure.wps geogrid.exe metgrid namelist.wps namelist.wps.fire namelist.wps.nmm ungrib.exe
bash-4.2$ pwd
/wrf/WPS
1. bash-4.2$ ./geogrid.exe
地理数据已经挂载到容器里
生成文件的路径namelist.wps中&share中指定
&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '2006-08-16_12:00:00','2006-08-16_12:00:00',
end_date = '2006-08-16_18:00:00','2006-08-16_12:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
opt_output_from_geogrid_path = '/wrf/WPS/output/', #指定3个程序中间文件路径
/
查看文件是否生成,类似于geo_em.d01.nc
bash-4.2$ ls
geo_em.d01.nc geo_em.d02.nc
bash-4.2$ pwd
/wrf/WPS/output
bash-4.2$
可以查看日志:tail geogrid.log
# 2. ungrib部分
数据下载链接:https://www2.mmm.ucar.edu/wrf/users/download/free_data.html
启动容器先修改namelist.wps,安气象数据的时间进行修改
start_date = '2000-01-24_12:00:00','2000-01-24_12:00:00',
end_date = '2000-01-25_12:00:00','2000-01-25_12:00:00',
气象数据已经挂载到容器里
bash-4.2$ pwd
/wrf/WPS
bash-4.2$ ./util/g1print.exe ../JAN00/fnl_20000124_12_00.grib1
1. 链接Vtable(依据不同的数据连接不同Vtable)
bash-4.2$ ls
README clean configure geogrid link_grib.csh metgrid.exe namelist.wps.all_options namelist.wps.global ungrib util
arch compile configure.wps geogrid.exe metgrid namelist.wps namelist.wps.fire namelist.wps.nmm ungrib.exe
bash-4.2$ ls ungrib
Makefile README_LIBS Variable_Tables g1print.exe g2print.exe src ungrib.exe
bash-4.2$ ls ungrib/Variable_Tables
README Vtable.ARW.UPP Vtable.ECMWF Vtable.GFSENS Vtable.NCEP2 Vtable.RAP.pressure.ncep Vtable.TCRP
Vtable.AFWAICE Vtable.ARWp.UPP Vtable.ECMWF_sigma Vtable.GODAS Vtable.NNRP Vtable.RAP.sigma.gsd Vtable.UKMO_ENDGame
Vtable.AGRMETSNOW Vtable.AVN0P5WRF Vtable.ERA-interim.ml Vtable.GSM Vtable.NOGAPS Vtable.RUCb Vtable.UKMO_LANDSEA
Vtable.AGRMETSOIL Vtable.AWIP Vtable.ERA-interim.pl Vtable.JMAGSM Vtable.NOGAPS_needs_GFS_soil Vtable.RUCp Vtable.UKMO_no_heights
Vtable.AGRMETSOIL2 Vtable.CFSR Vtable.GFDL Vtable.NAM Vtable.NavySST Vtable.SREF Vtable.raphrrr
Vtable.AGRWRF Vtable.CFSR_mean Vtable.GFS Vtable.NARR Vtable.RAP.hybrid.ncep Vtable.SST
bash-4.2$
示例:GFS数据
bash-4.2$ pwd
/wrf/WPS
bash-4.2$ ln -sf ungrib/Variable_Tables/Vtable.GFS Vtable #链接Vtable
2. 将GRIB气象文件链接到WPS目录下
bash-4.2$ ls
README clean configure geogrid link_grib.csh metgrid.exe namelist.wps.all_options namelist.wps.global ungrib util
arch compile configure.wps geogrid.exe metgrid namelist.wps namelist.wps.fire namelist.wps.nmm ungrib.exe
bash-4.2$ pwd
/wrf/WPS
bash-4.2$ ./link_grib.csh /wrf/JAN00/fnl_2000012* #下载的GRIB气象文件
bash-4.2$ ls
GRIBFILE.AAA GRIBFILE.AAD GRIBFILE.AAG arch configure geogrid.exe metgrid namelist.wps.all_options namelist.wps.nmm ungrib.exe
GRIBFILE.AAB GRIBFILE.AAE README clean configure.wps geogrid.log metgrid.exe namelist.wps.fire output util
GRIBFILE.AAC GRIBFILE.AAF Vtable compile geogrid link_grib.csh namelist.wps namelist.wps.global ungrib
bash-4.2$
#生成GRIBFILE.AAA GRIBFILE.AAD GRIBFILE.AAG文件
3. 运行ungrib.exe
bash-4.2$ ls
README clean configure geogrid link_grib.csh metgrid.exe namelist.wps.all_options namelist.wps.global ungrib util
arch compile configure.wps geogrid.exe metgrid namelist.wps namelist.wps.fire namelist.wps.nmm ungrib.exe
bash-4.2$ pwd
/wrf/WPS
bash-4.2$ ./ungrib.exe
bash-4.2$ ls ./output/
FILE:2000-01-24_12 FILE:2000-01-24_18 FILE:2000-01-25_00 FILE:2000-01-25_06 FILE:2000-01-25_12 geo_em.d01.nc geo_em.d02.nc
bash-4.2$ pwd
/wrf/WPS
bash-4.2$
#生成文件FILE:2000-01-24_12 FILE:2000-01-24_18 FILE:2000-01-25_00 FILE:2000-01-25_06 FILE:2000-01-25_12
运行成功会出现文件,文件前缀在namelist.wps中设置
&ungrib
out_format = 'WPS',
prefix = '/wrf/WPS/output/FILE', #ungrib生成中间文件路径和命名前缀
/
可以查看日志:tail ungrib.log
# 3. metgrid部分
将中间文件中的数据水平插值到网格点上,生成met_em*文件
bash-4.2$ pwd
/wrf/WPS
bash-4.2$ ls
README clean configure geogrid link_grib.csh metgrid.exe namelist.wps.all_options namelist.wps.global ungrib util
arch compile configure.wps geogrid.exe metgrid namelist.wps namelist.wps.fire namelist.wps.nmm ungrib.exe
bash-4.2$ ./metgrid.exe
生产类似met_em.d01.2016-01-01_00:00:00.nc文件
文件输出路径可以在namelist.wps指定
&metgrid
fg_name = '/wrf/WPS/output/FILE' #中间文件路径和命名前缀,这里指定的是ungrib的中间文件参数为prefix
io_form_metgrid = 2,
opt_output_from_metgrid_path = '/wrf/WRF/run', #metgrid生产生的文件路径,后续需要将这些生产文件copy或者软连接到WRF/run目录下,所以这里直接生成到该目录下
/
bash-4.2$ ls
BROADBAND_CLOUD_GODDARD.bin ETAMPNEW_DATA SOILPARM.TBL_Kishne_2017 ishmael-gamma-tab.bin ndown.exe
CAM_ABS_DATA ETAMPNEW_DATA.expanded_rain URBPARM.TBL ishmael-qi-qc.bin ozone.formatted
CAM_AEROPT_DATA ETAMPNEW_DATA.expanded_rain_DBL URBPARM_UZE.TBL ishmael-qi-qr.bin ozone_lat.formatted
CAMtr_volume_mixing_ratio.A1B ETAMPNEW_DATA_DBL VEGPARM.TBL kernels.asc_s_0_03_0_9 ozone_plev.formatted
CAMtr_volume_mixing_ratio.A2 GENPARM.TBL aerosol.formatted kernels_z.asc p3_lookup_table_1.dat-v4.1
CAMtr_volume_mixing_ratio.RCP4.5 HLC.TBL aerosol_lat.formatted masses.asc p3_lookup_table_2.dat-v4.1
CAMtr_volume_mixing_ratio.RCP6 LANDUSE.TBL aerosol_lon.formatted met_em.d01.2000-01-24_12:00:00.nc real.exe
CAMtr_volume_mixing_ratio.RCP8.5 MPTABLE.TBL aerosol_plev.formatted met_em.d01.2000-01-24_18:00:00.nc tc.exe
CCN_ACTIVATE.BIN README.namelist bulkdens.asc_s_0_03_0_9 met_em.d01.2000-01-25_00:00:00.nc termvels.asc
CLM_ALB_ICE_DFS_DATA README.rasm_diag bulkradii.asc_s_0_03_0_9 met_em.d01.2000-01-25_06:00:00.nc tr49t67
CLM_ALB_ICE_DRC_DATA README.tslist capacity.asc met_em.d01.2000-01-25_12:00:00.nc tr49t85
CLM_ASM_ICE_DFS_DATA RRTMG_LW_DATA co2_trans met_em.d02.2000-01-24_12:00:00.nc tr67t85
CLM_ASM_ICE_DRC_DATA RRTMG_LW_DATA_DBL coeff_p.asc met_em.d02.2000-01-24_18:00:00.nc wind-turbine-1.tbl
CLM_DRDSDT0_DATA RRTMG_SW_DATA coeff_q.asc met_em.d02.2000-01-25_00:00:00.nc wrf.exe
CLM_EXT_ICE_DFS_DATA RRTMG_SW_DATA_DBL constants.asc met_em.d02.2000-01-25_06:00:00.nc
CLM_EXT_ICE_DRC_DATA RRTM_DATA create_p3_lookupTable_1.f90 met_em.d02.2000-01-25_12:00:00.nc
CLM_KAPPA_DATA RRTM_DATA_DBL grib2map.tbl namelist.input
CLM_TAU_DATA SOILPARM.TBL gribmap.txt namelist.input.backup.2021-02-22_06_31_35
bash-4.2$ pwd
/wrf/WRF/run
bash-4.2$
#会在指定的目录生成met_em.d0x的文件
2. WRF处理阶段
namelist.input中的参数使其保持一致bash-4.2$ pwd
/wrf/WRF/run
bash-4.2$
1. 将WPS生成的met_em文件链接(ln)或拷贝(cp)到运行目录下(WRF/run该目录下)
WRF/test/em_real或WRF/run,这两个目录相同
ln -sf path_to_met_em_files/met_em.d0* .
#说明:在wps中metgrid.exe程序生产的文件路径已经指定到该目录下,所有这步不需要做
2. 运行real.exe
bash-4.2$ pwd
/wrf/WRF/run
bash-4.2$ ./real.exe
成功后会生成wrfbdy_d01 , wrfinput_d01两个文件
执行出错
bash-4.2$ tail rsl.out.0000
input files : NUM_METGRID_SOIL_LEVELS = 2 (from met_em files).
d01 2000-01-24_12:00:00 ---- ERROR: Mismatch between namelist and global attribute NUM_METGRID_SOIL_LEVELS
d01 2000-01-24_12:00:00 input_wrf.F: SIZE MISMATCH: namelist num_metgrid_levels = 32
d01 2000-01-24_12:00:00 input_wrf.F: SIZE MISMATCH: input file BOTTOM-TOP_GRID_DIMENSION = 27
d01 2000-01-24_12:00:00 ---- ERROR: Mismatch between namelist and input file dimensions
NOTE: 2 namelist vs input data inconsistencies found.
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 1299
NOTE: Please check and reset these options
#出现上面参数不一致错误,调整namelist.input中的参数使其保持一致
#docker stop 容器
#docker start 容器 重新加载配置文件
bash-4.2$ tail rsl.out.0000
metgrid input_wrf.F first_date_input = 2000-01-24_12:00:00
metgrid input_wrf.F first_date_nml = 2000-01-24_12:00:00
d01 2000-01-24_12:00:00 Timing for input 0 s.
d01 2000-01-24_12:00:00 flag_soil_layers read from met_em file is 1
Max map factor in domain 1 = 1.03. Scale the dt in the model accordingly.
ERROR in psfc: flag_psfc = 1, flag_soilhgt = 1, flag_slp = 0, sfcp_to_sfcp = F
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 1405
not enough info for a p sfc computation
-------------------------------------------
bash-4.2$ exit
#在namelist.input文件的“domains”部分添加下面这一条即可sfcp_to_sfcp = .true.
#docker stop 容器
#docker start 容器 重新加载配置文件
执行成功
bash-4.2$ ./real.exe
starting wrf task 0 of 1
bash-4.2$ pwd
/wrf/WRF/run
bash-4.2$ ls
wrfbdy_d01 wrfinput_d01
目录下会出现这两个文件
3. 运行运行wrf.exe,这个是时间比较长
bash-4.2$ pwd
/wrf/WRF/run
bash-4.2$ ./wrf.exe
建议使用后台执行:nohup ./wrf.exe &
bash-4.2$ ls
bash-4.2$ ls
BROADBAND_CLOUD_GODDARD.bin LANDUSE.TBL coeff_p.asc namelist.input.backup.2021-02-22_06_31_35
CAM_ABS_DATA MPTABLE.TBL coeff_q.asc namelist.output
CAM_AEROPT_DATA README.namelist constants.asc ndown.exe
CAMtr_volume_mixing_ratio.A1B README.rasm_diag create_p3_lookupTable_1.f90 ozone.formatted
CAMtr_volume_mixing_ratio.A2 README.tslist freezeH2O.dat ozone_lat.formatted
CAMtr_volume_mixing_ratio.RCP4.5 RRTMG_LW_DATA grib2map.tbl ozone_plev.formatted
CAMtr_volume_mixing_ratio.RCP6 RRTMG_LW_DATA_DBL gribmap.txt p3_lookup_table_1.dat-v4.1
CAMtr_volume_mixing_ratio.RCP8.5 RRTMG_SW_DATA ishmael-gamma-tab.bin p3_lookup_table_2.dat-v4.1
CCN_ACTIVATE.BIN RRTMG_SW_DATA_DBL ishmael-qi-qc.bin qr_acr_qgV2.dat
CLM_ALB_ICE_DFS_DATA RRTM_DATA ishmael-qi-qr.bin qr_acr_qsV2.dat
CLM_ALB_ICE_DRC_DATA RRTM_DATA_DBL kernels.asc_s_0_03_0_9 real.exe
CLM_ASM_ICE_DFS_DATA SOILPARM.TBL kernels_z.asc rsl.error.0000
CLM_ASM_ICE_DRC_DATA SOILPARM.TBL_Kishne_2017 masses.asc rsl.out.0000
CLM_DRDSDT0_DATA URBPARM.TBL met_em.d01.2000-01-24_12:00:00.nc tc.exe
CLM_EXT_ICE_DFS_DATA URBPARM_UZE.TBL met_em.d01.2000-01-24_18:00:00.nc termvels.asc
CLM_EXT_ICE_DRC_DATA VEGPARM.TBL met_em.d01.2000-01-25_00:00:00.nc tr49t67
CLM_KAPPA_DATA aerosol.formatted met_em.d01.2000-01-25_06:00:00.nc tr49t85
CLM_TAU_DATA aerosol_lat.formatted met_em.d01.2000-01-25_12:00:00.nc tr67t85
ETAMPNEW_DATA aerosol_lon.formatted met_em.d02.2000-01-24_12:00:00.nc wind-turbine-1.tbl
ETAMPNEW_DATA.expanded_rain aerosol_plev.formatted met_em.d02.2000-01-24_18:00:00.nc wrf.exe
ETAMPNEW_DATA.expanded_rain_DBL bulkdens.asc_s_0_03_0_9 met_em.d02.2000-01-25_00:00:00.nc wrfbdy_d01
ETAMPNEW_DATA_DBL bulkradii.asc_s_0_03_0_9 met_em.d02.2000-01-25_06:00:00.nc wrfinput_d01
GENPARM.TBL capacity.asc met_em.d02.2000-01-25_12:00:00.nc wrfout_d01_2000-01-24_12:00:00
HLC.TBL co2_trans namelist.input
其中最终会生产wrfout_d01_2000-01-24_12:00:00文件
rfout_d01_开始时间
注意部分
eogrid.exe、metgrid.exe、real.exe、wrf.exe都支持并行运行(ungrib.exe不支持),如果安装了并行库(MPI),并在安装时选择了dmpar选项,可以调用多个CPU来加快运行,命令如下:
mpirun -np 8 ./wrf.exe
在这里调用了8个CPU来运行,如果再将任务提交到后台,则命令如下:
nohup mpirun -np 8 ./wrf.exe &
版权声明:本文为weixin_42507440原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。