Skip to content

Commit

Permalink
Corrections to wind speed averaging times
Browse files Browse the repository at this point in the history
Reset default conversion factor to represent 1-min to 0.2-sec wind speed;
Correct conversion between 1-min and 10-min mean for TCMIP
  • Loading branch information
wcarthur committed Aug 20, 2015
1 parent 6da4a16 commit a0e77bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions wind/__init__.py
Expand Up @@ -157,10 +157,10 @@ class WindfieldAroundTrack(object):
:param margin:
:type resolution: float
:param resolution:
:param resolution: Grid resolution (in degrees)
:type gustFactor: float
:param gustFactor:
:param gustFactor: Conversion from 1-min mean to 0.2-sec gust wind speed.
:type gridLimit: :class:`dict`
:param gridLimit: the domain where the tracks will be generated.
Expand All @@ -173,8 +173,8 @@ class WindfieldAroundTrack(object):
"""

def __init__(self, track, profileType='powell', windFieldType='kepert',
beta=1.5, beta1=1.5, beta2=1.4, thetaMax=70.0,
margin=2.0, resolution=0.05, gustFactor=1.23,
beta=1.3, beta1=1.5, beta2=1.4, thetaMax=70.0,
margin=2.0, resolution=0.05, gustFactor=1.188,
gridLimit=None, domain='bounded'):
self.track = track
self.profileType = profileType
Expand Down Expand Up @@ -494,7 +494,7 @@ def calculateExtremesFromTrack(self, track, callback=None):
margin=self.margin,
resolution=self.resolution,
gridLimit=self.gridLimit,
gustFactor=0.9009,
gustFactor=0.9355,
domain=self.domain)

return track, wt.regionalExtremes(self.gridLimit, callback)
Expand Down
6 changes: 5 additions & 1 deletion wind/windmodels.py
Expand Up @@ -20,6 +20,10 @@
to storm forward motion, and the effects of (uniform) surface
roughness.
Wind speeds are assumed to represent a 1-minute mean wind
speed. Conversion to other averaging periods is performed by
application of gust factors in the calling classes.
:Note: Not all models are fully implemented - some cannot be fully
implemented, as the mathematical formulation results in
discontinuous profiles (e.g. Rankine vortex), for which a
Expand All @@ -28,7 +32,7 @@
:class:`windmodels.KepertWindFieldModel`. Users should
carefully select the combinations of wind profiles and wind
fields to ensure sensible results.
"""

import numpy as np
Expand Down

0 comments on commit a0e77bc

Please sign in to comment.