hello everyone.
I tried convert WRF file to arl. again.
and I got some error message. again..
I ran it on the commend, and I modified my arw2arl.f
/home/doyoon/work/hysplit_6/exec/arw2arl -i/home/doyoon/work/meteorology/wrf_vol/20150501/wrfout_d02.nc -o/home/doyoon/work/meteorology/wrf2arl_vol/wrf2arl_20150501.bin
DELT=0.0
DO n=1,ntp
IF(diag) WRITE(*,*)'xmin=',xmin(n),' ',tvar(n)
IF(n.EQ.1)THEN
CONTINUE
ELSEIF(n.EQ.2)THEN
DELT=FLOAT(NINT(XMIN(2)-XMIN(1)))
ELSE
IF(FLOAT(NINT(XMIN(n)-XMIN(n-1))).NE.DELT)THEN
WRITE(*,*)'Output time interval not constant'
WRITE(*,*)'Initial delta (min): ',DELT
WRITE(*,*)'Delta at period: ',(XMIN(n)-XMIN(n-1)),n
STOP
END IF
END IF
END DO
I attached my WRF information file in this post
wrfout_d02.ncml
any help would be greatly appreciated.
regards,
Doyoon Kim
Air Pollution Modeling & Climate Change laboratory
Konkuk Univ., Seoul, South Korea.
arw2arl - Delta at period: -1380.0001 25
Re: arw2arl - Delta at period: -1380.0001 25
arw2arl can handle files containing multiple out time steps. The program reads a variable "XTIME" from WRF output and uses it to determine time interval between output periods. If the output interval is hourly, values of "XTIME" should be 60.00, 120.0, 180.0... etc. Please check that variable in your WRF output files. The crazy number came at the 25th time step.