Closed valpesendorfer closed 2 years ago
Merging #60 (8c9073e) into develop (d5f1819) will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## develop #60 +/- ##
========================================
Coverage 97.48% 97.48%
========================================
Files 22 22
Lines 3144 3146 +2
========================================
+ Hits 3065 3067 +2
Misses 79 79
Impacted Files | Coverage Δ | |
---|---|---|
odc/geo/_xr_interop.py | 99.35% <100.00%> (+<0.01%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update d5f1819...8c9073e. Read the comment docs.
it's meant to come from nodata
attribute of the source array, but sure, having an override can be useful sometimes.
it's meant to come from
nodata
attribute of the source array, but sure, having an override can be useful sometimes.
Like when source is missing nodata
attribute, or has an incorrect one. Happens ...
Passing in
src_nodata
as kwarg inodc.reproject
raises aTypeError
.Example:
Result:
The changes in this PR account for the kwarg, and give it precedence with the assumption the user wants to manually override it.