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

Fix deprecated crs.crs_str #328

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Fix deprecated crs.crs_str #328

merged 2 commits into from
Feb 12, 2024

Conversation

robbibt
Copy link
Contributor

@robbibt robbibt commented Feb 12, 2024

Currently the dataset_assembler.write_measurements_odc_xarray method products many deprecation warnings due to the use of crs.crs_str:
image

This PR updates the offending line to str(crs) instead, as per deprecation warning.

Copy link

codecov bot commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c2c3d81) 84.39% compared to head (d26fb1c) 84.38%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #328      +/-   ##
===========================================
- Coverage    84.39%   84.38%   -0.01%     
===========================================
  Files           26       26              
  Lines         4504     4502       -2     
===========================================
- Hits          3801     3799       -2     
  Misses         703      703              

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

Copy link
Collaborator

@jeremyh jeremyh left a comment

Choose a reason for hiding this comment

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

Thanks Robbi!

(the linting failure seems be in the dev branch, not this PR, so we can fix it separately)

@jeremyh jeremyh merged commit 6c28dd3 into develop Feb 12, 2024
5 of 8 checks passed
@jeremyh jeremyh deleted the fix_deprec_crs branch February 12, 2024 22:49
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