We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 972e9dc commit fbcbfabCopy full SHA for fbcbfab
openfast_toolbox/fastfarm/FASTFarmCaseCreation.py
@@ -342,7 +342,7 @@ def _checkInputs(self):
342
if self.Cmeander <= 0: raise ValueError('Cmeander cannot be negative')
343
if self.tmax <= 0: raise ValueError('A positive tmax should be requested')
344
if self.zbot <= 0: raise ValueError('zbot should be greater than 0 (recommended 1)')
345
- if self.phi_deg < 0: raise ValueError('phi_deg should be given in the interval [0, 360)')
+ if self.phi_deg <-180 or self.phi_deg>180: raise ValueError('phi_deg should be given in the interval [-180, 180]')
346
347
# Ensure quantities are list
348
self.vhub = [self.vhub] if isinstance(self.vhub,(float,int)) else self.vhub
0 commit comments