stilt.observations.read_proffast#
- stilt.observations.read_proffast(path, species, *, raw_dir=None)[source]#
Read a PROFFASTpylot run’s results into a table of soundings.
Reads the run’s
comb_invparms_*.csvfor the columns, and each day’scolsens.dat,pT_fast_out.datandVMR_fast_out.datfor the averaging kernels and priors.- Parameters:
- Returns:
One row per spectrum, all of them.
valueis the column in ppm, or ppb forxco, before any instrument calibration. PROFFAST reports no error for a single spectrum, souncertaintyis NaN.goodis COCCON’s quality screen: solar zenith angle at most 75 degrees andXAIRbetween 0.98 and 1.02.akis the day’s column sensitivity interpolated linearly to the spectrum’s apparent solar zenith angle, andak_extrapolatedmarks spectra beyond the table’s last angle, which take its last column.ak_pressureandpressure_levels(hPa) andaltitude_levels(m above sea level) are the day’s prior grid, andapriorithe prior in the units ofvalue, all from the surface up.zenithandazimuthare the solar angles, the direction the instrument looks, with the azimuth clockwise from north.sounding_idis the spectrum’s file name. The other columns of the results table, such asXAIRand each window’s fit statistics, are left out.- Return type:
Notes
COCCON’s GEOMS files (
read_coccon()) hold the same retrieval with each instrument’s calibration factor applied, only the spectra that pass the screen above, and an uncertainty from the scatter of eleven neighboring spectra. Tested on a run of PROFFASTpylot (PROFFAST 2.4) on KIT’s example data, whose kernels and priors match its GEOMS files.