Skip to content

Commit

Permalink
Close #77 by using static Explorer link
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt committed Mar 25, 2024
1 parent aed32ed commit 5d2e8fe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions intertidal/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,14 +1133,10 @@ def export_dataset_metadata(
# Export STAC metadata using destination path to correctly
# populate required metadata/dataset links. This step
# also ensures all previous data was written out correctly.
if "dea-public-data-dev" in output_location:
explorer_url = "https://explorer.dev.dea.ga.gov.au"
else:
explorer_url = "https://explorer.dea.ga.gov.au"
_write_stac(
dataset_assembler,
destination_path=destination_path,
explorer_base_url=explorer_url,
explorer_base_url="https://explorer.dea.ga.gov.au",
)

# Either sync to S3 or copy files to local destination
Expand Down

0 comments on commit 5d2e8fe

Please sign in to comment.