# Source: WMO - https://www.wmo.int/pages/prog/www/OSY/Manual/488_Guide_2007.pdf (page 158)
# Translation to cds_variables and units (c3s-cds-forms)

# Air Temperature: -90°C – +70°C (C3S Kelvin)
2m_temperature,183.15,343.15
minimum_2m_temperature_in_the_last_24_hours,183.15,343.15
maximum_2m_temperature_in_the_last_24_hours,183.15,343.15
2m_dewpoint_temperature,183.15,343.15

# Ground (surface) temperature: -80°C – +80°C (C3S Kelvin)
skin_temperature,193.15,353.15
sea_surface_temperature,193.15,353.15

# Soil temperature: -90°C – +90°C (C3S Kelvin) - based on world records
soil_temperature_level_1,183.15,363.15
soil_temperature_level_2,183.15,363.15
soil_temperature_level_3,183.15,363.15
soil_temperature_level_4,183.15,363.15

# Volumetric soil water layer 1, 2, 3, 4 (m^3 m^-3)
volumetric_soil_water_layer_1,0,
volumetric_soil_water_layer_2,0,
volumetric_soil_water_layer_3,0,
volumetric_soil_water_layer_4,0,

# Atmospheric pressure at the station level: 500 – 1100 hPa (C3S Pa) -> 500 is not realistic (e.g altitude).
surface_pressure,,110000

# Wind uv/component: +–75 m/s (2-minute, 10-minute average);
10m_u_component_of_wind,-75,75
10m_v_component_of_wind,-75,75
10m_wind_speed,0,106.1

# Wind gust: 0 – 150 m s-1 (source: WMO)
10m_wind_gust_since_previous_post_processing,0,150
instantaneous_10m_wind_gust,0,150

# Solar radiation (irradiance):
# Cannot be negative (for now)
surface_solar_radiation_downwards,0,
surface_solar_radiation_downward_clear_sky,0,
top_solar_radiation,0,
clear_sky_direct_solar_radiation_at_surface,0,
total_sky_direct_solar_radiation_at_surface,0,
mean_surface_direct_short_wave_radiation_flux,0,
mean_surface_direct_short_wave_radiation_flux_clear_sky,0,
mean_surface_downward_uv_radiation_flux,0,
mean_top_downward_short_wave_radiation_flux,0,

# Mean Net radiaton (also extended on the negative side)
mean_surface_net_long_wave_radiation_flux,-1600,1600
mean_surface_net_long_wave_radiation_flux_clear_sky,-1600,1600
mean_surface_net_short_wave_radiation_flux,-1600,1600
mean_surface_net_short_wave_radiation_flux_clear_sky,0,1600
mean_top_net_long_wave_radiation_flux,-1600,1600
mean_top_net_long_wave_radiation_flux_clear_sky,-1600,1600
mean_top_net_short_wave_radiation_flux,-1600,1600
mean_top_net_short_wave_radiation_flux_clear_sky,-1600,1600

# Precipitation amount (1-minute interval): 0 – 40 mm. (C3S different units and accum periods)
total_precipitation,0,
convective_precipitation,0,
large_scale_precipitation,0,

# Cannot be negative (TBD)
friction_velocity,0,
relative_humidity,0,
specific_humidity,0,
wind_speed,0,

# Model bathymetry - ref: ECMWF documentation
model_bathymetry,0,1000

# Classification variables (Type) - ref: ECMWF documentation
precipitation_type,0,12
soil_type,1,7
type_of_high_vegetation,3,19
type_of_low_vegetation,1,20

# Cover Anomaly variables set to -1/1
sea_ice_cover_anomaly,-1,1
total_cloud_cover_anomaly,-1,1

# Variables with units degrees tolerance limits are automatically set to: 0,360
# Variables with units 0-1 tolerance limits are automatically set to: 0,1
# Variables with units % tolerance limits are automatically set to: 0,100

