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.
Reads the operational
S5P_*_L2__CH4___orbit files and the TROPOMI+GOSAT blended files (S5P_BLND_L2__CH4___).- Parameters:
lon_range (
tuple[float,float] |None) –(min, max)longitude and latitude, in degrees. Only pixels inside the box are read, which saves time on a whole orbit.lat_range (
tuple[float,float] |None) –(min, max)longitude and latitude, in degrees. Only pixels inside the box are read, which saves time on a whole orbit.
- Returns:
One row per pixel.
valueis the bias-corrected XCH4, or the blended XCH4 in a blended file, in ppb.goodisqa_value >= 0.5, as the product recommends. The pressure grid is rebuilt fromsurface_pressureandpressure_interval.pressure_levelsare the 13 layer boundaries from the surface up, the top one at 0 hPa, andak_pressurethe 12 layer midpoints that go withak.altitude_levelsare the product’s heights of those boundaries, to use for a slant path.aprioriis the prior profile as a mole fraction per layer, in ppb.zenithandazimuthare the viewing angles toward the satellite. Blended files have no viewing angles and noaltitude_levels.- Return type: