From 9a8d19520e5b3ee74d7569badca41a257fbf37ce Mon Sep 17 00:00:00 2001
From: Philippe WAUTELET <philippe.wautelet@aero.obs-mip.fr>
Date: Fri, 2 Feb 2018 10:29:10 +0100
Subject: [PATCH] Philippe 02/02/2018: IO: modified ncl scripts to read time
 with new netCDF format

---
 .../001_2Drelief/005_ncl/plot_2Drelief.ncl    | 20 +++++++++----------
 MY_RUN/KTEST/003_KW78/005_ncl/plot_KW78.ncl   | 10 +++++-----
 .../011_KW78CHEM/005_ncl/plot_KW78_chem.ncl   | 10 +++++-----
 3 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/MY_RUN/KTEST/001_2Drelief/005_ncl/plot_2Drelief.ncl b/MY_RUN/KTEST/001_2Drelief/005_ncl/plot_2Drelief.ncl
index c4f237330..3a5857c57 100644
--- a/MY_RUN/KTEST/001_2Drelief/005_ncl/plot_2Drelief.ncl
+++ b/MY_RUN/KTEST/001_2Drelief/005_ncl/plot_2Drelief.ncl
@@ -55,10 +55,10 @@ cflw1= fichier1->CFLW(1:kmax,0,jphext:imax+jphext-1) ; CFLW
 cflw1@long_name="CFLW"
 cflw1@units=" "
 
-YYYYDDMM1= fichier1->DTCUR__TDATE
-SS1=fichier1->DTCUR__TIME
-YYYYDDMM2= fichier2->DTCUR__TDATE
-SS2=fichier2->DTCUR__TIME
+;YYYYDDMM1= fichier1->DTCUR__TDATE
+SS1=fichier1->DTCUR
+;YYYYDDMM2= fichier2->DTCUR__TDATE
+SS2=fichier2->DTCUR
 
 lsthm2 = fichier2->LSTHM(1:kmax,0,jphext:imax+jphext-1) ; LSTHM
 lsthm2@long_name="LSTHM"
@@ -87,13 +87,13 @@ cflw2@units=" "
 ;=================================================;
 ; Récupération de la date 
 ;=================================================;
-year1=YYYYDDMM1(0)
-day1=YYYYDDMM1(1)
-min1=YYYYDDMM1(2)
+;year1=YYYYDDMM1(0)
+;day1=YYYYDDMM1(1)
+;min1=YYYYDDMM1(2)
 time1=SS1
-year2=YYYYDDMM2(0)
-day2=YYYYDDMM2(1)
-min2=YYYYDDMM2(2)
+;year2=YYYYDDMM2(0)
+;day2=YYYYDDMM2(1)
+;min2=YYYYDDMM2(2)
 time2=SS2
 ;=================================================;
 ; On mets toutes les variables sur la grille 1 
diff --git a/MY_RUN/KTEST/003_KW78/005_ncl/plot_KW78.ncl b/MY_RUN/KTEST/003_KW78/005_ncl/plot_KW78.ncl
index e9511ed71..149b786d2 100644
--- a/MY_RUN/KTEST/003_KW78/005_ncl/plot_KW78.ncl
+++ b/MY_RUN/KTEST/003_KW78/005_ncl/plot_KW78.ncl
@@ -65,15 +65,15 @@
   acprr@long_name="Accumulated Precipitation Rain Rate"
   acprr@units="mm"
 
-  YYYYDDMM1= fichier1->DTCUR__TDATE
-  SS1=fichier1->DTCUR__TIME
+  ;YYYYDDMM1= fichier1->DTCUR__TDATE
+  SS1=fichier1->DTCUR
 
 ;=================================================;
 ; Récupération de la date 
 ;=================================================;
-  year1=YYYYDDMM1(0)
-  day1=YYYYDDMM1(1)
-  min1=YYYYDDMM1(2)
+  ;year1=YYYYDDMM1(0)
+  ;day1=YYYYDDMM1(1)
+  ;min1=YYYYDDMM1(2)
   time1=SS1
 ;=================================================;
 ; On mets toutes les variables sur la grille 1 
diff --git a/MY_RUN/KTEST/011_KW78CHEM/005_ncl/plot_KW78_chem.ncl b/MY_RUN/KTEST/011_KW78CHEM/005_ncl/plot_KW78_chem.ncl
index 1075ea61f..0b46e4c93 100644
--- a/MY_RUN/KTEST/011_KW78CHEM/005_ncl/plot_KW78_chem.ncl
+++ b/MY_RUN/KTEST/011_KW78CHEM/005_ncl/plot_KW78_chem.ncl
@@ -124,15 +124,15 @@ phr1= fichier1->PHR(1:kmax,jphext:jmax+jphext-1,jphext:imax+jphext-1)
 phr1@long_name="PHR"
 phr1@units=" "
 
-YYYYDDMM1= fichier1->DTCUR__TDATE
-SS1=fichier1->DTCUR__TIME
+;YYYYDDMM1= fichier1->DTCUR__TDATE
+SS1=fichier1->DTCUR
 
 ;=================================================;
 ; Récupération de la date 
 ;=================================================;
-year1=YYYYDDMM1(0)
-day1=YYYYDDMM1(1)
-min1=YYYYDDMM1(2)
+;year1=YYYYDDMM1(0)
+;day1=YYYYDDMM1(1)
+;min1=YYYYDDMM1(2)
 time1=SS1
 ;=================================================;
 ; On mets toutes les variables sur la grille 1 
-- 
GitLab