zxdawn / S5P-LNO2

Core code for the TROPOMI lightning NO2 retrievals
GNU General Public License v3.0
2 stars 1 forks source link

Wrong fresh lightning number #74

Closed zxdawn closed 1 year ago

zxdawn commented 1 year ago

https://github.com/zxdawn/S5P-LNO2/blob/96b52ce151d65429a9fb30e6792f08050fbec199/main/s5p_lno2_cases.py#L93-L100

(ds_lightning['delta'].where(ds_lightning['lightning_label'] == label) > -100).sum()

This is not the total number, but the summation of delta!

zxdawn commented 1 year ago

Oops ... It's my fault ....

ds = ds_lightning['delta'].where(ds_lightning['lightning_label'] == label)
(ds >-100).sum

No need to fix anymore ...