From 82ab1f43d1f1083b3e1e4c1bd46ba51d081e1795 Mon Sep 17 00:00:00 2001
From: Luc Maisonobe <luc@orekit.org>
Date: Mon, 14 Jan 2019 16:24:10 +0100
Subject: [PATCH] Finalized new tropospheric models introduction.

Fixes #498

Thanks to Bryan for the contribution!
---
 pom.xml                                                   | 3 +++
 .../orekit/models/earth/EstimatedTroposphericModel.java   | 2 +-
 src/main/java/org/orekit/overview.html                    | 5 +++--
 src/site/markdown/index.md                                | 5 +++--
 src/site/xdoc/changes.xml                                 | 8 ++++++++
 5 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index 7c29bd368..c1e8a16da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -175,6 +175,9 @@
     <contributor>
       <name>Espen Bj&#248;rntvedt</name>
     </contributor>
+    <contributor>
+      <name>Bryan Cazabonne</name>
+    </contributor>
     <contributor>
       <name>Paul Cefola</name>
     </contributor>
diff --git a/src/main/java/org/orekit/models/earth/EstimatedTroposphericModel.java b/src/main/java/org/orekit/models/earth/EstimatedTroposphericModel.java
index f09dbd109..6860d3593 100644
--- a/src/main/java/org/orekit/models/earth/EstimatedTroposphericModel.java
+++ b/src/main/java/org/orekit/models/earth/EstimatedTroposphericModel.java
@@ -75,7 +75,7 @@ public class EstimatedTroposphericModel implements DiscreteTroposphericModel {
      * @param totalDelay initial value for the tropospheric zenith total delay [m]
      */
     public EstimatedTroposphericModel(final double t0, final double p0,
-                                    final MappingFunction model, final double totalDelay) {
+                                      final MappingFunction model, final double totalDelay) {
 
         totalZenithDelay = new ParameterDriver(EstimatedTroposphericModel.TOTAL_ZENITH_DELAY,
                                                totalDelay, FastMath.scalb(1.0, 0), 0.0, Double.POSITIVE_INFINITY);
diff --git a/src/main/java/org/orekit/overview.html b/src/main/java/org/orekit/overview.html
index f8b5e7cc1..70561f532 100644
--- a/src/main/java/org/orekit/overview.html
+++ b/src/main/java/org/orekit/overview.html
@@ -209,7 +209,8 @@ discrete events. Here is a short list of the features offered by the library:</p
           <li>force model parameters estimation (drag coefficients, radiation pressure coefficients,
               central attraction, maneuver thrust or flow rate)</li>
           <li>measurements parameters estimation (biases, satellite clock offset, station clock offset,
-              station position, pole motion and rate, prime meridian correction and rate)</li>
+              station position, pole motion and rate, prime meridian correction and rate, total
+              zenith delay in tropospheric correction)</li>
         </ul>
       </li>
       <li>multi-satellites orbit determination</li>
@@ -271,7 +272,7 @@ discrete events. Here is a short list of the features offered by the library:</p
   </li>
   <li>Earth models
     <ul>
-      <li>tropospheric delay (modified Saastamoinen)</li>
+      <li>tropospheric delay (modified Saastamoinen, Mendes-Pavlis, Vienna 1, Vienna 2, estimated, fixed)</li>
       <li>tropospheric refraction correction angle (Recommendation ITU-R P.834-7 and Saemundssen's formula quoted by Meeus)</li>
       <li>tropospheric model for laser ranging (Marini-Murray)</li>
       <li>Klobuchar ionospheric model (including parsing α and β coefficients from University of Bern Astronomical Institute files)</li>
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 87b17c12e..e11b76d10 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -186,7 +186,8 @@
       * force model parameters estimation (drag coefficients, radiation pressure coefficients,
         central attraction, maneuver thrust or flow rate)
       * measurements parameters estimation (biases, satellite clock offset, station clock offset,
-        station position, pole motion and rate, prime meridian correction and rate)
+        station position, pole motion and rate, prime meridian correction and rate, total zenith
+        delay in tropospheric correction)
 
     * multi-satellites orbit determination
     * ground stations displacements due to solid tides
@@ -240,7 +241,7 @@
 
   * Earth models
   
-    * tropospheric delay (modified Saastamoinen)
+    * tropospheric delay (modified Saastamoinen, Mendes-Pavlis, Vienna 1, Vienna 2, estimated, fixed)
     * tropospheric refraction correction angle (Recommendation ITU-R P.834-7 and Saemundssen's formula quoted by Meeus)
     * tropospheric model for laser ranging (Marini-Murray)
     * Klobuchar ionospheric model (including parsing α and β coefficients from University of Bern Astronomical Institute files)
diff --git a/src/site/xdoc/changes.xml b/src/site/xdoc/changes.xml
index b6ab2a8f0..8ee817a7f 100644
--- a/src/site/xdoc/changes.xml
+++ b/src/site/xdoc/changes.xml
@@ -21,6 +21,14 @@
   </properties>
   <body>
     <release version="TBD" date="TBD" description="TBD">
+      <action dev="bryan" type="add" issue="498">
+        Added several tropospheric models: Mendes-Pavlis, Vienna 1, Vienna 3, estimated model
+        where the total zenith delay can be estimated during Orbit Determination.
+      </action>
+      <action dev="bryan" type="add" issue="498">
+        Added Global Mapping Function and Niell Mapping Function to be used with tropospheric
+        models.
+      </action>
       <action dev="luc" type="add" issue="515">
         Added clock offset parameter at satellites level for orbit determination.
       </action>
-- 
GitLab