ssec / polar2grid

Tools for reading, remapping, and writing satellite instrument data.
http://www.ssec.wisc.edu/software/polar2grid/
GNU General Public License v3.0
72 stars 34 forks source link

Add `--clip-negative-radiances` flag to ABI L1b reader #637

Closed djhoese closed 1 year ago

djhoese commented 1 year ago

This flag (on by default) removes negative radiances and therefore NaN brightness temperatures. These show up in RGBs that use them, but does not solve what I had hoped it would solve as described in #499. The night_microphysics's use of C07 and the green pixels that show up are inevitable due to how C07 works. Not much we can do about that. This PR does still fix some black pixels in the RGB though.

djhoese commented 1 year ago

Should have mentioned:

Closes #499

coveralls commented 1 year ago

Coverage Status

coverage: 85.24% (+0.2%) from 85.011% when pulling dda8c871bfa16fdd120ec63be616ba2341a2001d on djhoese:feature-abi-rad-clip into 21a6ce97b170c61e48b3431ee094601651e830b9 on ssec:main.