ucar_rda_cfsr_surface.py

  • Downloads NCEP-CFSR products using a links list csh file provided by the NCAR/UCAR Research Data Archive (RDA)

  • For CFSR version 2 files: combines monthly files into yearly to standardize between versions

Source code

Calling Sequence

usage: ucar_rda_cfsr_surface.py [-h] [--user USER] [--password PASSWORD]
                                [--netrc NETRC] [--directory DIRECTORY]
                                [--year YEAR [YEAR ...]] [--isentropic]
                                [--gzip] [--timeout TIMEOUT] [--log]
                                [--mode MODE]
                                file [file ...]

Positional Arguments

file

UCAR links list file

Named Arguments

--user, -U

Username for UCAR/NCAR RDA Login

--password, -W

Password for UCAR/NCAR RDA Login

--netrc, -N

Path to .netrc file for authentication

--directory, -D

Working data directory

--year, -Y

Years to download from input links file

--isentropic, -I

Input data is over isentropic levels

--gzip, -G

Input data is compressed

--timeout, -t

Timeout in seconds for blocking operations

--log, -l

Output log file

--mode, -M

Permission mode of directories and files synced