Skip to content

Commit

Permalink
Fix for BKA (removed wrong incidence angle value)
Browse files Browse the repository at this point in the history
  • Loading branch information
floeschau committed Jan 10, 2025
1 parent ffd494d commit b638434
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
6792,
3057
],
"view:incidence_angle": 2.31,
"view:sun_azimuth": 6.84,
"view:sun_elevation": 84.08,
"processing:level": "L1B",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
34087,
17123
],
"view:incidence_angle": 2.31,
"view:sun_azimuth": 6.8,
"view:sun_elevation": 84.08,
"processing:level": "L1B",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
6791,
3052
],
"view:incidence_angle": 2.31,
"view:sun_azimuth": 6.84,
"view:sun_elevation": 84.08,
"processing:level": "L1C",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
34082,
17110
],
"view:incidence_angle": 2.31,
"view:sun_azimuth": 6.8,
"view:sun_elevation": 84.08,
"processing:level": "L1C",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
4441,
2633
],
"view:incidence_angle": 1.65,
"view:sun_azimuth": 2.59,
"view:sun_elevation": 44.38,
"processing:level": "L1C",
Expand Down
2 changes: 1 addition & 1 deletion src/Stars.Data/Model/Metadata/Bka/BkaMetadataExtractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private void AddProjViewExtension(BkaMetadata[] metadata, StacItem stacItem)
}
}
}
if (viewingAngleCount != 0) view.IncidenceAngle = viewingAngleSum / viewingAngleCount;
//if (viewingAngleCount != 0) view.IncidenceAngle = viewingAngleSum / viewingAngleCount;
if (sunAzimuthCount != 0) view.SunAzimuth = sunAzimuthSum / sunAzimuthCount;
if (sunElevationCount != 0) view.SunElevation = sunElevationSum / sunElevationCount;
}
Expand Down

0 comments on commit b638434

Please sign in to comment.