-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support 4G result data #7
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Teeeeeeessssssssttttttttssssssss! 😆
common methods/datasets that can be used for easy comparison.""" | ||
|
||
@property | ||
def end_use_summary_dict(self) -> dict: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is returning a list, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to that, getting mypy to run during pre-commit would be awesome. Why is it commented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably because it failed tooooo much?
data = ( | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the new parentheses? What is that doing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because of the pipes combining the data. But maybe they aren't needed?
else: | ||
print(f'Other var "{other_var}" length does not match {len(other_var_data)} != {len(time)}') | ||
other_var_data = self.retrieve_variable_data(other_var, len(time1)) | ||
data[other_var] = other_var_data | ||
|
||
df_power = pd.pandas.DataFrame(data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pd.pandas.dataframe? 😱
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha, I should fix this and do import pandas as pd.... oof..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You already did! 😆
Co-authored-by: Nathan Moore <nathan.moore@nrel.gov>
Co-authored-by: Nathan Moore <nathan.moore@nrel.gov>
results_base
abstract class to store data that need to be in both URBANopt results and Modelica results