Can change the forecast time while converting wrfout to arl using arw2arl?
Posted: December 2nd, 2016, 5:49 am
I try to convert the wrf mode output to ARL format file, so can i change the forecast time while converting?
For example wrfout forecast time is 2016-12-02 12:00:00, then I would like to write the arl file time for 2015-12-02 12:00:00?
How to amend arw2arl.f?
At present, I am modified as follows:
line : 531
! Number of time periods loop
DO L = NT1, NT2
! Write the data fields for one time period in ARL format
Fh = NINT (XMIN (L) / 60.0)! Forecast hour (minutes since start)
READ (tvar (L), '(1x, 5 (1x, i2))') fyy, mm, dd, hh, mn
yy = fyy-1
!!!!!! Here re-definition of a fyy, and then assignment to yy. But seems to not work.
For example wrfout forecast time is 2016-12-02 12:00:00, then I would like to write the arl file time for 2015-12-02 12:00:00?
How to amend arw2arl.f?
At present, I am modified as follows:
line : 531
! Number of time periods loop
DO L = NT1, NT2
! Write the data fields for one time period in ARL format
Fh = NINT (XMIN (L) / 60.0)! Forecast hour (minutes since start)
READ (tvar (L), '(1x, 5 (1x, i2))') fyy, mm, dd, hh, mn
yy = fyy-1
!!!!!! Here re-definition of a fyy, and then assignment to yy. But seems to not work.