Skip to content
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

Error when using port_csvs_to_db.py to import project exogenous availability file #961

Open
Janie115 opened this issue Nov 23, 2022 · 0 comments
Labels
priority: low theme: database updates to the database type: bug bugs and errors

Comments

@Janie115
Copy link
Contributor

When I try to use the port_csvs_to_db.py script using the subscenario, subscenario_id and project arguments to import an exogenous availability file for a specific project into the database, I get the following error:

ValueError: A CSV file for ID project_name-1 does not exist

This is because there are two rows in the csv_data_master that have "exogenous_availability_scenario_id" in the subscenario column: one for project exogenous availability and the other for transmission exogenous availability. So, it is trying to import the csvs in these two locations.

@anamileva anamileva added type: bug bugs and errors theme: database updates to the database priority: low labels Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low theme: database updates to the database type: bug bugs and errors
Projects
None yet
Development

No branches or pull requests

2 participants