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

Pandas 2.2 and xarray 2023.11 #1614

Closed
wants to merge 2 commits into from
Closed

Pandas 2.2 and xarray 2023.11 #1614

wants to merge 2 commits into from

Conversation

aulemahal
Copy link
Collaborator

Pull Request Checklist:

  • This PR addresses an already opened issue (for bug fixes / features)
  • Tests for the changes have been added (for bug fixes / features)
    • (If applicable) Documentation has been added / updated (for bug fixes / features)
  • CHANGES.rst has been updated (with summary of main changes)
    • Link to issue (:issue:number) and pull request (:pull:number) has been added

What kind of change does this PR introduce?

  • Adopts the new syntax for frequency codes:
    • "A" is no more
    • Y -> YE, Q -> QE, M -> ME
    • H -> h, T -> min, S -> s, L -> ms, U -> us, N -> ns

Does this PR introduce a breaking change?

Yes indeed. The pins on pandas and xarray have been inverted. Environment must be updated at large, you can't just update xclim.

Other information:

Currently working on an issue with xarray 2024.01.0 that breaks xclim.indices.run_length.lazy_indexing.

@github-actions github-actions bot added sdba Issues concerning the sdba submodule. indicators Climate indices and indicators labels Jan 22, 2024
@Zeitsperre
Copy link
Collaborator

@aulemahal

Why not base this on the work in #1565 ?

@aulemahal
Copy link
Collaborator Author

Woups! Sorry for that! I'll rebase.

@aulemahal
Copy link
Collaborator Author

Merged work here with the other PR.

@aulemahal aulemahal closed this Jan 23, 2024
@aulemahal aulemahal deleted the to-pd22 branch May 6, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
indicators Climate indices and indicators sdba Issues concerning the sdba submodule.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adopt new pandas frequency codes
2 participants