Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
Remove references to year from descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Reed Martz committed Dec 20, 2016
1 parent 5968d22 commit 4758f76
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions django/climate_change_api/indicators/indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class TotalPrecipitation(PrecipUnitsMixin, Indicator):

class FrostDays(DaysUnitsMixin, CountIndicator):
label = 'Frost Days'
description = ('Number of days per year in which the daily low temperature is ' +
description = ('Number of days per period in which the daily low temperature is ' +
'below the freezing point of water')
valid_aggregations = ('yearly', 'monthly',)
variables = ('tasmin',)
Expand All @@ -76,7 +76,7 @@ class YearlyMaxConsecutiveDryDays(YearlyMaxConsecutiveDaysIndicator):

class YearlyDrySpells(CountUnitsMixin, YearlySequenceIndicator):
label = 'Yearly Dry Spells'
description = ('Total number of times per year that there are 5 or more consecutive ' +
description = ('Total number of times per period that there are 5 or more consecutive ' +
'days without precipitation')
variables = ('pr',)
raw_condition = 'pr = 0'
Expand All @@ -99,7 +99,7 @@ def aggregate(self):

class ExtremePrecipitationEvents(CountUnitsMixin, CountIndicator):
label = 'Extreme Precipitation Events'
description = ('Total number of times per year daily precipitation exceeds the specified '
description = ('Total number of times per period daily precipitation exceeds the specified '
'(Default 99th) percentile of observations from 1960 to 1995')
valid_aggregations = ('yearly', 'monthly',)
variables = ('pr',)
Expand All @@ -114,8 +114,8 @@ def filters(self):

class ExtremeHeatEvents(CountUnitsMixin, CountIndicator):
label = 'Extreme Heat Events'
description = ('Total number of times per year daily maximum temperature exceeds the specified '
'(Default 99th) percentile of observations from 1960 to 1995')
description = ('Total number of times per period daily maximum temperature exceeds the '
'specified (Default 99th) percentile of observations from 1960 to 1995')
valid_aggregations = ('yearly', 'monthly',)
variables = ('tasmax',)
parameters = {'percentile': 99}
Expand All @@ -129,8 +129,8 @@ def filters(self):

class ExtremeColdEvents(CountUnitsMixin, CountIndicator):
label = 'Extreme Cold Events'
description = ('Total number of times per year daily minimum temperature is below the specified'
' (Default 1st) percentile of observations from 1960 to 1995')
description = ('Total number of times per period daily minimum temperature is below the '
'specified (Default 1st) percentile of observations from 1960 to 1995')
valid_aggregations = ('yearly', 'monthly',)
variables = ('tasmin',)
parameters = {'percentile': 1}
Expand Down

0 comments on commit 4758f76

Please sign in to comment.