From ee5361d1500cecf76b0ffd7e0fb7846fc3969b53 Mon Sep 17 00:00:00 2001
From: Philippe WAUTELET <philippe.wautelet@aero.obs-mip.fr>
Date: Wed, 28 Apr 2021 13:23:37 +0200
Subject: [PATCH] Philippe 28/04/2021: budgets: add cdirection, ltcompress and
 lnorm fields to tbudiachrometadata type

---
 src/MNH/modd_budget.f90 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/MNH/modd_budget.f90 b/src/MNH/modd_budget.f90
index 44a3cfff0..ef4e59536 100644
--- a/src/MNH/modd_budget.f90
+++ b/src/MNH/modd_budget.f90
@@ -110,10 +110,13 @@ type :: tbudiachrometadata
   character(len=NBUNAMELGTMAX)  :: ctype       = 'not set'
   character(len=NBUNAMELGTMAX)  :: ccategory   = 'not set' !budget, LES, aircraft, balloon, series, station, profiler
   character(len=NBUNAMELGTMAX)  :: cshape      = 'not set' !Shape of the domain (mask, cartesian, vertical profile, point)
+  character(len=1)              :: cdirection  = ''        !Used for 2pt correlation and spectrum
   logical :: lmobile    = .false.                          !Is the domain moving? (ie for aircrafts and balloons)
   logical :: licompress = .false.
   logical :: ljcompress = .false.
   logical :: lkcompress = .false.
+  logical :: ltcompress = .false. ! true if values are time averaged (can be on multiple time periods)
+  logical :: lnorm      = .false. ! true if values are normalized
   integer :: nil = -1 !Cartesian box boundaries in physical domain coordinates
   integer :: nih = -1
   integer :: njl = -1
-- 
GitLab