
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@cumulus/files-to-granules
Advanced tools
Converts array-of-files input into a granules object by extracting granuleId from filename
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.
FAQs
Converts array-of-files input into a granules object by extracting granuleId from filename
The npm package @cumulus/files-to-granules receives a total of 569 weekly downloads. As such, @cumulus/files-to-granules popularity was classified as not popular.
We found that @cumulus/files-to-granules demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.