stilt.observations.read_oco2#
- stilt.observations.read_oco2(path, *, lon_range=None, lat_range=None)[source]#
Read an OCO-2 or OCO-3 L2 Lite XCO2 file into a table of soundings.
Follows the Lite FP v10/v11 layout (
oco2_LtCO2_*.nc4,oco3_LtCO2_*.nc4): the retrieval and its levels at the root, the viewing geometry and surface altitude underSounding, the surface pressure underRetrieval.lon_rangeandlat_rangekeep only the soundings inside a box.valueisxco2in ppm with the product’s fill as NaN;goodisxco2_quality_flag == 0. The twentypressure_levelsand the kernel on them (ak_pressure,ak) are reordered from the surface up (the file lists them from space down).aprioriis the CO2 prior profile on the same levels,pressure_weightthe retrieval’s pressure weighting function, andapriori_columnthe prior XCO2.zenithandazimuthare the sensor angles toward the satellite; the solar angles are alongside.