gesdisc_gldas_sync.py

  • Syncs GLDAS monthly datafiles from the Goddard Earth Sciences Data and Information Server Center (GES DISC)

Source code

Calling Sequence

usage: gesdisc_gldas_sync.py [-h] [--user USER] [--password PASSWORD]
                             [--netrc NETRC] [--directory DIRECTORY]
                             [--year YEAR [YEAR ...]] [--version VERSION]
                             [--spacing {10,025}] [--temporal {M,3H}]
                             [--early] [--timeout TIMEOUT] [--log] [--list]
                             [--clobber] [--mode MODE]
                             {CLM,CLSM,MOS,NOAH,VIC} [{CLM,CLSM,MOS,NOAH,VIC} ...]

Positional Arguments

model

Possible choices: CLM, CLSM, MOS, NOAH, VIC

GLDAS land surface model

  • 'CLM': GLDAS Community Land Model

  • 'CLSM': GLDAS Catchment Land Surface Model

  • 'MOS': GLDAS Mosaic model

  • 'NOAH': GLDAS Noah model

  • 'VIC': GLDAS Variable Infiltration Capacity model

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

--year, -Y

Years of model outputs to sync

--version, -v

GLDAS model version

--spacing, -S

Possible choices: 10, 025

Spatial resolution of models to sync

  • '10': 1.0 degrees latitude/longitude

  • '025': 0.25 degrees latitude/longitude

--temporal, -T

Possible choices: M, 3H

Temporal resolution of models to sync

  • 'M': Monthly

  • '3H': 3-hourly

--early, -e

Sync GLDAS early products

--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