-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
datapkg_to_sqlite fails to load all of EPA CEMS #450
Comments
Hmmm I tried to recreate this issue with a grouped table and am getting a similar result. For me only the last resource described in the I generated data packages for CEMS with these parameters:
It is being partitioned by state and year so each tabluar resource for the
|
@cmgosnell PS. |
@cmgosnell |
No, still getting the error with the most recent versions of the datapackage libraries. A very simple version with a couple of resources in a group seems to work as expected, but the simplest PUDL output that tests the behavior doesn't work. I'm trying to simplify that resource group output one step at a time until I get to a minimal example to share with you. |
Closes Issue #450. In flattening the data packages, I was using the wrong key (`title`) to de-deplicate the list of resources. This was resulting in only one CEMS table ending up in the metadata and this in the SQLite db.
Hey @roll! this was totally just our mistake, so don't worry about it. We are making a bunch of data source specific data packages and then squishing them together into one package, I set up a process for determining how to generate a new data package without duplicating elements of the metadata.... but I messed up and it was only grabbing one of the CEMS resources. It was a very simple fix once we figured out what was happening. |
After doing a full ETL of all years and states in CEMS, the
datapkg_to_sqlite
script doesn't seem to load all of that data into the SQLite database. Rather, it only loads the last year of data into the database. However, the process terminates quickly, so it's probably not even attempting to load all the data. Suspect it's an issue with the iteration and/or partitioning...The text was updated successfully, but these errors were encountered: