Last active
November 2, 2017 15:23
-
-
Save blaylockbk/8ff6174ec9b00c741f29f5fe76ba6a6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# === User change these parameters ================================ | |
# date range | |
sDATE = date(2017, 3, 10) # Start date | |
eDATE = date(2017, 3, 13) # End date (exclusive) | |
# list of variables | |
variables = ['TMP:2 m', 'DPT:2 m', 'UGRD:10 m', 'VGRD:10 m'] | |
# ================================================================= | |
days = (eDATE-sDATE).days | |
DATES = [sDATE + timedelta(days=d) for d in range(days)] | |
for variable in variables: | |
for DATE in DATES: | |
download_HRRR_variable_from_pando(DATE, variable, | |
hours=range(0, 24), fxx=[0], | |
model='hrrr', field='sfc', | |
outdir='./') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment