USEPA / flowsa

Library that attributes resource use, waste, emissions, and loss to economic sectors
MIT License
23 stars 19 forks source link

Update saving of file and metadata #337

Closed bl-young closed 1 year ago

bl-young commented 1 year ago

and add AttributionSources

bl-young commented 1 year ago

@catherinebirney this works for a number of FBS I tested. It does not fully handle the recursive nature of attribution sources for the metadata, just grabs the first one.

catherinebirney commented 1 year ago

@bl-young The water FBS was getting a KeyError for the "year" call, I addressed the error with 89ff261.