esgf-qa 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
docs/esgf-qa_Logo.png ADDED
Binary file
esgf_qa/__init__.py ADDED
@@ -0,0 +1,4 @@
1
+ try:
2
+ from ._version import __version__
3
+ except ImportError:
4
+ __version__ = "unknown"
esgf_qa/_constants.py ADDED
@@ -0,0 +1,31 @@
1
+ from datetime import timedelta
2
+
3
+ # Definition of maximum deviations from the given frequency
4
+ deltdic = {}
5
+ deltdic["monmax"] = timedelta(days=31.01).total_seconds()
6
+ deltdic["monmin"] = timedelta(days=27.99).total_seconds()
7
+ deltdic["mon"] = timedelta(days=31).total_seconds()
8
+ deltdic["daymax"] = timedelta(days=1.01).total_seconds()
9
+ deltdic["daymin"] = timedelta(days=0.99).total_seconds()
10
+ deltdic["day"] = timedelta(days=1).total_seconds()
11
+ deltdic["1hrmin"] = timedelta(hours=0.99).total_seconds()
12
+ deltdic["1hrmax"] = timedelta(hours=1.01).total_seconds()
13
+ deltdic["1hr"] = timedelta(hours=1).total_seconds()
14
+ deltdic["3hrmin"] = timedelta(hours=2.99).total_seconds()
15
+ deltdic["3hrmax"] = timedelta(hours=3.01).total_seconds()
16
+ deltdic["3hr"] = timedelta(hours=3).total_seconds()
17
+ deltdic["6hrmin"] = timedelta(hours=5.99).total_seconds()
18
+ deltdic["6hrmax"] = timedelta(hours=6.01).total_seconds()
19
+ deltdic["6hr"] = timedelta(hours=6).total_seconds()
20
+ deltdic["yrmax"] = timedelta(days=366.01).total_seconds()
21
+ deltdic["yrmin"] = timedelta(days=359.99).total_seconds()
22
+ deltdic["yr"] = timedelta(days=360).total_seconds()
23
+ deltdic["subhr"] = timedelta(seconds=600).total_seconds()
24
+ deltdic["subhrmax"] = timedelta(seconds=601).total_seconds()
25
+ deltdic["subhrmin"] = timedelta(seconds=599).total_seconds()
26
+ deltdic["dec"] = timedelta(days=3600).total_seconds()
27
+ deltdic["decmax"] = timedelta(days=3599.99).total_seconds()
28
+ deltdic["decmin"] = timedelta(days=3660.01).total_seconds()
29
+ deltdic["cen"] = timedelta(days=36000).total_seconds()
30
+ deltdic["cenmax"] = timedelta(days=35999.99).total_seconds()
31
+ deltdic["cenmin"] = timedelta(days=36600.01).total_seconds()
esgf_qa/_version.py ADDED
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '0.3.0'
32
+ __version_tuple__ = version_tuple = (0, 3, 0)
33
+
34
+ __commit_id__ = commit_id = None