-
Notifications
You must be signed in to change notification settings - Fork 9
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
reV-plexos #80
Comments
I tried to remove sc_gid" from the supply curve files and just kept the "gid" column. Getting this error now |
Different error while running the wind and rftp files separately (the last post was while running reVX for pv files). The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Bug Description
Ilya and Mohit are trying to run the reV-plexos CLI (rev-reeds-plexos.py) and are getting the below error. Supposedly they were able to run this pipeline before (skeptical...)
Full Traceback
Traceback (most recent call last):
File "/home/mjoshi/.conda-envs/revx/lib/python3.7/site-packages/reVX/plexos/rev_reeds_plexos.py", line 1011, in main
forecast_fpath=pm.forecast_fpath, **agg_kwargs)
File "/home/mjoshi/.conda-envs/revx/lib/python3.7/site-packages/reVX/plexos/rev_reeds_plexos.py", line 868, in run
max_workers=max_workers)
File "/home/mjoshi/.conda-envs/revx/lib/python3.7/site-packages/reVX/plexos/rev_reeds_plexos.py", line 347, in init
self._sc_build = self._parse_rev_reeds(rev_sc, reeds_build)
File "/home/mjoshi/.conda-envs/revx/lib/python3.7/site-packages/reVX/plexos/rev_reeds_plexos.py", line 585, in _parse_rev_reeds
rev_sc, reeds_build, rev_join_on, reeds_join_on)
File "/home/mjoshi/.conda-envs/revx/lib/python3.7/site-packages/reVX/plexos/rev_reeds_plexos.py", line 637, in _check_rev_reeds_coordinates
rev_sc = rev_sc.sort_values(rev_join_on)
File "/home/mjoshi/.conda-envs/revx/lib/python3.7/site-packages/pandas/core/frame.py", line 5452, in sort_values
k = self._get_label_or_level_values(by, axis=axis)
File "/home/mjoshi/.conda-envs/revx/lib/python3.7/site-packages/pandas/core/generic.py", line 1699, in _get_label_or_level_values
f"The {label_axis_name} label '{key}' is not unique.{multi_message}"
ValueError: The column label 'sc_gid' is not unique.
Code Sample
running
To Reproduce
input file
pv_sc.csv.zip
System (please complete the following information):
Additional context
For Ilya and Mohit
Charge code
WFED.11320.01.01.03
The text was updated successfully, but these errors were encountered: