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 (PRODUCTgroup,scanline×ground_pixel) and the flat TROPOMI+GOSAT blended files (S5P_BLND_L2__CH4___).lon_rangeandlat_rangekeep only the pixels inside a box, which is worth doing on a whole orbit.valueis the bias-corrected XCH4 (or the blended XCH4 in a blended file) in ppb;goodisqa_value >= 0.5, the product’s own recommendation. The pressure grid is rebuilt fromsurface_pressureandpressure_interval:pressure_levelsare the thirteen layer boundaries from the surface up (the top one is 0 hPa) andak_pressurethe twelve layer midpoints that go withak.altitude_levelsare the product’s own heights of those boundaries, which is the argument to use for a slant path.aprioriis the prior profile as a mole fraction per layer, ppb.zenithandazimuthare the viewing angles toward the satellite; the blended files carry none.