연구 노트/WRF-Chem-VPRM

WRF Nest start locations do not match

airmaster 2022. 3. 17. 11:05
728x90

2021 1 18일 월요일

오후 4:08

d01 2010-05-16_00:00:00 med_initialdata_input: calling input_input

 i_parent_start from namelist.input file =             4

 i_parent_start from gridded input file  =             1

 j_parent_start from namelist.input file =             7

 j_parent_start from gridded input file  =             1

-------------- FATAL CALLED ---------------

FATAL CALLED FROM FILE:  <stdin>  LINE:     540

Nest start locations do not match: namelist.input vs gridded input file

-------------------------------------------

 

 

 

 

해결

Ncdump 이용해서, global attribute 수정해 줘야 한다.

 

 

http://nco.sourceforge.net/nco.html#ncatted-netCDF-Attribute-Editor

 

 

Ncatted wrfinput_d0X 내의  global attributes  편집 가능하게 한다.  아래처럼

 

 ncatted -a GRID_ID,global,m,i,2 wrfinput_d02

 ncatted -a I_PARENT_START,global,m,i,4 wrfinput_d02

 ncatted -a J_PARENT_START,global,m,i,7 wrfinput_d02

 ncatted -a PARENT_GRID_RATIO,global,m,i,3 wrfinput_d02

 ncatted -a DT,global,m,f,40.0 wrfinput_d02

 ncatted -a PARENT_ID,global,m,i,1 wrfinput_d02

 

ncatted -a GRID_ID,global,m,i,3 wrfinput_d03

 ncatted -a I_PARENT_START,global,m,i,32 wrfinput_d03

 ncatted -a J_PARENT_START,global,m,i,20 wrfinput_d03

 ncatted -a PARENT_GRID_RATIO,global,m,i,3 wrfinput_d03

 ncatted -a DT,global,m,f,13.3333 wrfinput_d03

 ncatted -a PARENT_ID,global,m,i,2 wrfinput_d03

728x90