@cumulus/sync-granule

18.3.0 • Public • Published

@cumulus/sync-granule

Download a given granule from a given provider to S3

Message Configuration

Config

field name type default values description
buckets object (required) Object specifying AWS S3 buckets used by this task
downloadBucket string (required) Name of AWS S3 bucket to use when downloading files
provider object (required) The cumulus-api provider object
collection object The cumulus-api collection object
duplicateHandling string error
  • error - Throws an error on duplicates
  • replace - Replaces the existing file
  • skip - Skips the duplicate file
  • version - Adds a suffix to the existing filename to avoid a clash
Specifies how duplicate filenames should be handled
fileStagingDir string file-staging Directory used for staging location of files. Granules are further organized by stack name and collection name making the full path file-staging/<stack name>/<collection name>
pdr object Object containing the name and path for a PDR file
stack string The name of the deployment stack to use. Useful as a prefix.
workflowStartTime integer Specifies the start time (as a timestamp) for the current workflow and will be used as the createdAt time for granules output. If the specified timestamp is in the future, then the current time will be used instead.

About Cumulus

Cumulus is a cloud-based data ingest, archive, distribution and management prototype for NASA's future Earth science data streams.

Cumulus Documentation

Contributing

To make a contribution, please see our contributing guidelines.

Readme

Keywords

none

Package Sidebar

Install

npm i @cumulus/sync-granule

Weekly Downloads

124

Version

18.3.0

License

Apache-2.0

Unpacked Size

56.4 MB

Total Files

18

Last publish

Collaborators

  • cumuluspublisher
  • nsidc_kovarik
  • jennyhliu
  • npauzenga