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

feat: parse results including geothermal and dfo gens #18

Merged
merged 3 commits into from
Aug 5, 2019

Conversation

ghost
Copy link

@ghost ghost commented Jul 24, 2019

Add parsing capability for geothermal and dfo (fuel oil) generators. Slight re-organization to improve readability.

@ghost ghost requested review from kasparm and rouille July 24, 2019 23:17
Copy link
Contributor

@kasparm kasparm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ghost
Copy link
Author

ghost commented Aug 2, 2019

The 'possible' list has been updated to be based on a pre-existing set of keys.

@kasparm kasparm self-requested a review August 2, 2019 23:44
for r in resources:
if r not in possible:
if r not in self.type2label.keys():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self is not accessible in function, need to pass it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we are using staticmethods in most of the _check functions, but not all?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a question for @rouille ...
This class will need some rework but for now we try to get it to work. Let me do the changes.

@kasparm kasparm force-pushed the add_geothermal_dfo branch from be67e9e to 967f9b5 Compare August 5, 2019 23:12
@kasparm kasparm merged commit 967f9b5 into develop Aug 5, 2019
@kasparm kasparm deleted the add_geothermal_dfo branch June 17, 2020 21:53
@ahurli ahurli mentioned this pull request Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants