From 80efda1dfb072d1af073fbf69e700d45ac81b042 Mon Sep 17 00:00:00 2001
From: Martin Schupfner <k204212@levante2.lvt.dkrz.de>
Date: Wed, 31 Jul 2024 09:22:33 +0200
Subject: [PATCH] Added MIP table SLdec for solidLand / solid earth variables,
 added areacellasl

---
 cmor_tables/PalMod2_CV.json    |  2 +-
 cmor_tables/PalMod2_SLdec.json | 90 ++++++++++++++++++++++++++++++++++
 cmor_tables/PalMod2_fx.json    | 18 +++++++
 3 files changed, 109 insertions(+), 1 deletion(-)
 create mode 100644 cmor_tables/PalMod2_SLdec.json

diff --git a/cmor_tables/PalMod2_CV.json b/cmor_tables/PalMod2_CV.json
index db06c7d..fd45a83 100644
--- a/cmor_tables/PalMod2_CV.json
+++ b/cmor_tables/PalMod2_CV.json
@@ -870,7 +870,7 @@
                 "additional_allowed_model_components":[
                 ],
                 "experiment":"synchronously coupled transient deglaciation with interactive ice sheets and solid earth",
-                "experiment_id":"transient_deglaciation_interactive",
+                "experiment_id":"transient-deglaciation-interactive",
                 "parent_activity_id":[
                     "no parent"
                 ],
diff --git a/cmor_tables/PalMod2_SLdec.json b/cmor_tables/PalMod2_SLdec.json
new file mode 100644
index 0000000..07903ff
--- /dev/null
+++ b/cmor_tables/PalMod2_SLdec.json
@@ -0,0 +1,90 @@
+{
+    "Header": {
+        "data_specs_version": "00.00.03",
+        "cmor_version": "3.6.1",
+        "table_id": "Table SLdec",
+        "realm": "",
+        "table_date": "1 February 2024",
+        "missing_value": "1e20",
+        "int_missing_value": "-999",
+        "product": "model-output",
+        "approx_interval": "3650.00000",
+        "generic_levels": "alevel",
+        "Conventions": "CF-1.7 PalMod-2.0"
+    },
+    "variable_entry": {
+        "orog": {
+            "frequency": "dec",
+            "modeling_realm": "solidLand",
+            "standard_name": "surface_altitude",
+            "units": "m",
+            "cell_methods": "area: time: mean",
+            "cell_measures": "area: areacellsl",
+            "long_name": "Surface Altitude",
+            "comment": "The surface called 'surface' means the lower boundary of the atmosphere. Altitude is the (geometric) height above the geoid, which is the reference geopotential surface. The geoid is similar to mean sea level.",
+            "dimensions": "longitude latitude time",
+            "out_name": "orog",
+            "type": "real",
+            "positive": "",
+            "valid_min": "",
+            "valid_max": "",
+            "ok_min_mean_abs": "",
+            "ok_max_mean_abs": ""
+        },
+        "sftgif": {
+            "frequency": "dec",
+            "modeling_realm": "solidLand",
+            "standard_name": "land_ice_area_fraction",
+            "units": "%",
+            "cell_methods": "area: time: mean",
+            "cell_measures": "area: areacellsl",
+            "long_name": "Land Ice Area Percentage",
+            "comment": "Percentage of grid cell covered by land ice (ice sheet, ice shelf, ice cap, glacier)",
+            "dimensions": "longitude latitude time",
+            "out_name": "sftgif",
+            "type": "real",
+            "positive": "",
+            "valid_min": "",
+            "valid_max": "",
+            "ok_min_mean_abs": "",
+            "ok_max_mean_abs": ""
+        },
+        "sftlf": {
+            "frequency": "dec",
+            "modeling_realm": "solidLand",
+            "standard_name": "land_area_fraction",
+            "units": "%",
+            "cell_methods": "area: time: mean",
+            "cell_measures": "area: areacellsl",
+            "long_name": "Percentage of the Grid Cell Occupied by Land (Including Lakes)",
+            "comment": "Percentage of horizontal area occupied by land.",
+            "dimensions": "longitude latitude time",
+            "out_name": "sftlf",
+            "type": "real",
+            "positive": "",
+            "valid_min": "",
+            "valid_max": "",
+            "ok_min_mean_abs": "",
+            "ok_max_mean_abs": ""
+        },
+        "rslc": {
+            "frequency": "dec",
+            "modeling_realm": "solidLand",
+            "standard_name": "",
+            "units": "m year-1",
+            "cell_methods": "area: time: mean",
+            "cell_measures": "area: areacellsl",
+            "long_name": "The change in local mean sea level relative to the local solid surface",
+            "comment": "The change in local mean sea level relative to the local solid surface, i.e. sea floor.",
+            "dimensions": "longitude latitude time",
+            "out_name": "rslc",
+            "type": "real",
+            "positive": "",
+            "valid_min": "",
+            "valid_max": "",
+            "ok_min_mean_abs": "",
+            "ok_max_mean_abs": ""
+        }
+    }
+}
+
diff --git a/cmor_tables/PalMod2_fx.json b/cmor_tables/PalMod2_fx.json
index e9d62a1..d8656b0 100644
--- a/cmor_tables/PalMod2_fx.json
+++ b/cmor_tables/PalMod2_fx.json
@@ -138,6 +138,24 @@
             "valid_max": "",
             "ok_min_mean_abs": "",
             "ok_max_mean_abs": ""
+        },
+        "areacellsl": {
+            "frequency": "fx",
+            "modeling_realm": "solidLand",
+            "standard_name": "cell_area",
+            "units": "m2",
+            "cell_methods": "area: sum",
+            "cell_measures": "",
+            "long_name": "Grid-Cell Area for Solid Earth Grid Variables",
+            "comment": "For atmospheres with more than 1 mesh (e.g., staggered grids), report areas that apply to surface vertical fluxes of energy.",
+            "dimensions": "longitude latitude",
+            "out_name": "areacellsl",
+            "type": "real",
+            "positive": "",
+            "valid_min": "",
+            "valid_max": "",
+            "ok_min_mean_abs": "",
+            "ok_max_mean_abs": ""
         }
     }
 }
-- 
GitLab