ucar_rda_jra55_surface.py

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

  • JRA-55 6-hour data is more regularly updated compared with the monthly means

  • Combines 6-hour model outputs into monthly averages

  • Will extract data files if compressed into a single tar file

Source code

Calling Sequence

usage: ucar_rda_jra55_surface.py [-h] [--user USER] [--password PASSWORD]
                                 [--netrc NETRC] [--directory DIRECTORY]
                                 [--year YEAR [YEAR ...]] [--interpolated]
                                 [--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

--interpolated, -I

Input data is interpolated to 1.25 degrees

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

Notes

  • Need to make small enough requests so that the data comes in a single tar file or as single files

  • Large requests coming in multiple tar files are presently not supported