# ECA_BMA_FLX_2B

## Variables

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

field name | type | dimensions | unit | description
--- | --- | --- | --- | ---
datetime | double | {time} | [seconds since 2000-01-01] | UTC time
latitude | double | {time} | [degree_north] | Geodetic latitude
longitude | double | {time} | [degree_east] | Geodetic longitude
orbit_index | int32 |  |  | absolute orbit number
solar_azimuth_angle | double | {time} | [degree] | solar azimuth angle
solar_zenith_angle | double | {time} | [degree] | solar zenith angle
viewing_azimuth_angle | double | {time} | [degree] | viewing azimuth angle
viewing_zenith_angle | double | {time} | [degree] | viewing zenith angle
irradiance | double | {time} | [W/m2] | TOA flux
irradiance_uncertainty | double | {time} | [W/m2] | TOA flux error
irradiance_validity | int8 | {time} |  | TOA flux quality status
validity | int8 | {time} |  | quality status
index | int32 | {time} |  | zero-based index of the sample within the source product

## Ingestion options

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

option name | legal values | description
--- | --- | ---
direction | nadir, fore, aft | viewing direction: combined (default), nadir (direction=nadir), fore (direction=fore), aft (direction=aft)
irradiance | thermal | irradiance: solar (default), thermal (irradiance=thermal)
resolution | small, full, assessment | resolution: standard (default), small (resolution=small), full (resolution=full), or assessment (resolution=assessment)

## Mapping description

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

field name | mapping description
--- | ---
datetime | path | /ScienceData/<resolution>/time
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option value
latitude | path | /ScienceData/<resolution>/latitude
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option value
longitude | path | /ScienceData/<resolution>/longitude
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option value
orbit_index | path | /HeaderData/VariableProductHeader/MainProductHeader/orbitNumber
solar_azimuth_angle | available | optional
condition | direction set
path | /ScienceData/<resolution>/solar_azimuth_angle[*,<direction>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option; <direction> is 0 (Fore), 1 (Nadir), or 2 (Aft) based on direction option
solar_zenith_angle | available | optional
condition | direction set
path | /ScienceData/<resolution>/solar_zenith_angle[*,<direction>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option; <direction> is 0 (Fore), 1 (Nadir), or 2 (Aft) based on direction option
viewing_azimuth_angle | available | optional
condition | direction set
path | /ScienceData/<resolution>/viewing_azimuth_angle[*,<direction>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option; <direction> is 0 (Fore), 1 (Nadir), or 2 (Aft) based on direction option
viewing_zenith_angle | available | optional
condition | direction set
path | /ScienceData/<resolution>/viewing_zenith_angle[*,<direction>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option; <direction> is 0 (Fore), 1 (Nadir), or 2 (Aft) based on direction option
irradiance | condition | irradiance unset, direction unset
path | /ScienceData/<resolution>/solar_combined_top_of_atmosphere_flux[*]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option value
condition | irradiance unset, direction set
path | /ScienceData/<resolution>/solar_top_of_atmosphere_flux[*,<direction>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option; <direction> is 0 (Fore), 1 (Nadir), or 2 (Aft) based on direction option
condition | irradiance=thermal, direction unset
path | /ScienceData/<resolution>/thermal_combined_top_of_atmosphere_flux[*]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option value
condition | irradiance=thermal, direction set
path | /ScienceData/<resolution>/thermal_top_of_atmosphere_flux[*,<direction>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option; <direction> is 0 (Fore), 1 (Nadir), or 2 (Aft) based on direction option
irradiance_uncertainty | condition | irradiance unset, direction unset
path | /ScienceData/<resolution>/solar_combined_top_of_atmosphere_flux_error[*]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option value
condition | irradiance unset, direction set
path | /ScienceData/<resolution>/solar_top_of_atmosphere_flux_error[*,<direction>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option; <direction> is 0 (Fore), 1 (Nadir), or 2 (Aft) based on direction option
condition | irradiance=thermal, direction unset
path | /ScienceData/<resolution>/thermal_combined_top_of_atmosphere_flux_error[*]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option value
condition | irradiance=thermal, direction set
path | /ScienceData/<resolution>/thermal_top_of_atmosphere_flux_error[*,<direction>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option; <direction> is 0 (Fore), 1 (Nadir), or 2 (Aft) based on direction option
irradiance_validity | condition | irradiance unset, direction unset
path | /ScienceData/<resolution>/solar_combined_top_of_atmosphere_flux_quality_status[*]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option value
condition | irradiance unset, direction set
path | /ScienceData/<resolution>/solar_top_of_atmosphere_flux_quality_status[*,<direction>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option; <direction> is 0 (Fore), 1 (Nadir), or 2 (Aft) based on direction option
condition | irradiance=thermal, direction unset
path | /ScienceData/<resolution>/thermal_combined_top_of_atmosphere_flux_quality_status[*]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option value
condition | irradiance=thermal, direction set
path | /ScienceData/<resolution>/thermal_top_of_atmosphere_flux_quality_status[*,<direction>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option; <direction> is 0 (Fore), 1 (Nadir), or 2 (Aft) based on direction option
validity | path | /ScienceData/<resolution>/quality_status[*>]
description | <resolution> is StandardResolution, SmallResolution, FullResolution, or AssessmentResolution based on resolution option value