I have an emissions file that has 25 time steps (2016001:080000 → 2016002:080000). I’m trying to generate a file with a daily total (24 hours). When I run M3TPROC I get the following errors.
Enter final time for analysis
means to enter starting time for the last (24-hour) time step that will be processed. You should have taken the default 2016001 instead of entering 2016002.
The file goes from 8 on one day to 8 on the next day though. When I use the same date for the final day it gives me the same error.
Upon looking at things more carefully: this is a bug (note the “0 input time steps
”).
Quick fix: add the following "ASTEPS =..."
as a new line 400 in the m3tproc.f90 source code (after the “NRECS =...
”, as shown below:
...
NRECS = CURREC( EDATE, ETIME, SDATE, STIME, OSTEP, KDATE, KTIME )
ASTEPS = TIME2SEC( AGLEN ) / TIME2SEC( INSTEP )
...
Fixes to the repository will be forthcoming soon.
Awesome! Thanks for the quick fix!
And thanks for reporting the problem, and following up the way you have!
Repositories now updated…