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

BUG: Allow write_gcps to succeed without gcp_crs #648

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

peterm790
Copy link
Contributor

I have not written any tests related to this change.

@snowman2
Copy link
Member

Mind adding a test similar to this one with the CRS = None?

def test_rio_write_gcps():

@snowman2 snowman2 changed the title Check gcp crs in BUG: Ensure gcp_crs exists before writing in :func:rioxarray.write_gcps Mar 10, 2023
@snowman2 snowman2 changed the title BUG: Ensure gcp_crs exists before writing in :func:rioxarray.write_gcps BUG: Allow write_gcps to succeed without gcp_crs Mar 10, 2023
@peterm790
Copy link
Contributor Author

peterm790 commented Mar 13, 2023

I have added a test, let me know if this is what you had in mind 👍

@snowman2
Copy link
Member

I have added a test, let me know if this is what you had in mind

Looks good 👍. Once the linting issues are resolved, I think this is ready to merge.

@snowman2
Copy link
Member

Suggestion for fixing the linting issues:

python -m pip install pre-commit
pre-commit run --all

@itcarroll
Copy link
Contributor

This PR just made it possible for me to read MODIS data into an xarray.Dataset. Thank you! Logs are expired on the checks, but I hope this can get patched and merged. You are amazing.

Copy link

codecov bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.99%. Comparing base (ae6635a) to head (2824264).
Report is 90 commits behind head on master.

Current head 2824264 differs from pull request most recent head 4f4294b

Please upload reports for the commit 4f4294b to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #648      +/-   ##
==========================================
+ Coverage   95.90%   95.99%   +0.08%     
==========================================
  Files          12       12              
  Lines        1735     1748      +13     
==========================================
+ Hits         1664     1678      +14     
+ Misses         71       70       -1     

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

@snowman2 snowman2 added the bug Something isn't working label Jun 24, 2024
@snowman2 snowman2 added this to the 0.15.7 milestone Jun 24, 2024
@snowman2 snowman2 merged commit 31b16b7 into corteva:master Jun 24, 2024
17 of 19 checks passed
@snowman2
Copy link
Member

Thanks @peterm790 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants