Last active
November 2, 2017 15:25
-
-
Save blaylockbk/d1978e7865490d362c9c96e1e3d4348e 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) | |
# variable string | |
variable = 'TMP:2 m' # Must be part of a line in the .idx file | |
# ============================================================= | |
days = (eDATE-sDATE).days | |
DATES = [sDATE + timedelta(days=d) for d in range(days)] | |
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