Nomnom Pumpernickle Muffins

    @cumulus/move-granules

    12.0.0 • Public • Published

    @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) Bucket with public/private key for decrypting CMR password
    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
    • 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
    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.

    Cumulus Documentation

    Contributing

    To make a contribution, please see our contributing guidelines.

    Keywords

    none

    Install

    npm i @cumulus/move-granules

    DownloadsWeekly Downloads

    152

    Version

    12.0.0

    License

    Apache-2.0

    Unpacked Size

    35.4 MB

    Total Files

    18

    Last publish

    Collaborators

    • botanical
    • aortega527
    • cumuluspublisher
    • mboyd
    • lfrederick
    • nemreid
    • kkelly51
    • nsidc_kovarik
    • flamingbear
    • jennyhliu
    • npauzenga
    • dopeters