-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bugfix and new endpoint path function (#80) * Fixes bug with chunked datasets in hourly requests and introduce a function to generate the endpoint path within a tested function * Update linter.yml Workaround for super-linter bug Co-authored-by: Christian Lamprecht <[email protected]> * Minor adaptions to better understand cache behaviour (#81) * Restructuring & Linting * misplaced-comparison-constant * Wrap up v1.5.11 * Finalize 1.5.11 Co-authored-by: Daniel Lassahn <[email protected]>
- Loading branch information
1 parent
69ea420
commit 96766a0
Showing
17 changed files
with
283 additions
and
76 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
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
Empty file.
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 @@ | ||
""" | ||
Granularity Enumeration | ||
Meteorological data provided by Meteostat (https://dev.meteostat.net) | ||
under the terms of the Creative Commons Attribution-NonCommercial | ||
4.0 International Public License. | ||
The code is licensed under the MIT license. | ||
""" | ||
|
||
from enum import Enum | ||
|
||
|
||
class Granularity(Enum): | ||
""" | ||
The different levels of time series granularity | ||
""" | ||
|
||
HOURLY = 'hourly' | ||
DAILY = 'daily' | ||
MONTHLY = 'monthly' | ||
NORMALS = 'normals' |
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
Oops, something went wrong.