USEPA / EPA_MOVES_Model

Estimating emissions for mobile sources
Other
84 stars 23 forks source link

Summary Reporter does not aggregate over dayID correctly #68

Closed danielbizercox closed 6 days ago

danielbizercox commented 8 months ago

If the Summary Reporter is used to post-process MOVES output, the resulting emission inventories are incorrect when the following conditions are met:

In this case, the Summary Reporter will simply add the values corresponding to each dayID together without any weighting. However, when dayID is aggregated over, the resulting inventory is supposed to either represent a month's inventory (if monthID is retained) or an annual inventory (if monthID is also aggregated over)--and this requires additional weighting.

To correctly aggregate over dayID:

In a future version of MOVES, the Summary Reporter will be updated to correctly aggregate over dayID, and it will issue warnings if you try to aggregate over dayID without all dayIDs, or aggregate over monthID without all monthIDs appearing in your output database.