LoginSignup
0
1

More than 3 years have passed since last update.

2019-10-10 WRF v4.1.1 > ./real.exe > FATAL CALLED FROM FILE: <stdin> LINE: 1284 > num_metgrid_levelsが31層と34層で不整合を起こしている > FNLファイルのサイズが小さかった

Last updated at Posted at 2019-10-10
動作環境
CentOS Linux release 7.7.1908 (Core)

WRF (Weather Research and Forecasting Model)関連。

概要

  • CentOS 7.7 + WRF v4.1.1のシステムを構築中
  • WPSの動作はできたが、WRFの./real.exeにてエラーが出ている

エラーメッセージ

以下はrsl.out.0000の後ろにあるエラー。

 metgrid input_wrf.F first_date_input = 2019-06-20_00:00:00
 metgrid input_wrf.F first_date_nml = 2019-06-14_00:00:00
d01 2019-06-20_00:00:00  input_wrf.F: SIZE MISMATCH:  namelist num_metgrid_levels           =           34
d01 2019-06-20_00:00:00  input_wrf.F: SIZE MISMATCH:  input file BOTTOM-TOP_GRID_DIMENSION  =           31
d01 2019-06-20_00:00:00 ---- ERROR: Mismatch between namelist and input file dimensions
NOTE:       1 namelist vs input data inconsistencies found.
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE:  <stdin>  LINE:    1284
NOTE:  Please check and reset these options
-------------------------------------------

気づいた点

使用しているmet_emファイルのnum_metgrid_levelsの定義が異なる。

$ ncdump  -c met_em.d02.2019-06-20_00\:00\:00.nc | grep num_metgrid
    num_metgrid_levels = 31 ;
    float PRES(Time, num_metgrid_levels, south_north, west_east) ;
    float GHT(Time, num_metgrid_levels, south_north, west_east) ;
    float RH(Time, num_metgrid_levels, south_north, west_east) ;
    float VV(Time, num_metgrid_levels, south_north_stag, west_east) ;
    float UU(Time, num_metgrid_levels, south_north, west_east_stag) ;
    float TT(Time, num_metgrid_levels, south_north, west_east) ;
  • met_em.d02.2019-06-14_00:00:00
    • 34
  • met_em.d02.2019-06-20_00:00:00
    • 31

この差異がエラーを起こしているようだ。

関連

気づいた点 (2019-10-11)

処理を2019-06-21も含めるようにしたところ、2019-06-20のデータだけ層数が31となっていることが分かった。

num_metgrid_levels 

2019-06-14: 34
...
2019-06-19: 34
2019-06-20: 31
2019-06-21: 34

入力データ(気象データ)の層数がおかしいのかもしれない。

原因 (2019-10-11)

WPSの処理で使うFNLデータを見たところ、一つだけサイズが小さい。
FNLのデータ処理に問題があるのだろう。データ提供先に連絡することになる。

fnl_20190619_18_00.grib2: 25526103
fnl_20190620_00_00.grib2: 16400384
fnl_20190620_06_00.grib2: 25653679
fnl_20190620_12_00.grib2: 25512848

データ再取得 (2019-10-11)

データを再取得したところ、fnl_20190620_00_00.grib2のサイズは25465911となった。

WPSで再処理をして、WRFのreal.exeを実行したところ、正常に終了した。

0
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
0
1