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

Update use of loffset in dataset.resample() in compare_tide_prediction_max_ssh figure #252

Open
douglatornell opened this issue Apr 4, 2024 · 0 comments
Assignees
Labels
Figures Website figure module code maintenance Codebase maintenance
Milestone

Comments

@douglatornell
Copy link
Member

Log message:

/SalishSeaCast/SalishSeaNowcast/nowcast/figures/publish/compare_tide_prediction_max_ssh.py:158: 
FutureWarning: Following pandas, the `loffset` parameter to resample will be deprecated in a future version
of xarray. Switch to using time offset arithmetic.
  obs_10min_avg = obs_1min.resample(time="10min", loffset="5min").mean()
@douglatornell douglatornell added maintenance Codebase maintenance Figures Website figure module code labels Apr 4, 2024
@douglatornell douglatornell added this to the v24.1 milestone Apr 4, 2024
@douglatornell douglatornell modified the milestones: v24.1, v24.2 Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Figures Website figure module code maintenance Codebase maintenance
Projects
None yet
Development

No branches or pull requests

1 participant