From 562535bbb219be7111023ac430f88a7842984d83 Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Tue, 4 Jun 2019 11:16:10 +0200
Subject: [PATCH] DOC: fix parameter names to compile CookBook

---
 app/otbSARDoppler0.cxx       | 2 +-
 app/otbSARGridStatistics.cxx | 1 -
 app/otbSARMultiLook.cxx      | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/app/otbSARDoppler0.cxx b/app/otbSARDoppler0.cxx
index 30efd69..f2f12a8 100644
--- a/app/otbSARDoppler0.cxx
+++ b/app/otbSARDoppler0.cxx
@@ -80,7 +80,7 @@ private:
     
     AddRAMParameter();
 
-    SetDocExampleParameterValue("in","s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002.tiff");
+    SetDocExampleParameterValue("insar","s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002.tiff");
     SetDocExampleParameterValue("outfile","doppler_file.txt");
 
   }
diff --git a/app/otbSARGridStatistics.cxx b/app/otbSARGridStatistics.cxx
index 819adb9..58f0e23 100644
--- a/app/otbSARGridStatistics.cxx
+++ b/app/otbSARGridStatistics.cxx
@@ -106,7 +106,6 @@ private:
     AddRAMParameter();
 
     SetDocExampleParameterValue("ingrid","./grid.tiff");
-    SetDocExampleParameterValue("out","correctionGrid.tif");
   }
 
   void DoUpdateParameters() override
diff --git a/app/otbSARMultiLook.cxx b/app/otbSARMultiLook.cxx
index 5e81b81..0af4691 100644
--- a/app/otbSARMultiLook.cxx
+++ b/app/otbSARMultiLook.cxx
@@ -101,7 +101,7 @@ private:
 
     AddRAMParameter();
 
-    SetDocExampleParameterValue("in.complex","s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002_SLC.tiff");
+    SetDocExampleParameterValue("incomplex","s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002_SLC.tiff");
     SetDocExampleParameterValue("out","s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002_ML.tif");
     SetDocExampleParameterValue("mlran", "3");
     SetDocExampleParameterValue("mlazi", "3");
-- 
GitLab