scp_pgc_dem_strips.py

  • Copies PGC REMA DEM and ArcticDEM strip data between a local host and a remote host

Source code

Calling Sequence

usage: scp_pgc_dem_strips.py [-h] [--host HOST] [--user USER]
                             [--directory DIRECTORY] [--remote REMOTE]
                             [--year YEAR [YEAR ...]]
                             [--instrument INSTRUMENT [INSTRUMENT ...]]
                             [--list] [--timeout TIMEOUT] [--retry RETRY]
                             [--verbose] [--clobber] [--mode MODE]

Named Arguments

--host, -H

Hostname of the remote server

--user, -U

Remote server username

--directory, -D

Local working directory

--remote, -d

Remote working directory

--year, -Y

Possible choices: 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017

Years to sync

--instrument, -I

Possible choices: GE01, W1W1, W1W2, W1W3, W2W2, W2W3, W3W3, WV01, WV02, WV03, WV04

Instrument to sync

--list, -L

Only print files that could be transferred

--timeout, -T

Timeout in seconds for blocking operations

--retry, -R

Connection retry attempts

--verbose, -V

Verbose output of run

--clobber, -C

Overwrite existing data

--mode, -M

Permissions mode of output directories and files