Skip to content

Commit

Permalink
Hirlam model has been removed -> switch to Harmonie.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimmo Huoman authored and kipe committed Nov 15, 2022
1 parent cd00ac1 commit d682f9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fmi/fmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ def observations(self, **params):
maxlocations=1,
**params)

def forecast(self, model='hirlam', **params):
if model not in ['hirlam', 'harmonie']:
raise ValueError('model must be one of "hirlam", "harmonie"')
def forecast(self, model='harmonie', **params):
if model not in ['harmonie']:
raise ValueError('model must be "harmonie"')
return self.get(
'fmi::forecast::%s::surface::point::timevaluepair' % (model),
maxlocations=1,
Expand Down

0 comments on commit d682f9b

Please sign in to comment.