Skip to content

Commit

Permalink
Merge pull request #230 from gulfofmaine/change/bedford-forecast-name
Browse files Browse the repository at this point in the history
Updating Bedford wave forecast name for beta release
  • Loading branch information
abkfenris authored Sep 30, 2020
2 parents c98abf1 + 340348c commit 41b06b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Additions:
Changes:

- Add oxygen_concentration_in_sea_water data type.
- Bedford wave forecast should be significant wave height.

Fixes:

Expand Down
3 changes: 2 additions & 1 deletion app/forecasts/forecasts/base_forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

class ForecastTypes(Enum):
WAVE_HEIGHT = "Wave Height"
SIGNIFICANT_WAVE_HEIGHT = "Significant Wave Height"
WAVE_PERIOD = "Wave Period"
WAVE_DIRECTION = "Wave Direction"
AIR_TEMPERATURE = "Air Temperature"
Expand Down Expand Up @@ -54,7 +55,7 @@ def json(self):
"name": self.name,
"description": self.description,
"source_url": self.source_url,
"units": self.units
"units": self.units,
}

def __repr__(self):
Expand Down
2 changes: 1 addition & 1 deletion app/forecasts/forecasts/neracoos_erddap/bedford.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BedfordWaveHeight(BaseBedfordForecast):
slug = "bedford_ww3_wave_height"
name = "Bedford Institute Wave Model - Height"
description = "Wave Height from the Bedford Institute Wave Model"
forecast_type = ForecastTypes.WAVE_HEIGHT
forecast_type = ForecastTypes.SIGNIFICANT_WAVE_HEIGHT
units = "meters"

field = "hs"
Expand Down

0 comments on commit 41b06b6

Please sign in to comment.