From 4758f7649b9373b69be2aa86f3b7450fb028078e Mon Sep 17 00:00:00 2001 From: Reed Martz Date: Tue, 20 Dec 2016 11:11:35 -0500 Subject: [PATCH] Remove references to year from descriptions --- django/climate_change_api/indicators/indicators.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/django/climate_change_api/indicators/indicators.py b/django/climate_change_api/indicators/indicators.py index b3bff7b1..10249076 100644 --- a/django/climate_change_api/indicators/indicators.py +++ b/django/climate_change_api/indicators/indicators.py @@ -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',) @@ -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' @@ -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',) @@ -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} @@ -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}