Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include information on HLS Fmask layer in HLS-VI metadata #47

Open
madhuksridhar opened this issue Dec 16, 2024 · 0 comments
Open

include information on HLS Fmask layer in HLS-VI metadata #47

madhuksridhar opened this issue Dec 16, 2024 · 0 comments
Assignees

Comments

@madhuksridhar
Copy link
Collaborator

madhuksridhar commented Dec 16, 2024

As requested by @junchangju , we need to include HLS Fmask information in HLS-VI granule metadata. After discussion with LPDAAC, it was recommended to include a link to Fmask layer in the <OnlineAccessURLs> attribute in the metadata.

Typically, <OnlineAccessURLs> in the metadata is populated with correct links by LPDAAC during Cumulus ingestion.

LPDAAC confirmed that Cumulus workflow appends individual urls (and does not overwrite). Therefore, if we include the https and s3 links to the HLS Fmask layer under <OnlineAccessURL> in the cmr.xml metadata file when we deliver the HLS granule to LPDAAC, these links should be retained during Cumulus ingestion.

The structure of the <URL> field is
https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/{collection_shortname}/{granule_id}/{granule_id}.Fmask.tif
and
s3://lp-prod-protected/{collection_shortname}/{granule_id}/{granule_id}.Fmask.tif

collection_shortname either being HLSL30.020 or HLSS30.020.

For example, metadata for L30 VI granule HLS-VI.L30.T56JMM.2024349T233644.v2.0 that we generate should include

<OnlineAccessURL>
      <URL>https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/HLSL30.020/HLS.L30.T56JMM.2024349T233644.v2.0/HLS.L30.T56JMM.2024349T233644.v2.0.Fmask.tif</URL>
      <URLDescription>Download HLS.L30.T56JMM.2024349T233644.v2.0.Fmask.tif</URLDescription>
</OnlineAccessURL>

<OnlineAccessURL>
      <URL>s3://lp-prod-protected/HLSL30.020/HLS.L30.T56JMM.2024349T233644.v2.0/HLS.L30.T56JMM.2024349T233644.v2.0.Fmask.tif</URL>
      <URLDescription>This link provides direct download access via S3 to the Fmask quality layer HLS.L30.T56JMM.2024349T233644.v2.0.Fmask.tif</URLDescription>
</OnlineAccessURL>

For example, metadata for S30 VI granule HLS-VI.S30.T11SQS.2024340T182649.v2.0 that we generate should include

<OnlineAccessURL>
      <URL>https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/HLSS30.020/HLS.S30.T11SQS.2024340T182649.v2.0/HLS.S30.T11SQS.2024340T182649.v2.0.Fmask.tif</URL>
      <URLDescription>Download Fmask quality layer HLS.S30.T11SQS.2024340T182649.v2.0.Fmask.tif</URLDescription>
</OnlineAccessURL>

<OnlineAccessURL>
      <URL>s3://lp-prod-protected/HLSS30.020/HLS.S30.T11SQS.2024340T182649.v2.0/HLS.S30.T11SQS.2024340T182649.v2.0.Fmask.tif</URL>
      <URLDescription>This link provides direct download access via S3 to the Fmask quality layer HLS.S30.T11SQS.2024340T182649.v2.0.Fmask.tif</URLDescription>
</OnlineAccessURL>

@junchangju Please review the <URLDescription> fields above and confirm that this is acceptable.

cc: @sharkinsspatial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants