Skip to content

Commit

Permalink
Merge pull request #7 from NASA-IMPACT/fix/gibs_requests
Browse files Browse the repository at this point in the history
Use collection key requested by GIBs team.
  • Loading branch information
sharkinsspatial authored Sep 2, 2020
2 parents 4cc21ad + 55abd45 commit 9715c7f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion hls_manifest/hls_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,14 @@ def main(inputdir, outputfile, bucket, collection, product, jobid, gibs):
PRODUCT is the root product identifier with no extension.
"""
manifest = {}
manifest["collection"] = collection
if gibs:
if collection == "HLSS30":
manifest["collection"] = "HLS_S30_Nadir_BRDF_Adjusted_Reflectance_v1.5_STD"
if collection == "HLSSL30":
manifest["collection"] = "HLS_L30_Nadir_BRDF_Adjusted_Reflectance_v1.5_STD"
else:
manifest["collection"] = collection

manifest["identifier"] = jobid
manifest["duplicationid"] = product
manifest["version"] = "1.4"
Expand Down

0 comments on commit 9715c7f

Please sign in to comment.