emit-sds / emit-ghg

Mapping of greenhouse gases with EMIT.
Apache License 2.0
34 stars 14 forks source link

Fix min_val bug in saturation masking #10

Closed jfahlen closed 9 months ago

jfahlen commented 10 months ago

This PR fixes the bug in which full columns of the MF are incorrectly marked as saturated. This can occur when there pixels with radiance < 0 (flagged with -9999). The fix here excludes pixels with radiance < -1 from the saturation masking code in parallel_mf.py.

Tested on emit20220903t051924.