stilt.observations.read_ggg_netcdf#
- stilt.observations.read_ggg_netcdf(path, species, *, time_range=None)[source]#
Read a GGG2020 netCDF file, private or public, into a table of soundings.
GGG writes a
*.private.ncfor each run. A*.public.ncor*.public.qc.ncis the TCCON release of the same layout. A public file stores the averaging kernel per spectrum. A private file stores a table against slant xgas, which is interpolated for each spectrum as GGG’s public writer does, using the O2-window airmass (o2_7885_am_o2).- Parameters:
- Returns:
One row per spectrum.
valueanduncertaintyare the species and its one-sigma error, in the file’s units.goodisflag == 0, or True everywhere in aqcfile without a flag, which holds only good data.akis the kernel on the site’s fixedak_pressuregrid (median pressures, hPa), andak_extrapolatedmarks spectra beyond a private file’s kernel table.aprioriis the prior profile in the species’ units.pressure_levels(hPa) andaltitude_levels(m above sea level) are the prior’s grid, from the surface up, ready forpressure_altitudes()andslant_points().surface_altitudeis the instrument’s altitude andsurface_pressurethe pressure it measured.zenithandazimuthare the solar angles, the direction the instrument looks.sounding_idis the spectrum name when the file has it, else the site and time.- Return type: