List of standard variables - fabm-model/fabm GitHub Wiki

Below you can find a list of standard variables that FABM has built in. These variables are typically specified in biogeochemical models with standard_variables%<NAME>, and in couplers to hydrodynamic models (hosts) with fabm_standard_variables%<NAME>. For instance, a biogeochemical model can use standard_variables%temperature to register a dependency on temperature, and the host can use fabm_standard_variables%temperature to provide FABM with values for temperature. FABM then links these automatically.

If you need a variable that is not listed below, you can add your own without making any changes to FABM. To do so, declare your new standard variables in code, for instance:

type (type_surface_standard_variable), parameter :: ice_thickness = type_surface_standard_variable(name= "ice_thickness", units="m")

Then, use this new variable in place of standard_variables%<NAME> or fabm_standard_variables%<NAME>. FABM will automatically couple variables that use the same standard name and units. Thus, if you use the above declaration of ice thickness in the host to provide the thickness, and in a biogeochemical model to obtain the thickness, everything will "just work". Instead of type_surface_standard_variable, you can also use type_bottom_standard_variable, type_interior_standard_variable, type_global_standard_variable and type_universal_standard_variable, corresponding to the categories below.

If you think your new standard variable will be useful to others and is therefore worth building into FABM, post a message on Discussions. Then, also try to adhere to FABM's conventions for naming standard variables.

Interior variables

Variable Units Corresponding name in CF convention
alkalinity_expressed_as_mole_equivalent mmol m-3 sea_water_alkalinity_expressed_as_mole_equivalent
attenuation_coefficient_of_photosynthetic_radiative_flux m-1
attenuation_coefficient_of_shortwave_flux m-1
cell_thickness m cell_thickness
density kg m-3 sea_water_density
depth m depth
downwelling_photosynthetic_radiative_flux W m-2 downwelling_photosynthetic_radiative_flux_in_sea_water
downwelling_shortwave_flux W m-2 downwelling_shortwave_flux_in_sea_water
fractional_saturation_of_oxygen 1 fractional_saturation_of_oxygen_in_sea_water
mass_concentration_of_suspended_matter g m-3 mass_concentration_of_suspended_matter_in_sea_water
mole_concentration_of_ammonium mmol m-3 mole_concentration_of_ammonium_in_sea_water
mole_concentration_of_carbonate_expressed_as_carbon mmol m-3 mole_concentration_of_carbonate_expressed_as_carbon_in_sea_water
mole_concentration_of_dissolved_inorganic_carbon mmol m-3 mole_concentration_of_dissolved_inorganic_carbon_in_sea_water
mole_concentration_of_dissolved_iron umol m-3 mole_concentration_of_dissolved_iron_in_sea_water
mole_concentration_of_nitrate mmol m-3 mole_concentration_of_nitrate_in_sea_water
mole_concentration_of_phosphate mmol m-3 mole_concentration_of_phosphate_in_sea_water
mole_concentration_of_silicate mmol m-3 mole_concentration_of_silicate_in_sea_water
net_rate_of_absorption_of_shortwave_energy_in_layer W m-2 net_rate_of_absorption_of_shortwave_energy_in_ocean_layer
ph_reported_on_total_scale 1 sea_water_ph_reported_on_total_scale
practical_salinity 1e-3 sea_water_practical_salinity
pressure dbar sea_water_pressure
secchi_depth m secchi_depth_of_sea_water
temperature degree_Celsius sea_water_temperature

Bottom variables

Variable Units Corresponding name in CF convention
bottom_depth m
bottom_depth_below_geoid m sea_floor_depth_below_geoid
bottom_roughness_length m
bottom_stress Pa

Surface variables

Variable Units Corresponding name in CF convention
cloud_area_fraction 1 cloud_area_fraction
ice_area_fraction 1 sea_ice_area_fraction
mole_fraction_of_carbon_dioxide_in_air 1e-6 mole_fraction_of_carbon_dioxide_in_air
surface_air_pressure Pa surface_air_pressure
surface_albedo 1 surface_albedo
surface_downwelling_photosynthetic_radiative_flux W m-2 surface_downwelling_photosynthetic_radiative_flux_in_sea_water
surface_downwelling_photosynthetic_radiative_flux_in_air W m-2 surface_downwelling_photosynthetic_radiative_flux_in_air
surface_downwelling_shortwave_flux W m-2
surface_downwelling_shortwave_flux_in_air W m-2 surface_downwelling_shortwave_flux_in_air
surface_drag_coefficient_in_air 1 surface_drag_coefficient_in_air
surface_specific_humidity 1 surface_specific_humidity
surface_temperature degree_Celsius sea_surface_temperature
wind_speed m s-1 wind_speed

Horizontal variables

Variable Units Corresponding name in CF convention
latitude degree_north latitude
longitude degree_east longitude

Global variables

Variable Units Corresponding name in CF convention
number_of_days_since_start_of_the_year d

Universal variables

Variable Units Corresponding name in CF convention
total_carbon mmol m-3
total_iron umol m-3
total_nitrogen mmol m-3
total_phosphorus mmol m-3
total_silicate mmol m-3
⚠️ **GitHub.com Fallback** ⚠️