@cumulus/move-granules
This lambda function is responsible for moving granule files from a file staging location to their final location.
Message Configuration
For more information on configuring a Cumulus Message Adapter task, see the Cumulus workflow input/output documentation.
Config
Config object fields:
field name | type | default | values | description |
---|---|---|---|---|
bucket | string | (required) | Name of the source AWS S3 bucket that contains the granule files | |
buckets | object | (required) | Object specifying AWS S3 buckets used by this task | |
collection | object | (required) | The cumulus-api collection object | |
distribution_endpoint | string | (required) | The API distribution endpoint | |
duplicateHandling | string | error |
|
Specifies how duplicate filenames should be handled |
moveStagedFiles | boolean | true |
Can set to false to skip moving files from the staging location. Defaults to true . |
|
s3MultipartChunksizeMb | number | S3 multipart upload chunk size in MB. If none is specified, the default default_s3_multipart_chunksize_mb is used. |
Input
Input object fields:
field name | type | default | description |
---|---|---|---|
granules | array<object> | (required) | List of granule objects |
Output
Output object fields:
field name | type | default | description |
---|---|---|---|
granules | array<object> | N/A | List of granule objects with updated S3 location information |
About Cumulus
Cumulus is a cloud-based data ingest, archive, distribution and management prototype for NASA's future Earth science data streams.
Contributing
To make a contribution, please see our contributing guidelines.