Skip to content

Commit 58c9477

Browse files
authored
First velocity (#311)
- Equation to estimated first velocity correction corrected in GKA import using Trimble Access General Survey (2011, p. 581)
1 parent 691e39a commit 58c9477

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

JAG3D/src/org/applied_geodesy/jag3d/ui/io/GKAFileReader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public void parse(String line) throws SQLException {
157157
try {temperature = Double.parseDouble(columns[26].trim());} catch(NumberFormatException e) {temperature = 99.99;};
158158

159159
scale = this.getFirstVelocityCorrection(temperature, pressure);
160+
scale = scale > 0 ? scale : 1.0;
160161
}
161162

162163
double distance = 0;
@@ -303,8 +304,7 @@ public static ExtensionFilter[] getExtensionFilters() {
303304
private double getFirstVelocityCorrection(double temperature, double pressure) {
304305
if (this.edmCarrierWavelength == null || this.edmRefractiveIndex == null || pressure == 99.99 || temperature == 99.99)
305306
return 1.0;
306-
// Ferhat, G., Rouillon, H. and Malet J.-P. 2020: Analysis of atmospheric refraction
307-
// on Electronic Distance Measurements applied to landslide monitoring, Eq. (5)
308-
return 1.0 + (this.edmCarrierWavelength - this.edmRefractiveIndex * pressure / (temperature + 273.16)) * 1.0E-6;
307+
// Trimble Access General Survey (2011, p. 581)
308+
return 1.0 + (this.edmRefractiveIndex - this.edmCarrierWavelength * pressure / (temperature + 273.16)) * 1.0E-6;
309309
}
310310
}

0 commit comments

Comments
 (0)