Skip to content

Commit

Permalink
Added additional comments to file
Browse files Browse the repository at this point in the history
  • Loading branch information
CEKrause committed Aug 30, 2017
1 parent 2f8c06c commit d705a55
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hazard/__init__.py
Expand Up @@ -260,6 +260,9 @@ def calculateHazard(self, tilelimits):
"""
Load input hazard data and then calculate the return period and
distribution parameters for a given tile.
Vr = block maxima
calculate - GEV: evd.estimateEVD
:param tilelimits: `tuple` of tile limits
"""
Expand Down Expand Up @@ -532,8 +535,13 @@ def calculate(Vr, years, nodata, minRecords, yrsPerSim):
wind speed values
:param Vr: `numpy.ndarray` of wind speeds (3-D - event, lat, lon)
block maxima processed with aggregateWindRecords
:param years: `numpy.ndarray` of years for which to evaluate
return period values
:param float nodata: missing data value.
:param int minRecords: minimum number of valid wind speed values required
to fit distribution.
:param int yrsPerSim: Taken from the config file
Returns:
--------
Expand Down

0 comments on commit d705a55

Please sign in to comment.