From 9bb49049efad9db2b2cfd4279e2811c0b0afbfa5 Mon Sep 17 00:00:00 2001
From: Yan Ji <y.ji@fz-juelich.de>
Date: Mon, 18 Jul 2022 12:03:02 +0200
Subject: [PATCH] necessary json-file
 (../data_preprocess/era5_varmapping_template.json) to generate customized
 runscripts

---
 .../era5_varmapping_template.json             | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 video_prediction_tools/data_preprocess/era5_varmapping_template.json

diff --git a/video_prediction_tools/data_preprocess/era5_varmapping_template.json b/video_prediction_tools/data_preprocess/era5_varmapping_template.json
new file mode 100644
index 00000000..cb83066c
--- /dev/null
+++ b/video_prediction_tools/data_preprocess/era5_varmapping_template.json
@@ -0,0 +1,23 @@
+# NOTE: Please configure this JSON-files according your needs. Any line starting with # will be removed
+#       when editing is invoked from generate_runscript.py.
+#
+# Explanation: In the following, the mapping of known variable names from the ERA5-data (grib2-files) is defined
+#              The keys of the dictionary 'surface' (for 2D surface varibales) denote the variable names
+#              in the target netCDF-file while the values denote the name of the variable in the ERA5 grib file.
+#              For the dictionary 'multi' (used for 3D variables), the keys denote both,
+#              the variable name in the target netCDF-file and in the ERA5 grib file.
+#              The value of the 'pl'-key denotes the pressure level (in Pa) onto which the data is interpolated
+#              !!! This file should be only adapted if you are familiar with the ERA5 grib files!!!
+{
+"surface":{
+   ["2t", "tcc","msl","10u","10v"]
+       },
+
+"multi":{
+    "t" : {
+	    "pl": 85000
+          }
+
+       }
+}
+
-- 
GitLab