Skip to content

Commit

Permalink
updated download call
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienJaussaudGeosys committed May 30, 2024
1 parent 340052d commit b00de4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geosyspy/geosys.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def get_satellite_coverage_image_references_post(self,

return df, images_references

def download_image(self, image_ref, path: str = ""):
def download_image(self, image_ref, indicator: str = "", path: str = ""):
"""Downloads a satellite image locally
Args:
Expand All @@ -339,7 +339,7 @@ def download_image(self, image_ref, path: str = ""):
"""

response_zipped_tiff = self.__map_product_service.get_zipped_tiff(
image_ref.season_field_id, image_ref.image_id
image_ref.season_field_id, image_ref.image_id, indicator = indicator
)
if path == "":
file_name = image_ref.image_id.replace("|", "_")
Expand Down

0 comments on commit b00de4c

Please sign in to comment.