- 积分
- 8005
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-12-27
- 最后登录
- 1970-1-1
![未绑定新浪微博用户 新浪微博达人勋](source/plugin/sina_login/img/gray.png)
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 小其其格 于 2020-11-6 08:27 编辑
使用WRFV3.6.1版本,三层双向嵌套模拟一个冰雹的case,
d01和d02选用WSM6方案6,d03选Morrison方案10
1、按照https://blog.csdn.net/weixin_34000916/article/details/88148901网址教程快速添加
wrfout输出变量的方法添加了变量,放在WRFV3.6.1/run/的下面的三个iofield_list.txt里:
+:h:0:QHAIL
2、namelist.input的&time_control下面添加:
iofields_filename = "iofield_list_d01.txt", "iofield_list_d02.txt", "iofield_list_d03.txt",
3、namelist.input的&physics 下面打开冰雹的开关:
hail_opt = 1,
最后转出来d03的wrfout里,绘制图像时,提示找不到QHAIL变量,
大神帮忙看看是怎么回事,感激不尽!!!
附上namelist.input
- &time_control
- run_days = 0, &time_control
- run_days = 0,
- run_hours = 24
- run_minutes = 0,
- run_seconds = 0,
- start_year = 2019, 2019, 2019,
- start_month = 03, 03, 03,
- start_day = 20, 20, 20,
- start_hour = 12, 12, 18,
- start_minute = 00, 00, 00,
- start_second = 00, 00, 00,
- end_year = 2019, 2019, 2019,
- end_month = 03, 03, 03,
- end_day = 21, 21, 21,
- end_hour = 12, 12, 06,
- end_minute = 00, 00, 00,
- end_second = 00, 00, 00,
- interval_seconds = 21600
- input_from_file = .true., .true., .true.,
- history_interval = 60, 60, 10,
- frames_per_outfile = 1, 1, 1,
- restart = .false.,
- restart_interval = 5000,
- io_form_history = 2
- io_form_restart = 2
- io_form_input = 2
- io_form_boundary = 2
- debug_level = 0
- !########### add new output variables to wrfout
- iofields_filename = "iofield_list_d01.txt", "iofield_list_d02.txt", "iofield_list_d03.txt", !#在WRFV3/run下面,里面增加了qh(QHAIL)变量的输出
- !#ignore_iofields_warning = .true.,
- !#auxhist0_interval = 60, 60, 10,
- !#frames_per_auxhist0 = 1, 1, 1,
- !#io_form_auxhist0 = 2 !#netCDF format
- /
- &domains
- time_step = 180,
- time_step_fract_num = 0,
- time_step_fract_den = 1,
- max_dom = 3,
- e_we = 130, 214, 322,
- e_sn = 112, 196, 313,
- e_vert = 35, 35, 35,
- p_top_requested = 5000,
- num_metgrid_levels = 32,
- num_metgrid_soil_levels = 4,
- dx = 27000, 9000, 3000,
- dy = 27000, 9000, 3000,
- grid_id = 1, 2, 3,
- parent_id = 1, 1, 2,
- i_parent_start = 1, 30, 80,
- j_parent_start = 1, 24, 25,
- parent_grid_ratio = 1, 3, 3,
- parent_time_step_ratio = 1, 3, 3,
- feedback = 1,
- smooth_option = 0,
- /
- &physics
- mp_physics = 6, 6, 10, !#微物理过程(mp_physics)
- ra_lw_physics = 1, 1, 1, !#长波辐射(ra_lw_physics)
- ra_sw_physics = 1, 1, 1, !#短波辐射(ra_sw_physics)
- radt = 30, 30, 30,!#30, 30, 30,
- sf_sfclay_physics = 1, 1, 1, !#近地面层 (sf_sfclay_physics)
- sf_surface_physics = 2, 2, 2, !#陆面层(sf_surface_physics)
- bl_pbl_physics = 1, 1, 1, !#行星边界层(bl_pbl_physics)
- bldt = 0, 0, 0,
- cu_physics = 1, 1, 0, !#积云参数化(cu_physics)
- cudt = 5, 5, 5,
- isfflx = 1,
- ifsnow = 0,
- icloud = 1,
- surface_input_source = 1,
- num_soil_layers = 4, !#指定陆面模式中的土壤层数,默认值为 5 #5 热量扩散方案 #4 Noah 陆面过程方案 #6 RUC 陆面过程方案
- sf_urban_physics = 0, 0, 0,
- maxiens = 1,
- maxens = 3,
- maxens2 = 3,
- maxens3 = 16,
- ensdim = 144,
- num_land_cat = 20, !number of land categories in input data.
- ! 24 - for USGS (default); 20 for MODIS
- ! 28 - for USGS if including lake category
- ! 21 - for MODIS if including lake category
- hail_opt = 1,!#morrison方案中afwa_hail_opt=1为输出膘默认0输出霰. WRFV3.6.1后变为hail_opt
- /
- &fdda
- /
- &dynamics
- w_damping = 0,
- diff_opt = 1,
- km_opt = 4,
- diff_6th_opt = 0, 0, 0,
- diff_6th_factor = 0.12, 0.12, 0.12,
- base_temp = 290.,
- damp_opt = 0,
- 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,
- /
- &bdy_control
- spec_bdy_width = 5,
- spec_zone = 1,
- relax_zone = 4,
- specified = .true., .false., .false.,
- nested = .false., .true., .true.,
- /
- &grib2
- /
- &namelist_quilt
- nio_tasks_per_group = 0,
- nio_groups = 1,
- /
- run_hours = 24
- run_minutes = 0,
- run_seconds = 0,
- start_year = 2019, 2019, 2019,
- start_month = 03, 03, 03,
- start_day = 20, 20, 20,
- start_hour = 12, 12, 18,
- start_minute = 00, 00, 00,
- start_second = 00, 00, 00,
- end_year = 2019, 2019, 2019,
- end_month = 03, 03, 03,
- end_day = 21, 21, 21,
- end_hour = 12, 12, 06,
- end_minute = 00, 00, 00,
- end_second = 00, 00, 00,
- interval_seconds = 21600
- input_from_file = .true., .true., .true.,
- history_interval = 60, 60, 10,
- frames_per_outfile = 1, 1, 1,
- restart = .false.,
- restart_interval = 5000,
- io_form_history = 2
- io_form_restart = 2
- io_form_input = 2
- io_form_boundary = 2
- debug_level = 0
- !########### add new output variables to wrfout
- iofields_filename = "iofield_list_d01.txt", "iofield_list_d02.txt", "iofield_list_d03.txt", !#在WRFV3/run下面,里面增加了qh(QHAIL)变量的输出
- !#ignore_iofields_warning = .true.,
- !#auxhist0_interval = 60, 60, 10,
- !#frames_per_auxhist0 = 1, 1, 1,
- !#io_form_auxhist0 = 2 !#netCDF format
- /
- &domains
- time_step = 180,
- time_step_fract_num = 0,
- time_step_fract_den = 1,
- max_dom = 3,
- e_we = 130, 214, 322,
- e_sn = 112, 196, 313,
- e_vert = 35, 35, 35,
- p_top_requested = 5000,
- num_metgrid_levels = 32,
- num_metgrid_soil_levels = 4,
- dx = 27000, 9000, 3000,
- dy = 27000, 9000, 3000,
- grid_id = 1, 2, 3,
- parent_id = 1, 1, 2,
- i_parent_start = 1, 30, 80,
- j_parent_start = 1, 24, 25,
- parent_grid_ratio = 1, 3, 3,
- parent_time_step_ratio = 1, 3, 3,
- feedback = 1,
- smooth_option = 0,
- /
- &physics
- mp_physics = 6, 6, 10, !#微物理过程(mp_physics)
- ra_lw_physics = 1, 1, 1, !#长波辐射(ra_lw_physics)
- ra_sw_physics = 1, 1, 1, !#短波辐射(ra_sw_physics)
- radt = 30, 30, 30,!#30, 30, 30,
- sf_sfclay_physics = 1, 1, 1, !#近地面层 (sf_sfclay_physics)
- sf_surface_physics = 2, 2, 2, !#陆面层(sf_surface_physics)
- bl_pbl_physics = 1, 1, 1, !#行星边界层(bl_pbl_physics)
- bldt = 0, 0, 0,
- cu_physics = 1, 1, 0, !#积云参数化(cu_physics)
- cudt = 5, 5, 5,
- isfflx = 1,
- ifsnow = 0,
- icloud = 1,
- surface_input_source = 1,
- num_soil_layers = 4, !#指定陆面模式中的土壤层数,默认值为 5 #5 热量扩散方案 #4 Noah 陆面过程方案 #6 RUC 陆面过程方案
- sf_urban_physics = 0, 0, 0,
- maxiens = 1,
- maxens = 3,
- maxens2 = 3,
- maxens3 = 16,
- ensdim = 144,
- num_land_cat = 20, !number of land categories in input data.
- ! 24 - for USGS (default); 20 for MODIS
- ! 28 - for USGS if including lake category
- ! 21 - for MODIS if including lake category
- hail_opt = 1,!#morrison方案中afwa_hail_opt=1为输出膘默认0输出霰. WRFV3.6.1后变为hail_opt
- /
- &fdda
- /
- &dynamics
- w_damping = 0,
- diff_opt = 1,
- km_opt = 4,
- diff_6th_opt = 0, 0, 0,
- diff_6th_factor = 0.12, 0.12, 0.12,
- base_temp = 290.,
- damp_opt = 0,
- 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,
- /
- &bdy_control
- spec_bdy_width = 5,
- spec_zone = 1,
- relax_zone = 4,
- specified = .true., .false., .false.,
- nested = .false., .true., .true.,
- /
- &grib2
- /
- &namelist_quilt
- nio_tasks_per_group = 0,
- nio_groups = 1,
- /
复制代码
解决办法:hail_opt=1代表hail,默认是0代表graupel
所以我后来在namelist.input里设置hail_opt=1,这时候转出来的QGRAUP就代表冰雹
但是它的名称还是QGRAUP,而不是自己变为QHAIL
|
|