opendatacube / eo-datasets

Easily write, validate and convert EO datasets and metadata.
Apache License 2.0
49 stars 26 forks source link

Fix deprecated `crs.crs_str` #328

Closed robbibt closed 5 months ago

robbibt commented 5 months ago

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.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ 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 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.