gesdisc_merra_sync.py

  • Syncs MERRA-2 surface mass balance (SMB) related products from the Goddard Earth Sciences Data and Information Server Center (GES DISC)

  • tavgM_2d_int (Vertically Integrated Diagnostics) collection:

    • PRECCU (convective rain)

    • PRECLS (large-scale rain)

    • PRECSN (snow)

    • EVAP (evaporation)

  • tavgM_2d_glc (Land Ice Surface Diagnostics) collection:

    • RUNOFF (runoff over glaciated land)

Source code

Calling Sequence

usage: gesdisc_merra_sync.py [-h] [--user USER] [--password PASSWORD]
                             [--netrc NETRC] [--directory DIRECTORY]
                             [--version VERSION] [--year YEAR [YEAR ...]]
                             [--timeout TIMEOUT] [--log] [--list] [--clobber]
                             [--mode MODE]

Named Arguments

--user, -U

Username for NASA Earthdata Login

--password, -W

Password for NASA Earthdata Login

--netrc, -N

Path to .netrc file for authentication

--directory, -D

Working data directory

--version, -v

MERRA-2 version

--year, -Y

Years of model outputs to sync

--timeout, -t

Timeout in seconds for blocking operations

--log, -l

Output log file

--list, -L

Only print files that could be transferred

--clobber, -C

Overwrite existing data in transfer

--mode, -M

Permission mode of directories and files synced