1 parent 43792b0 commit e564635Copy full SHA for e564635
1 file changed
src/herbie/core.py
@@ -223,6 +223,9 @@ def __init__(
223
# (see https://stackoverflow.com/a/7936588/2383070 for what I'm doing here)
224
getattr(model_templates, self.model).template(self)
225
226
+ # Check the user input
227
+ self._validate()
228
+
229
if product is None:
230
# The user didn't specify a product, so let's use the first
231
# product in the model template.
@@ -246,9 +249,6 @@ def __init__(
246
249
247
250
self.search_help = _search_help(self.IDX_STYLE)
248
251
- # Check the user input
- self._validate()
-
252
# Ok, now we are ready to look for the GRIB2 file at each of the remote sources.
253
# self.grib is the first existing GRIB2 file discovered.
254
# self.idx is the first existing index file discovered.
0 commit comments