-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting to implement global wave watch forecast and Codacy cleanup
- Loading branch information
Showing
10 changed files
with
55 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
engines: | ||
prospector: | ||
enabled: true | ||
python_version: 3 | ||
|
||
exclude_paths: | ||
- "app/deployments/migrations/**.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from forecasts.forecasts.base_forecast import ForecastTypes | ||
from forecasts.forecasts.coastwatch_erddap.base_coastwatch import ( | ||
BaseCoastWatchRDDAPForecast, | ||
) | ||
|
||
|
||
class BaseWaveWatch(BaseCoastWatchRDDAPForecast): | ||
dataset = "NWW3_Global_Best" | ||
source_url = "https://coastwatch.pfeg.noaa.gov/erddap/griddap/NWW3_Global_Best.html" | ||
|
||
to_360 = True | ||
|
||
|
||
class GlobalWaveWatchHeight(BaseWaveWatch): | ||
slug = "global_wave_watch_height" | ||
name = "Global Wave Watch III - Significant Wave Height" | ||
description = ( | ||
"Wave Height from the Global Wave Watch III model by the University of Hawaii" | ||
) | ||
forecast_type = ForecastTypes.WAVE_HEIGHT | ||
|
||
field = "Thgt" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters