# S5P_PAL_L2_SO2CBR

## Variables

The table below lists the variables that are present in the HARP product that results from an ingestion of `S5P_PAL_L2_SO2CBR` data.

field name | type | dimensions | unit | description
--- | --- | --- | --- | ---
scan_subindex | int16 | {time} |  | pixel index (0-based) within the scanline
datetime_start | double | {time} | [seconds since 2010-01-01] | start time of the measurement
datetime_length | double |  | [s] | duration of the measurement
orbit_index | int32 |  |  | absolute orbit number
latitude | float | {time} | [degree_north] | latitude of the ground pixel center (WGS84)
longitude | float | {time} | [degree_east] | longitude of the ground pixel center (WGS84)
latitude_bounds | float | {time, 4} | [degree_north] | latitudes of the ground pixel corners (WGS84)
longitude_bounds | float | {time, 4} | [degree_east] | longitudes of the ground pixel corners (WGS84)
sensor_latitude | float | {time} | [degree_north] | latitude of the geodetic sub-satellite point (WGS84)
sensor_longitude | float | {time} | [degree_east] | longitude of the goedetic sub-satellite point (WGS84)
sensor_altitude | float | {time} | [m] | altitude of the satellite with respect to the geodetic sub-satellite point (WGS84)
solar_zenith_angle | float | {time} | [degree] | zenith angle of the Sun at the ground pixel location (WGS84); angle measured away from the vertical
solar_azimuth_angle | float | {time} | [degree] | azimuth angle of the Sun at the ground pixel location (WGS84); angle measured East-of-North
sensor_zenith_angle | float | {time} | [degree] | zenith angle of the satellite at the ground pixel location (WGS84); angle measured away from the vertical
sensor_azimuth_angle | float | {time} | [degree] | azimuth angle of the satellite at the ground pixel location (WGS84); angle measured East-of-North
pressure | double | {time, vertical} | [Pa] | pressure
cloud_fraction | float | {time} | [] | cloud fraction
cloud_fraction_uncertainty | float | {time} | [] | uncertainty of the cloud fraction
cloud_pressure | float | {time} | [Pa] | cloud pressure
cloud_pressure_uncertainty | float | {time} | [Pa] | cloud pressure uncertainty
cloud_height | float | {time} | [m] | cloud height
cloud_height_uncertainty | float | {time} | [m] | cloud height uncertainty
cloud_albedo | float | {time} | [] | cloud albedo
cloud_albedo_uncertainty | float | {time} | [] | cloud albedo uncertainty
surface_altitude | float | {time} | [m] | mean surface altitude
surface_altitude_uncertainty | float | {time} | [m] | the standard deviation of sub-pixels used in calculating the mean surface altitude
surface_pressure | float | {time} | [Pa] | surface air pressure
surface_meridional_wind_velocity | float | {time} | [m/s] | Northward wind from ECMWF at 10 meter height level
surface_zonal_wind_velocity | float | {time} | [m/s] | Eastward wind from ECMWF at 10 meter height level
absorbing_aerosol_index | float | {time} | [] | Aerosol index from 380 and 340 nm
surface_albedo | float | {time} | [] | surface albedo
O3_column_number_density | float | {time} | [mol/m^2] | total ozone column
O3_column_number_density_uncertainty | float | {time} | [mol/m^2] | total ozone column random error
tropopause_pressure | double | {time} | [Pa] | tropopause pressure
SO2_column_number_density | float | {time} | [mol/m^2] | total vertical column of sulfur dioxide
SO2_column_number_density_uncertainty_random | float | {time} | [mol/m^2] | precision of the total vertical column of sulfur dioxide
SO2_column_number_density_uncertainty_systematic | float | {time} | [mol/m^2] | systematic error of the total vertical column density of sulfur dioxide
SO2_column_number_density_validity | int8 | {time} |  | continuous quality descriptor, varying between 0 (no data) and 100 (full quality data)
SO2_column_number_density_amf | float | {time} | [] | total air mass factor
SO2_column_number_density_amf_uncertainty_random | float | {time} | [] | random error of the total air mass factor
SO2_column_number_density_amf_uncertainty_systematic | float | {time} | [] | systematic error of the total air mass factor
SO2_column_number_density_avk | float | {time, vertical} | [] | averaging kernel
SO2_volume_mixing_ratio_dry_air_apriori | float | {time, vertical} | [ppv] | volume mixing ratio profile of sulfur dioxide
SO2_slant_column_number_density | float | {time} | [mol/m^2] | background corrected sulfur dioxide slant column density
SO2_type | int8 | {time} |  | sulfur dioxide volcano activity flag; enumeration values: no_detection (0), so2_detected (1), volcanic_detection (2), detection_near_anthropogenic_source (3), detection_at_high_sza (4)
index | int32 | {time} |  | zero-based index of the sample within the source product

## Ingestion options

The table below lists the available ingestion options for `S5P_PAL_L2_SO2CBR` products.

option name | legal values | description
--- | --- | ---
so2_column | 1km, 7km, 15km | whether to ingest the anothropogenic SO2 column at the PBL (default), the SO2 column from the 1km box profile (so2_column=1km), from the 7km box profile (so2_column=7km), or from the 15km box profile (so2_column=15km)
cloud_fraction | radiance | whether to ingest the cloud fraction (default) or the radiance cloud fraction (cloud_fraction=radiance)
qa_filter | custom | if enabled (qa_filter=custom) then for data generated by the SO2 COBRA processor V02.00.00 the validity will be set to 0 or 100 based on the revised qa_value calculation (see PRF) instead of using the existing qa_value

## Mapping description

The table below details where and how each variable was retrieved from the input product.

field name | mapping description
--- | ---
scan_subindex | description | the scanline and pixel dimensions are collapsed into a temporal dimension; the index of the pixel within the scanline is computed as the index on the temporal dimension modulo the number of scanlines
datetime_start | path | /PRODUCT/time, /PRODUCT/delta_time[]
description | time converted from milliseconds since a reference time (given as seconds since 2010-01-01) to seconds since 2010-01-01 (using 86400 seconds per day); the time associated with a scanline is repeated for each pixel in the scanline
datetime_length | path | /@time_coverage_resolution
description | the measurement length is parsed assuming the ISO 8601 ‘PT%(interval_seconds)fS’ format
orbit_index | path | /@orbit
latitude | path | /PRODUCT/latitude[]
longitude | path | /PRODUCT/longitude[]
latitude_bounds | path | /PRODUCT/SUPPORT_DATA/GEOLOCATIONS/latitude_bounds[]
longitude_bounds | path | /PRODUCT/SUPPORT_DATA/GEOLOCATIONS/longitude_bounds[]
sensor_latitude | path | /PRODUCT/SUPPORT_DATA/GEOLOCATIONS/satellite_latitude[]
description | the satellite latitude associated with a scanline is repeated for each pixel in the scanline
sensor_longitude | path | /PRODUCT/SUPPORT_DATA/GEOLOCATIONS/satellite_longitude[]
description | the satellite longitude associated with a scanline is repeated for each pixel in the scanline
sensor_altitude | path | /PRODUCT/SUPPORT_DATA/GEOLOCATIONS/satellite_altitude[]
description | the satellite altitude associated with a scanline is repeated for each pixel in the scanline
solar_zenith_angle | path | /PRODUCT/SUPPORT_DATA/GEOLOCATIONS/solar_zenith_angle[]
solar_azimuth_angle | path | /PRODUCT/SUPPORT_DATA/GEOLOCATIONS/solar_azimuth_angle[]
sensor_zenith_angle | path | /PRODUCT/SUPPORT_DATA/GEOLOCATIONS/viewing_zenith_angle[]
sensor_azimuth_angle | path | /PRODUCT/SUPPORT_DATA/GEOLOCATIONS/viewing_azimuth_angle[]
pressure | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/tm5_constant_a[], /PRODUCT/SUPPORT_DATA/INPUT_DATA/tm5_constant_b[], /PRODUCT/SUPPORT_DATA/INPUT_DATA/surface_pressure[]
description | pressure in Pa at layer k is derived from surface pressure in Pa as: tm5_constant_a[k] + tm5_constant_b[k] * surface_pressure[]
cloud_fraction | condition | cloud_fraction unset
path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/cloud_fraction_crb[]
condition | cloud_fraction=radiance
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/cloud_fraction_intensity_weighted[]
cloud_fraction_uncertainty | condition | cloud_fraction unset
path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/cloud_fraction_crb_precision[]
condition | cloud_fraction=radiance
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/cloud_fraction_intensity_weighted_precision[]
cloud_pressure | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/cloud_pressure_crb[]
cloud_pressure_uncertainty | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/cloud_pressure_crb_precision[]
cloud_height | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/cloud_height_crb[]
cloud_height_uncertainty | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/cloud_height_crb_precision[]
cloud_albedo | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/cloud_albedo_crb
cloud_albedo_uncertainty | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/cloud_albedo_crb_precision
surface_altitude | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/surface_altitude[]
surface_altitude_uncertainty | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/surface_altitude_precision[]
surface_pressure | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/surface_pressure[]
surface_meridional_wind_velocity | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/northward_wind[]
surface_zonal_wind_velocity | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/eastward_wind[]
absorbing_aerosol_index | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/aerosol_index_340_380
surface_albedo | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/surface_albedo_328nm, /PRODUCT/SUPPORT_DATA/INPUT_DATA/surface_albedo_376nm, /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/selected_fitting_window_flag
O3_column_number_density | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/ozone_total_vertical_column[]
O3_column_number_density_uncertainty | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/ozone_total_vertical_column_precision[]
tropopause_pressure | path | /PRODUCT/SUPPORT_DATA/INPUT_DATA/tm5_constant_a[], /PRODUCT/SUPPORT_DATA/INPUT_DATA/tm5_constant_b[], /PRODUCT/SUPPORT_DATA/INPUT_DATA/tm5_tropopause_layer_index[], /PRODUCT/SUPPORT_DATA/INPUT_DATA/surface_pressure[]
description | pressure in Pa at tropause is derived from the upper bound of the layer with tropopause layer index k: exp((log(tm5_constant_a[k] + tm5_constant_b[k] * surface_pressure[]) + log(tm5_constant_a[k + 1] + tm5_constant_b[k + 1] * surface_pressure[]))/2.0)
SO2_column_number_density | condition | so2_column unset
path | /PRODUCT/sulfurdioxide_total_vertical_column[]
condition | so2_column=1km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_vertical_column_1km[]
condition | so2_column=7km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_vertical_column_7km[]
condition | so2_column=15km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_vertical_column_15km[]
SO2_column_number_density_uncertainty_random | condition | so2_column unset
path | /PRODUCT/sulfurdioxide_total_vertical_column_precision[]
condition | so2_column=1km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_vertical_column_1km_precision[]
condition | so2_column=7km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_vertical_column_7km_precision[]
condition | so2_column=15km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_vertical_column_15km_precision[]
SO2_column_number_density_uncertainty_systematic | condition | so2_column unset
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_vertical_column_trueness[]
condition | so2_column=1km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_vertical_column_1km_trueness[]
condition | so2_column=7km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_vertical_column_7km_trueness[]
condition | so2_column=15km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_vertical_column_15km_trueness[]
SO2_column_number_density_validity | path | /PRODUCT/qa_value
SO2_column_number_density_amf | condition | so2_column unset
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_polluted[]
condition | so2_column=1km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_1km[]
condition | so2_column=7km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_7km[]
condition | so2_column=15km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_15km[]
SO2_column_number_density_amf_uncertainty_random | condition | so2_column unset
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_polluted_precision[]
condition | so2_column=1km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_1km_precision[]
condition | so2_column=7km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_7km_precision[]
condition | so2_column=15km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_15km_precision[]
SO2_column_number_density_amf_uncertainty_systematic | condition | so2_column unset
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_polluted_trueness[]
condition | so2_column=1km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_1km_trueness[]
condition | so2_column=7km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_7km_trueness[]
condition | so2_column=15km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_total_air_mass_factor_15km_trueness[]
SO2_column_number_density_avk | path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/averaging_kernel[]
condition | so2_column=1km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/averaging_kernel[], /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_averaging_kernel_scaling_box_1km[]
condition | so2_column=7km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/averaging_kernel[], /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_averaging_kernel_scaling_box_7km[]
condition | so2_column=15km
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/averaging_kernel[], /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_averaging_kernel_scaling_box_15km[]
SO2_volume_mixing_ratio_dry_air_apriori | available | optional
condition | so2_column unset
path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_profile_apriori[]
SO2_slant_column_number_density | path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_slant_column_corrected[]
SO2_type | path | /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/sulfurdioxide_detection_flag[]