This lambda function converts array-of-files input payloads into granule object output payloads. It is primarily intended to support compatibility with the standard output of a cumulus-process task, and convert that output into a granule object accepted as input by the majority of other Cumulus tasks.
For more information on configuring a Cumulus Message Adapter task, see the Cumulus workflow input/output documentation.
Config object fields:
field name | type | default | description |
---|---|---|---|
inputGranules | array<object> | (required) | Granules to which the files belong |
granuleIdExtraction | string | (.*) | Regex used to extract granuleId from filenames |
Input array specification:
field name | type | default | description |
---|---|---|---|
N/A | array<string> | (required) | Array of S3 URIs (i.e. s3://bucket/path/to/file ); |
Output object fields:
field name | type | default | description |
---|---|---|---|
granules | array<object> | N/A | Array of inputGranules merged with S3 files input |
Cumulus is a cloud-based data ingest, archive, distribution and management prototype for NASA's future Earth science data streams.
To make a contribution, please see our contributing guidelines.