Freja&Frida 2025-05-04 15:26 采纳率: 0%
浏览 63

运行WRF时namelist.input参数问题

WRF运行real.exe时遇到报错

img

有木有懂wrf的同学可以帮忙看看namelist参数哪里有问题呀啊啊,可偿 (TwT)

 &time_control
 run_days                            = 0,
 run_hours                           = 42,
 run_minutes                         = 0,
 run_seconds                         = 0,
 start_year                          = 2022, 2022, 2022, 
 start_month                         = 08,   08,   08,
 start_day                           = 17,   17,   17,
 start_hour                          = 06,   06,   06,
 start_minute                        = 00,   00,   00,
 start_second                        = 00,   00,   00,
 end_year                            = 2022, 2022, 2022,
 end_month                           = 08,   08,   08,
 end_day                             = 19,   19,   19,
 end_hour                            = 00,   00,   00,
 end_minute                          = 00,   00,   00,
 end_second                          = 00,   00,   00,
 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
 debug_level                         = 0,
 /

 &domains
 time_step                           = 162,
 time_step_fract_num                 = 0,
 time_step_fract_den                 = 1,
 max_dom                             = 3,
 e_we                                = 150,   181,  220,
 e_sn                                = 130,   130,  160,
 e_vert                              = 51,    51,   51,  
 p_top_requested                     = 5000,
 num_metgrid_levels                  = 42,
 num_metgrid_soil_levels             = 4,
 dx                                  = 27000, 9000,  3000,
 dy                                  = 27000, 9000,  3000,
 grid_id                             = 1,     2,    3,
 parent_id                           = 0,     1,    2,
 i_parent_start                      = 1,     40,  70,   
 j_parent_start                      = 1,     40,  50,   
 parent_grid_ratio                   = 1,     3,     3,
 parent_time_step_ratio              = 1,     3,     3,
 feedback                            = 1,
 smooth_option                       = 0,
 /

 &physics
 mp_physics                          = 8,     8,     8,
 ra_lw_physics                       = 4,     4,     4,
 ra_sw_physics                       = 4,     4,     4,
 radt                                = 27,    9,     3,
 sf_sfclay_physics                   = 5,     5,     5,
 sf_surface_physics                  = 4,     4,     4,
 bl_pbl_physics                      = 5,     5,     5,
 mfshconv                            = 0,     0,     0,
 bldt                                = 0,     0,     0,
 cu_physics                          = 11,    11,    0,
 cudt                                = 0,     0,     0,
 ifsnow                              = 0,
 icloud                              = 1,
 num_land_cat                        = 21,
 sf_urban_physics                    = 0,     0,     0,
 /

 &fdda
 /

 &dynamics
 w_damping                           = 0,    0,
 diff_opt                            = 0,      0,
 km_opt                              = 1,      1,
 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.1,  0.05
 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,
 /


  • 写回答

4条回答 默认 最新

  • 阿里嘎多学长 2025-05-04 15:26
    关注

    阿里嘎多学长整理AIGC生成,因移动端显示问题导致当前答案未能完全显示,请使用PC端查看更加详细的解答过程

    WRF namelist.input 参数问题

    你遇到的问题是 WRF 运行 real.exe 时报错,可能是 namelist.input 文件中的参数设置有问题。

    在 namelist.input 文件中,&time_control 部分用于设置模拟的时间控制参数。其中,run_days 参数用于设置模拟的天数。

    如果你想要模拟一个特定的时间段,可以尝试设置 run_days 参数的值。例如,如果你想要模拟 3 天,可以设置 run_days = 3

    另外,你也可以检查 namelist.input 文件中的其他参数,例如 start_dateend_dateinterval_seconds 等,确保它们的设置正确。

    如果你仍然遇到问题,可以提供更多的错误信息和 namelist.input 文件的内容,我可以帮助你更好地 debug。

    评论

报告相同问题?

问题事件

  • 创建了问题 5月4日