stilt.observations.read_coccon#
- stilt.observations.read_coccon(path, species)[source]#
Read a COCCON GEOMS file of EM27/SUN retrievals into a table of soundings.
Reads the GEOMS HDF5 files (
groundbased_ftir.coccon_*.h5) that COCCON releases and that PROFFASTpylot writes, one site-day each.- Parameters:
- Returns:
One row per measurement.
valueanduncertaintyare the column and its random error, in ppm (xco2,xch4,xh2o) or ppb (xco), as the file gives them.goodis True for every row: the file holds only the measurements that passed COCCON’s quality filter.akis the column sensitivity at the measurement’s solar zenith angle, onak_pressure(hPa), which is alsopressure_levels, withaltitude_levelstheir heights (m above sea level), all from the surface up.aprioriis the prior profile, converted to the units ofvalue.surface_altitudeis the instrument’s altitude andsurface_pressurethe pressure at the instrument.zenithandazimuthare the solar angles, the direction the instrument looks, with the azimuth clockwise from north.sounding_idis the site and time, since the file names no spectra.- Return type:
Notes
Tested on files written by PROFFASTpylot’s GEOMS writer (PROFFAST 2.4) for KIT’s example data. A file’s times are
DATETIME, days since 2000-01-01 UTC (MJD2K) to five decimals;timerounds them to the second.