Skip to content

Conversation

@tsmbland
Copy link
Collaborator

@tsmbland tsmbland commented Nov 4, 2024

Deletes outputs that aren't required any more, as discussed in #413

Deleting these because they are known to be unreliable (e.g. #312), and all the relevant data can be created with other global/sector outputs

I advised in the release notes for v1.2.0 that these would eventually be deleted, so nobody should still be using these anyway.

Will save this for v1.3.0 along with #507 #510 and others

@tsmbland tsmbland marked this pull request as ready for review November 4, 2024 15:51
@tsmbland tsmbland requested a review from dalonsoa November 4, 2024 15:53
Copy link
Collaborator

@dalonsoa dalonsoa left a comment

Choose a reason for hiding this comment

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

This changes all make sense, specially because they remove ambiguity.

Remember to mention in the release note for the next release that these outputs are no longer available.

return _aggregate_sectors(sectors, market_out, op=sector_supply)


def sector_supply(sector: AbstractSector, market: xr.Dataset, **kwargs) -> pd.DataFrame:
Copy link
Collaborator

Choose a reason for hiding this comment

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

The infamous sector_supply function, gone for good!

return _aggregate_sectors(sectors, market_out, op=sectory_supply)


def sectory_supply(
Copy link
Collaborator

Choose a reason for hiding this comment

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

What the heck is sectory_supply? I hadn't seen this before...

Base automatically changed from legacy to v1.3 November 5, 2024 17:02
@tsmbland tsmbland merged commit 92ca64e into v1.3 Nov 5, 2024
13 of 14 checks passed
@tsmbland tsmbland deleted the delete_outputs branch November 5, 2024 17:03
@tsmbland tsmbland mentioned this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants