How do I download 10 m and 80 m wind data for a range of dates? #9
Answered
by
blaylockbk
blaylockbk
asked this question in
Q&A
-
From an email: "I want to download just the 10 m and 80 m winds for the model analysis for a short period of time." |
Beta Was this translation helpful? Give feedback.
Answered by
blaylockbk
Apr 6, 2021
Replies: 1 comment 3 replies
-
The secret sauce is knowing how to specify the search string to find both the U and V wind field for 10 m and 80 m winds. In this case, we use regular expression to set from herbie.tools import fast_Herbie_download
import pandas as pd
# Range of dates (in UTC) at hourly frequency, for 3 days
DATES = pd.date_range('2021-02-01 00:00', '2021-02-03 00:00', freq='1H')
# Download the data, just U and V winds at 10 and 80 m for the model analysis
d = fast_Herbie_download(
DATES,
model='hrrr',
product='sfc',
searchString='(?:U|V)GRD:(?:10|80) m',
fxx=0
)
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
blaylockbk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The secret sauce is knowing how to specify the search string to find both the U and V wind field for 10 m and 80 m winds. In this case, we use regular expression to set
searchString='(?:U|V)GRD:(?:10|80) m'