Skip to content

Commit

Permalink
Add changes requested by GIBS team.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkinsspatial committed Sep 2, 2020
1 parent 6cda11c commit 66b3190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hls_manifest/hls_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def main(inputdir, outputfile, bucket, collection, product, jobid, gibs):
manifest["identifier"] = jobid
manifest["duplicationid"] = product
manifest["version"] = "1.4"
manifest["submissionTime"] = datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%S")
manifest["submissionTime"] = datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%SZ")
files = []
for filename in os.listdir(inputdir):
if filename.endswith(".tif") or filename.endswith(".jpg") or filename.endswith(".xml"):
Expand All @@ -86,7 +86,7 @@ def main(inputdir, outputfile, bucket, collection, product, jobid, gibs):
product_name = product_components[0]
if filename.endswith(".tif"):
file_item["type"] = "browse"
file_item["subtype"] = "browse"
file_item["subtype"] = "geotiff"
if filename.endswith(".xml"):
file_item["type"] = "metadata"
file_item["subtype"] = "ImageMetadata-v1.2"
Expand Down

0 comments on commit 66b3190

Please sign in to comment.