How do I download 15-minute HRRR data? #67
-
Hello, Thank you very much for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Yes, you can download HRRR 15-min data with from herbie.archive import Herbie
H = Herbie('2022-04-07 00:00', model='hrrr', product='subh', fxx=2)
SubsettingIf you only want, for example, the temperature data, you can use the searchString argument to subset. Reading the index file for a subset is a quick way to verify the searchString H = Herbie('2022-04-07 00:00', model='hrrr', product='subh', fxx=2)
H.read_idx(searchString="TMP") The data can be read into xarray with ds = H.xarray(searchString="TMP") When you do that, it seems that cfgrib doesn't want to read all the fields in the same Dataset (it returned a list of two Datasets), but you can combine them with import xarray as xr
ds_new = xr.concat(ds, dim='step', data_vars=['t2m']) |
Beta Was this translation helpful? Give feedback.
-
@blaylockbk I am trying to use HRRR to extract wind speeds (at 80 m)/solar potential to calculate the potential for renewable energies at each point. I am ok with using historical data rather than predictions, but I wonder if historical data (based on observation) is included in HRRR. What is the Thank you. |
Beta Was this translation helpful? Give feedback.
Yes, you can download HRRR 15-min data with
product="subh"
(subh is for subhourly).fxx=0
is the analsyisfxx=1
will return the variables at 15, 30, 45, and 60 minutes since the analysis.fxx=2
will return the variables at 75, 90, 105, and 120 minutes since the analysis,Subsetting
If you only want, for example, the temperature data, you can use the searchString argument to subset.
Reading the index file for a subset is a quick way to verify the searchString
The data can be read int…