Duplicate values in the database #1079
Labels
defect
priority_normal
RAVENv2.0
Defects and Features in release of RAVEN v2.0
RAVENv2.1
All tasks and defects that will go in RAVEN v2.1
Defect Description
Describe the defect
What did you expect to see happen?
Being able to sync time series with duplicated valeus
What did you see instead?
Hi guys, I encountered a problem using RAVEN with a Database with duplicate values of the variable "Time".
I can load the database in the RAVEN framework, but I cannot use some post-processor methods such as the HistorySetSync, as well as Externa PP.
RAVEN returns me the following error:
ValueError: cannot reindex or align along dimension 'Time' because the index has duplicate values.
In my specific case, I fixed the problem adding to the MELCOR interface the Pandas dataframe.drop_duplicates() method. However, I think it would be useful to add in RAVEN a post-processor method to remove duplicates from DataBases.
Thanks.
Matteo
Do you have a suggested fix for the development team?
N/A
Describe how to Reproduce
Steps to reproduce the behavior:
Screenshots and Input Files
Please attach the input file(s) that generate this error. The simpler the input, the faster we can find the issue.
Platform (please complete the following information):
For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.
For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.
The text was updated successfully, but these errors were encountered: