zxdawn / S5P-LNO2

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

Deal with offseted cloud pressure higher than tropopause #75

Closed zxdawn closed 1 year ago

zxdawn commented 1 year ago

https://github.com/zxdawn/S5P-LNO2/blob/6fe94cbc7f466ee5e7e7e7ceab2b20cdf48e552c/main/s5p_lno2_product.py#L295-L300

zxdawn commented 1 year ago

We can add

        # lower than tropopause
        peak_pressure = np.max([peak_pressure, ptropo.min()])