USEPA / EPA_MOVES_Model

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

Incorrect ONI emissions when CDB is missing countyTypeID and/or MSA data #47

Closed danielbizercox closed 2 years ago

danielbizercox commented 2 years ago

If a county database (CDB) has a NULL countyTypeID or MSA value in the county table, MOVES will incorrectly calculate off-network idle (ONI) emissions.

The county table is not typically edited by users, so this is likely a rare issue. However, MOVES should warn the user before starting the run, or, if detected during runtime, emit an error and stop running if this occurs.

danielbizercox commented 2 years ago

In MOVES3.0.4, users will get an error message when selecting a database with NULL countyTypeID or msa fields.