Closed robbibt closed 5 months ago
Attention: 1 lines
in your changes are missing coverage. Please review.
Comparison is base (
385071f
) 84.39% compared to head (1e08f3d
) 84.37%.
Files | Patch % | Lines |
---|---|---|
eodatasets3/assemble.py | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks Robbi
Currently the
write_measurements_odc_xarray()
method requires you to set a single data value to allxr.DataArrays
in the inputxr.Dataset
. However, individual variables in a dataset often have their own nodata values, as specified in their ODC.nodata
attribute.This PR updates
write_measurements_odc_xarray()
to use the nodata value in the.nodata
attribute if it exists (and if no custom nodata value is manually provided via thenodata
param).Have tested this locally and it works well.