arw2arl - Delta at period: -1380.0001 25

Post questions and find resources to convert meteorological data into a format HYSPLIT can read.
Post Reply
dodive
Posts: 6
Joined: March 17th, 2015, 10:39 pm
Registered HYSPLIT User: Yes
Location: Seoul, Korea
Contact:

arw2arl - Delta at period: -1380.0001 25

Post by dodive »

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.
Fantine
Posts: 150
Joined: November 8th, 2012, 3:41 pm

Re: arw2arl - Delta at period: -1380.0001 25

Post by Fantine »

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.
Post Reply

Return to “Conversion programs”