From 740a87ca6442060efff94a5222595c462ee4b98a Mon Sep 17 00:00:00 2001
From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de>
Date: Fri, 23 Sep 2022 11:47:39 +0200
Subject: [PATCH] removed default positive attribute for pressure levels

---
 ChangeLog   | 4 ++++
 src/zaxis.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 62c8ef760..1ee84d099 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-09-23  Uwe Schulzweida
+
+	* removed default positive attribute for pressure levels
+
 2022-08-12  Uwe Schulzweida
 
 	* added CDI_KEY_CHUNKTYPE and CDI_KEY_CHUNKSIZE
diff --git a/src/zaxis.c b/src/zaxis.c
index 75661a92b..5a9591497 100644
--- a/src/zaxis.c
+++ b/src/zaxis.c
@@ -31,7 +31,7 @@ ZaxistypeEntry[] = {
   { /*  1 */ 0, "lev",               "generic",                "",               ""},
   { /*  2 */ 2, "lev",               "hybrid",                 "",               "level"},
   { /*  3 */ 2, "lev",               "hybrid_half",            "",               "level"},
-  { /*  4 */ 2, "plev",              "pressure",               "air_pressure",   "Pa"},
+  { /*  4 */ 0, "plev",              "pressure",               "air_pressure",   "Pa"},
   { /*  5 */ 1, "height",            "height",                 "height",         "m"},
   { /*  6 */ 2, "depth",             "depth_below_sea",        "depth",          "m"},
   { /*  7 */ 2, "depth",             "depth_below_land",       "",               "cm"},
-- 
GitLab