Skip to content

Commit

Permalink
Merge pull request #919 from lossyrob/view/sun_elevation
Browse files Browse the repository at this point in the history
Modify valid range for sun_elevation to be -90-90.
  • Loading branch information
cholmes committed Feb 3, 2021
2 parents 36690aa + a94e382 commit 75ac208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extensions/view/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This document explains the fields of the View Geometry Extension to a STAC Item.
| view:incidence_angle | number | The incidence angle is the angle between the vertical (normal) to the intercepting surface and the line of sight back to the satellite at the scene center. Measured in degrees (0-90). |
| view:azimuth | number | Viewing azimuth angle. The angle measured from the sub-satellite point (point on the ground below the platform) between the scene center and true north. Measured clockwise from north in degrees (0-360). |
| view:sun_azimuth | number | Sun azimuth angle. From the scene center point on the ground, this is the angle between truth north and the sun. Measured clockwise in degrees (0-360). |
| view:sun_elevation | number | Sun elevation angle. The angle from the tangent of the scene center point to the sun. Measured from the horizon in degrees (0-90). |
| view:sun_elevation | number | Sun elevation angle. The angle from the tangent of the scene center point to the sun. Measured from the horizon in degrees (`-90`-`90`). Negative values indicate the sun is below the horizon, Negative values indicate the sun is below the horizon, e.g. sun elevation of -10° means the data was captured during [nautical twilight](https://www.timeanddate.com/astronomy/different-types-twilight.html). |

*At least one of the fields must be specified.*

Expand Down
2 changes: 1 addition & 1 deletion extensions/view/json-schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"view:sun_elevation": {
"title": "Sun Elevation",
"type": "number",
"minimum": 0,
"minimum": -90,
"maximum": 90
}
}
Expand Down

0 comments on commit 75ac208

Please sign in to comment.