LoginSignup
1
1

More than 5 years have passed since last update.

WRF / WPS > namelistの設定 > e_we=n*parent_grid_ratio+1 for some integer n

Last updated at Posted at 2016-07-29

WRF(Weather Research and Forecasting Model)とその前処理であるWPSの設定ファイル(namelist.*)について。

グリッドの指定をする設定項目 e_we, e_snについて以下のリンク先に制約が記載されている。

For nested domains, e_we and e_sn must be one greater than an interger multiple of the nest's parent_grid_ratio. This is to ensure that a nest always starts and ends on a parent grid point. (i.e., e_we=n*parent_grid_ratio+1 for some integer n).

ネストされたドメインについては以下の設定について関係式e_we=n*parent_grid_ratio+1となるようにしておく必要があるとのこと。

  • parent_grid_ratio
  • e_we

以下の設定があるとする。

&geogrid
 parent_id         =   1, 1,
 parent_grid_ratio =   1, 3,
 i_parent_start    =   1, 24,
 j_parent_start    =   1, 20,
 e_we              =  74, 72
 e_sn              =  61, 61
 geog_data_res     = '10m', '5m',

上記の2つ目のドメインに関しては

e_we(=72) = n * parent_grid_ratio(=3) + 1

という関係式が成り立たない。72 - 1の値は3で割り切れない。

ここでは、e_weは70か73にしないといけなく、ドメインを確認する以下のコマンド

$ncl util/plotgrids_new.ncl 

をnamelist.wpsファイルがある場所で実行すると

(0) Nest does not end on mother grid domain point. Try 70 or 73.

というエラーが出る。

ネストするドメインがネスト親のドメインとポイントが一致するようにするように、とのことのようだ。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1