Skip to content

Commit

Permalink
added azimuth value in view namespace
Browse files Browse the repository at this point in the history
fixes #59
  • Loading branch information
volaya committed Feb 11, 2021
1 parent 5ca1e8d commit 70dc0de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stactools_planet/stactools/planet/planet_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def to_stac(self):
# view
item.ext.enable('view')
item.ext.view.off_nadir = props.pop('view_angle')
item.ext.view.azimuth = props.pop('satellite_azimuth')
item.ext.view.sun_azimuth = props.pop('sun_azimuth')
item.ext.view.sun_elevation = props.pop('sun_elevation')

Expand Down

0 comments on commit 70dc0de

Please sign in to comment.