stilt.observations.read_tropomi_ch4#

stilt.observations.read_tropomi_ch4(path, *, lon_range=None, lat_range=None)[source]#

Read a TROPOMI (Sentinel-5P) L2 methane file into a table of soundings.

Handles the operational S5P_*_L2__CH4___ orbit files (PRODUCT group, scanline × ground_pixel) and the flat TROPOMI+GOSAT blended files (S5P_BLND_L2__CH4___). lon_range and lat_range keep only the pixels inside a box, which is worth doing on a whole orbit.

value is the bias-corrected XCH4 (or the blended XCH4 in a blended file) in ppb; good is qa_value >= 0.5, the product’s own recommendation. The pressure grid is rebuilt from surface_pressure and pressure_interval: pressure_levels are the thirteen layer boundaries from the surface up (the top one is 0 hPa) and ak_pressure the twelve layer midpoints that go with ak. altitude_levels are the product’s own heights of those boundaries, which is the argument to use for a slant path. apriori is the prior profile as a mole fraction per layer, ppb. zenith and azimuth are the viewing angles toward the satellite; the blended files carry none.

Return type:

DataFrame

Parameters: