There was an error while loading. Please reload this page.
1 parent 9476431 commit 6db9bcaCopy full SHA for 6db9bca
2 files changed
bris/conventions/cf.py
@@ -32,11 +32,11 @@ def get_metadata(anemoi_variable: str) -> dict:
32
"vis": ("visibility_in_air", "height", 0),
33
"cbh": ("cloud_base_altitude", "height", 0),
34
"ws": ("wind_speed", "height", 10),
35
- "fog": ("fog_type_cloud_area_fraction", None, None),
36
- "hcc": ("high_type_cloud_area_fraction", None, None),
37
- "lcc": ("low_type_cloud_area_fraction", None, None),
38
- "mcc": ("medium_type_cloud_area_fraction", None, None),
39
- "tcc": ("cloud_area_fraction", None, None),
+ "fog": ("fog_type_cloud_area_fraction", "height", 0),
+ "hcc": ("high_type_cloud_area_fraction", "height", 0),
+ "lcc": ("low_type_cloud_area_fraction", "height", 0),
+ "mcc": ("medium_type_cloud_area_fraction", "height", 0),
+ "tcc": ("cloud_area_fraction", "height", 0),
40
"ssrd": (
41
"integral_of_surface_downwelling_shortwave_flux_in_air_wrt_time",
42
"height",
bris/conventions/metno.py
@@ -24,6 +24,11 @@ def get_ncname(self, cfname: str, leveltype: str, level: int):
24
"air_pressure_at_sea_level",
25
"wind_speed_of_gust",
26
"land_sea_mask",
27
+ "fog_type_cloud_area_fraction",
28
+ "high_type_cloud_area_fraction",
29
+ "low_type_cloud_area_fraction",
30
+ "medium_type_cloud_area_fraction",
31
+ "cloud_area_fraction",
]:
# Prevent _0m from being added at the end of variable name
ncname = f"{cfname}"
0 commit comments