1 /* Copyright 2022-2025 Thales Alenia Space
2 * Licensed to CS GROUP (CS) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * CS licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package org.orekit.models.earth.troposphere;
18
19 /** Container for tropospheric delay.
20 * @author Luc Maisonobe
21 * @since 12.1
22 */
23 public class TroposphericDelay {
24
25 /** Hydrostatic zenith delay (m). */
26 private final double zh;
27
28 /** Wet zenith delay (m). */
29 private final double zw;
30
31 /** Hydrostatic slanted delay (m). */
32 private final double sh;
33
34 /** Wet slanted delay (m). */
35 private final double sw;
36
37 /** Simple constructor.
38 * @param zh hydrostatic zenith delay (m)
39 * @param zw wet zenith delay (m)
40 * @param sh hydrostatic slanted delay (m)
41 * @param sw wet slanted delay (m)
42 */
43 public TroposphericDelay(final double zh, final double zw, final double sh, final double sw) {
44 this.zh = zh;
45 this.zw = zw;
46 this.sh = sh;
47 this.sw = sw;
48 }
49
50 /** Get hydrostatic zenith delay (m).
51 * @return hydrostatic zenith delay (m)
52 */
53 public double getZh() {
54 return zh;
55 }
56
57 /** Get wet zenith delay (m).
58 * @return wet zenith delay (m)
59 */
60 public double getZw() {
61 return zw;
62 }
63
64 /** Get slanted delay (m).
65 * @return slanted delay (m)
66 */
67 public double getSh() {
68 return sh;
69 }
70
71 /** Get wet slanted delay (m).
72 * @return wet slanted delay (m)
73 */
74 public double getSw() {
75 return sw;
76 }
77
78 /** Get the total slanted delay (m).
79 * @return total slanted delay (m)
80 */
81 public double getDelay() {
82 return sh + sw;
83 }
84
85 }