Path profile Tx height bugfix for some models

This commit is contained in:
alex
2017-03-19 19:55:09 +00:00
parent 13605e1e82
commit e943a28d3c
7 changed files with 87 additions and 45 deletions

View File

@@ -336,7 +336,8 @@ void PlotPropPath(struct site source, struct site destination,
Longley-Rice. This information is required for properly
integrating the antenna's elevation pattern into the
calculation for overall path loss. */
if(debug)
fprintf(stderr,"four_thirds_earth %.1f source.alt %.1f path.elevation[0] %.1f\n",four_thirds_earth,source.alt,path.elevation[0]);
for (y = 2; (y < (path.length - 1) && path.distance[y] <= max_range);
y++) {
/* Process this point only if it
@@ -445,8 +446,6 @@ void PlotPropPath(struct site source, struct site destination,
dkm = (elev[1] * elev[0]) / 1000; // km
switch (propmodel) {
case 1:
// Longley Rice ITM