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

date_range: update freq string #504

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

mathause
Copy link
Member

Avoid some warnings in the tests. I am pretty sure "YE" is also fine for older versions of pandas/ xarray but should probably run with #503 merged, so marking as draft for now.

@mathause mathause marked this pull request as ready for review August 20, 2024 16:48
@mathause
Copy link
Member Author

but should probably run with #503 merged, so marking as draft for now.

Well no - we already test with pinned (even older) versions of xarray and pandas. So can merge on green.

Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.32%. Comparing base (9b0b76b) to head (50e2306).
Report is 82 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #504       +/-   ##
===========================================
- Coverage   87.90%   50.32%   -37.59%     
===========================================
  Files          40       50       +10     
  Lines        1745     3527     +1782     
===========================================
+ Hits         1534     1775      +241     
- Misses        211     1752     +1541     
Flag Coverage Δ
unittests 50.32% <ø> (-37.59%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@veni-vidi-vici-dormivi
Copy link
Collaborator

Oh thank you, almost started this myself. Warnings look good!

@mathause
Copy link
Member Author

Thanks

@mathause mathause merged commit ead0a68 into MESMER-group:main Aug 21, 2024
9 checks passed
@mathause mathause deleted the fix_datetime_freq branch August 21, 2024 13:58
veni-vidi-vici-dormivi pushed a commit to veni-vidi-vici-dormivi/mesmer that referenced this pull request Aug 21, 2024
* date_range: update freq string

* add freq conditionals
mathause added a commit that referenced this pull request Aug 22, 2024
* add mesmer_m example script

* changelog

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove unused imports

* adjustments

* replace script with notebook

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* restructure and add some headings

* remove inputs

* add some comments

* typos

* date_range: update freq string (#504)

* date_range: update freq string

* add freq conditionals

* reference: only year as link (#505)

* nits

* more info on time coordinate

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update comment & clear output

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mathias Hauser <[email protected]>
Co-authored-by: Mathias Hauser <[email protected]>
veni-vidi-vici-dormivi pushed a commit to veni-vidi-vici-dormivi/mesmer that referenced this pull request Aug 24, 2024
* date_range: update freq string

* add freq conditionals
veni-vidi-vici-dormivi added a commit to veni-vidi-vici-dormivi/mesmer that referenced this pull request Aug 24, 2024
* add mesmer_m example script

* changelog

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove unused imports

* adjustments

* replace script with notebook

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* restructure and add some headings

* remove inputs

* add some comments

* typos

* date_range: update freq string (MESMER-group#504)

* date_range: update freq string

* add freq conditionals

* reference: only year as link (MESMER-group#505)

* nits

* more info on time coordinate

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update comment & clear output

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mathias Hauser <[email protected]>
Co-authored-by: Mathias Hauser <[email protected]>
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