From 278eaf52f26ca7dce46dc4c4553ceecf1b83d49d Mon Sep 17 00:00:00 2001
From: Juan Escobar <juan.escobar@aero.obs-mip.fr>
Date: Tue, 8 Mar 2016 10:15:50 +0000
Subject: [PATCH] Juan 08/03/2016: add missing module
 contributed.ncl/WRFUserARW.ncl & switch to type=x11 direct visualisation

---
 MY_RUN/KTEST/001_2Drelief/005_ncl/plot_2Drelief.ncl    | 4 +++-
 MY_RUN/KTEST/002_3Drelief/005_ncl/plot_3Drelief.ncl    | 4 +++-
 MY_RUN/KTEST/003_KW78/005_ncl/plot_KW78.ncl            | 4 +++-
 MY_RUN/KTEST/004_Reunion/001_prep_pgd/run_prep_pgd_xyz | 2 +-
 MY_RUN/KTEST/004_Reunion/006_ncl/plot_Reunion.ncl      | 5 ++++-
 MY_RUN/KTEST/007_16janvier/011_ncl/plot_16j.ncl        | 4 +++-
 MY_RUN/KTEST/007_16janvier/011_ncl/plot_16j_2.ncl      | 4 +++-
 7 files changed, 20 insertions(+), 7 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 67e39f1f4..c0df61947 100644
--- a/MY_RUN/KTEST/001_2Drelief/005_ncl/plot_2Drelief.ncl
+++ b/MY_RUN/KTEST/001_2Drelief/005_ncl/plot_2Drelief.ncl
@@ -1,6 +1,8 @@
 ;================================================;
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"   
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"   
+load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
+load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
 ; ================================================;
 ;================================================;
 begin
@@ -12,7 +14,7 @@ begin
 ;==================================================;
 ; Open the workstation
 ;==================================================;
-  type = "ps"
+  type = "x11"
   wks = gsn_open_wks(type,"visu_2Drelief")
 ;=================================================;
 ; lecture des différents champs
diff --git a/MY_RUN/KTEST/002_3Drelief/005_ncl/plot_3Drelief.ncl b/MY_RUN/KTEST/002_3Drelief/005_ncl/plot_3Drelief.ncl
index a86b8dd7d..574c95e27 100644
--- a/MY_RUN/KTEST/002_3Drelief/005_ncl/plot_3Drelief.ncl
+++ b/MY_RUN/KTEST/002_3Drelief/005_ncl/plot_3Drelief.ncl
@@ -1,6 +1,8 @@
 ;================================================;
   load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"   
   load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"   
+  load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
+  load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
 ; ================================================;
 ;================================================;
   begin
@@ -11,7 +13,7 @@
 ;==================================================;
 ; Open the workstation
 ;==================================================;
-  type = "ps"
+  type = "x11"
   wks = gsn_open_wks(type,"visu_3Drelief")
 ;=================================================;
 ; lecture des différents champs
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 3a6caa5b2..6f66a2eb0 100644
--- a/MY_RUN/KTEST/003_KW78/005_ncl/plot_KW78.ncl
+++ b/MY_RUN/KTEST/003_KW78/005_ncl/plot_KW78.ncl
@@ -1,6 +1,8 @@
 ;================================================;
   load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"   
   load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"   
+  load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
+  load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
 ; ================================================;
 ;================================================;
   begin
@@ -11,7 +13,7 @@
 ;==================================================;
 ; Open the workstation
 ;==================================================;
-  type = "ps"
+  type = "x11"
   wks = gsn_open_wks(type,"visu_KW78")
 ;=================================================;
 ; Get informations on variable sizes
diff --git a/MY_RUN/KTEST/004_Reunion/001_prep_pgd/run_prep_pgd_xyz b/MY_RUN/KTEST/004_Reunion/001_prep_pgd/run_prep_pgd_xyz
index 75675c1fd..0711b6aa3 100755
--- a/MY_RUN/KTEST/004_Reunion/001_prep_pgd/run_prep_pgd_xyz
+++ b/MY_RUN/KTEST/004_Reunion/001_prep_pgd/run_prep_pgd_xyz
@@ -27,7 +27,7 @@ else
 set -x 
 ln -sf $PREP_PGD_FILES/gtopo30.??? .
 ln -sf $PREP_PGD_FILES/ECOCLIMAP_v2.0.??? .
-rm -f  REUNION_PGD_1km5_520.* OUTPUT_* pipe* *.tex
+rm -f  REUNION_PGD_1km5* OUTPUT_* pipe* *.tex
 time ${MONORUN} PREP_PGD${XYZ}
 #ddd --directory=~/.../src/dir_obj PREP_PGD
 fi
diff --git a/MY_RUN/KTEST/004_Reunion/006_ncl/plot_Reunion.ncl b/MY_RUN/KTEST/004_Reunion/006_ncl/plot_Reunion.ncl
index 9898f3449..b3bcb00d3 100644
--- a/MY_RUN/KTEST/004_Reunion/006_ncl/plot_Reunion.ncl
+++ b/MY_RUN/KTEST/004_Reunion/006_ncl/plot_Reunion.ncl
@@ -1,6 +1,8 @@
 ;================================================;
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"   
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"   
+load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
+load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
 ; ================================================;
 ;================================================;
   begin
@@ -11,7 +13,8 @@ load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
 ;==================================================;
 ; Open the workstation
 ;==================================================;
-  type = "ps"
+  ; type = "ps"
+   type = "x11"
   wks = gsn_open_wks(type,"visu_Reunion")
 ;=================================================;
 ; Get informations on variable sizes
diff --git a/MY_RUN/KTEST/007_16janvier/011_ncl/plot_16j.ncl b/MY_RUN/KTEST/007_16janvier/011_ncl/plot_16j.ncl
index 230e62b36..2e2f0ac43 100644
--- a/MY_RUN/KTEST/007_16janvier/011_ncl/plot_16j.ncl
+++ b/MY_RUN/KTEST/007_16janvier/011_ncl/plot_16j.ncl
@@ -1,6 +1,8 @@
 ;================================================;
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"   
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" 
+load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
+load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
 ; ================================================;
 ;================================================;
 begin
@@ -11,7 +13,7 @@ begin
 ;==================================================;
 ; Open the workstation
 ;==================================================;
-  type = "ps"
+  type = "x11"
   wks = gsn_open_wks(type,"visu_16j")
 ;=================================================;
 ; Get informations on variable sizes
diff --git a/MY_RUN/KTEST/007_16janvier/011_ncl/plot_16j_2.ncl b/MY_RUN/KTEST/007_16janvier/011_ncl/plot_16j_2.ncl
index e34aca524..cc7d85846 100644
--- a/MY_RUN/KTEST/007_16janvier/011_ncl/plot_16j_2.ncl
+++ b/MY_RUN/KTEST/007_16janvier/011_ncl/plot_16j_2.ncl
@@ -1,6 +1,8 @@
 ;================================================;
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"   
 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" 
+load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
+load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
 ; ================================================;
 ;================================================;
 begin
@@ -11,7 +13,7 @@ begin
 ;==================================================;
 ; Open the workstation
 ;==================================================;
-  type = "ps"
+  type = "x11"
   wks = gsn_open_wks(type,"visu_16j_2")
 ;=================================================;
 ; Get informations on variable sizes
-- 
GitLab