USEPA / emf

Emissions Modeling Framework (EMF)
6 stars 3 forks source link

Bug: Least Cost Strategy can't handle larger point key Ids and scc code #2

Closed ddelvecchio closed 10 years ago

ddelvecchio commented 10 years ago

Least Cost strategy is failing when SCC code larger than 10 characters (i.e., from a FF10 inventory allows 12 character scc codes) tries to get loaded into the ORL Merged Inventory format.

ddelvecchio commented 10 years ago

Fixed by upping various ds types point Ids to handle 20 characters -- ORL merged, strategy detailed result, and least cost strategy worksheet. Also increased scc code (to 12 characters) for same ds types.

The emf.sources table also needed the fields increased in size. The populate_sources postgresql function was also updated.