USEPA / EPA_MOVES_Model

Estimating emissions for mobile sources
Other
80 stars 20 forks source link

Summary Reporter does not aggregate over dayID correctly #68

Open danielbizercox opened 6 months ago

danielbizercox commented 6 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.