hydrobot 0.3.2__tar.gz → 0.3.4__tar.gz

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.
Files changed (73) hide show
  1. {hydrobot-0.3.2 → hydrobot-0.3.4}/.editorconfig +21 -21
  2. {hydrobot-0.3.2 → hydrobot-0.3.4}/.github/ISSUE_TEMPLATE.md +15 -15
  3. {hydrobot-0.3.2 → hydrobot-0.3.4}/.gitignore +106 -106
  4. {hydrobot-0.3.2 → hydrobot-0.3.4}/.pre-commit-config.yaml +24 -24
  5. {hydrobot-0.3.2 → hydrobot-0.3.4}/.readthedocs.yaml +38 -35
  6. {hydrobot-0.3.2 → hydrobot-0.3.4}/AUTHORS.rst +14 -14
  7. {hydrobot-0.3.2 → hydrobot-0.3.4}/CONTRIBUTING.rst +209 -209
  8. {hydrobot-0.3.2 → hydrobot-0.3.4}/HISTORY.rst +54 -44
  9. {hydrobot-0.3.2 → hydrobot-0.3.4}/LICENSE +32 -32
  10. {hydrobot-0.3.2 → hydrobot-0.3.4}/MANIFEST.in +12 -12
  11. {hydrobot-0.3.2 → hydrobot-0.3.4}/Makefile +88 -88
  12. {hydrobot-0.3.2 → hydrobot-0.3.4}/PKG-INFO +77 -77
  13. {hydrobot-0.3.2 → hydrobot-0.3.4}/README.rst +39 -39
  14. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/Makefile +20 -20
  15. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/authors.rst +1 -1
  16. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/conf.py +179 -179
  17. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/contributing.rst +1 -1
  18. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/history.rst +1 -1
  19. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/hydrobot.rst +69 -69
  20. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/index.rst +20 -20
  21. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/installation.rst +71 -71
  22. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/make.bat +0 -0
  23. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/modules.rst +7 -7
  24. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/readme.rst +1 -1
  25. {hydrobot-0.3.2 → hydrobot-0.3.4}/docs/usage.rst +7 -7
  26. {hydrobot-0.3.2 → hydrobot-0.3.4}/hydrobot/__init__.py +5 -5
  27. {hydrobot-0.3.2 → hydrobot-0.3.4}/hydrobot/config/TwoLevelMeasurement_QC_config.csv +1 -1
  28. {hydrobot-0.3.2 → hydrobot-0.3.4}/hydrobot/config/measurement_QC_config.csv +2 -2
  29. {hydrobot-0.3.2 → hydrobot-0.3.4}/hydrobot/data_acquisition.py +105 -105
  30. {hydrobot-0.3.2 → hydrobot-0.3.4}/hydrobot/data_sources.py +251 -251
  31. {hydrobot-0.3.2 → hydrobot-0.3.4}/hydrobot/evaluator.py +392 -392
  32. {hydrobot-0.3.2 → hydrobot-0.3.4}/hydrobot/filters.py +196 -165
  33. {hydrobot-0.3.2 → hydrobot-0.3.4}/hydrobot/plotter.py +169 -169
  34. {hydrobot-0.3.2 → hydrobot-0.3.4}/hydrobot/processor.py +534 -527
  35. {hydrobot-0.3.2/hydrobot → hydrobot-0.3.4}/hydrobot.egg-info/PKG-INFO +77 -77
  36. {hydrobot-0.3.2/hydrobot → hydrobot-0.3.4}/hydrobot.egg-info/SOURCES.txt +8 -10
  37. hydrobot-0.3.4/hydrobot.egg-info/top_level.txt +1 -0
  38. {hydrobot-0.3.2 → hydrobot-0.3.4}/old_setup.cfg +24 -24
  39. {hydrobot-0.3.2 → hydrobot-0.3.4}/old_setup.py +53 -53
  40. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/Class_script.py +67 -67
  41. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/Jupyter_notebooks/All_Sites_Atmospheric_Pressure.ipynb +1522 -1522
  42. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/Jupyter_notebooks/Saddle_Road_Spike_Removal.ipynb +430 -430
  43. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/Jupyter_notebooks/Time_Series_Analysis.ipynb +371 -371
  44. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/process_script.py +129 -129
  45. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/py_scripts/atmospheric_spike_removal.py +74 -74
  46. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/py_scripts/example_plot_script.py +34 -34
  47. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/py_scripts/gap_finder.py +62 -62
  48. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/py_scripts/new_ws_plot_with_check_data.py +57 -57
  49. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/py_scripts/plot_with_check_data.py +49 -49
  50. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/py_scripts/spike_removal_util.py +37 -37
  51. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/py_scripts/water_temp_spike_removal.py +73 -73
  52. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/stage_full_process.py +125 -125
  53. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/water_temp_full_process.py +136 -136
  54. {hydrobot-0.3.2 → hydrobot-0.3.4}/pyproject.toml +109 -109
  55. {hydrobot-0.3.2 → hydrobot-0.3.4}/requirements_dev.txt +134 -134
  56. {hydrobot-0.3.2 → hydrobot-0.3.4}/requirements_test.txt +29 -29
  57. {hydrobot-0.3.2 → hydrobot-0.3.4}/setup.cfg +4 -4
  58. {hydrobot-0.3.2 → hydrobot-0.3.4}/tests/__init__.py +1 -1
  59. {hydrobot-0.3.2 → hydrobot-0.3.4}/tests/site_list_response.xml +7 -7
  60. {hydrobot-0.3.2 → hydrobot-0.3.4}/tests/test_data_sources.py +30 -30
  61. {hydrobot-0.3.2 → hydrobot-0.3.4}/tests/test_evaluator.py +293 -293
  62. {hydrobot-0.3.2 → hydrobot-0.3.4}/tests/test_filters.py +200 -154
  63. {hydrobot-0.3.2 → hydrobot-0.3.4}/tests/test_processor.py +122 -122
  64. hydrobot-0.3.2/hydrobot/hydrobot.egg-info/top_level.txt +0 -3
  65. hydrobot-0.3.2/hydrobot/testicle.py +0 -45
  66. hydrobot-0.3.2/tests/.coverage +0 -0
  67. {hydrobot-0.3.2/docs/_build/html → hydrobot-0.3.4/docs/_build}/_static/file.png +0 -0
  68. {hydrobot-0.3.2/docs/_build/html → hydrobot-0.3.4/docs/_build}/_static/minus.png +0 -0
  69. {hydrobot-0.3.2/docs/_build/html → hydrobot-0.3.4/docs/_build}/_static/plus.png +0 -0
  70. {hydrobot-0.3.2/hydrobot → hydrobot-0.3.4}/hydrobot.egg-info/dependency_links.txt +0 -0
  71. {hydrobot-0.3.2/hydrobot → hydrobot-0.3.4}/hydrobot.egg-info/requires.txt +0 -0
  72. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/output_dump/.gitignore +0 -0
  73. {hydrobot-0.3.2 → hydrobot-0.3.4}/prototypes/py_scripts/output_dump/.gitignore +0 -0
@@ -1,21 +1,21 @@
1
- # http://editorconfig.org
2
-
3
- root = true
4
-
5
- [*]
6
- indent_style = space
7
- indent_size = 4
8
- trim_trailing_whitespace = true
9
- insert_final_newline = true
10
- charset = utf-8
11
- end_of_line = lf
12
-
13
- [*.bat]
14
- indent_style = tab
15
- end_of_line = crlf
16
-
17
- [LICENSE]
18
- insert_final_newline = false
19
-
20
- [Makefile]
21
- indent_style = tab
1
+ # http://editorconfig.org
2
+
3
+ root = true
4
+
5
+ [*]
6
+ indent_style = space
7
+ indent_size = 4
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+ charset = utf-8
11
+ end_of_line = lf
12
+
13
+ [*.bat]
14
+ indent_style = tab
15
+ end_of_line = crlf
16
+
17
+ [LICENSE]
18
+ insert_final_newline = false
19
+
20
+ [Makefile]
21
+ indent_style = tab
@@ -1,15 +1,15 @@
1
- * Hydro Processing Tools version:
2
- * Python version:
3
- * Operating System:
4
-
5
- ### Description
6
-
7
- Describe what you were trying to get done.
8
- Tell us what happened, what went wrong, and what you expected to happen.
9
-
10
- ### What I Did
11
-
12
- ```
13
- Paste the command(s) you ran and the output.
14
- If there was a crash, please include the traceback here.
15
- ```
1
+ * Hydro Processing Tools version:
2
+ * Python version:
3
+ * Operating System:
4
+
5
+ ### Description
6
+
7
+ Describe what you were trying to get done.
8
+ Tell us what happened, what went wrong, and what you expected to happen.
9
+
10
+ ### What I Did
11
+
12
+ ```
13
+ Paste the command(s) you ran and the output.
14
+ If there was a crash, please include the traceback here.
15
+ ```
@@ -1,106 +1,106 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- env/
12
- build/
13
- develop-eggs/
14
- dist/
15
- downloads/
16
- eggs/
17
- .eggs/
18
- lib/
19
- lib64/
20
- parts/
21
- sdist/
22
- var/
23
- wheels/
24
- *.egg-info/
25
- .installed.cfg
26
- *.egg
27
-
28
- # PyInstaller
29
- # Usually these files are written by a python script from a template
30
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
31
- *.manifest
32
- *.spec
33
-
34
- # Installer logs
35
- pip-log.txt
36
- pip-delete-this-directory.txt
37
-
38
- # Unit test / coverage reports
39
- htmlcov/
40
- .tox/
41
- .coverage
42
- .coverage.*
43
- .cache
44
- nosetests.xml
45
- coverage.xml
46
- *.cover
47
- .hypothesis/
48
- .pytest_cache/
49
-
50
- # Translations
51
- *.mo
52
- *.pot
53
-
54
- # Django stuff:
55
- *.log
56
- local_settings.py
57
-
58
- # Flask stuff:
59
- instance/
60
- .webassets-cache
61
-
62
- # Scrapy stuff:
63
- .scrapy
64
-
65
- # Sphinx documentation
66
- docs/_build/
67
-
68
- # PyBuilder
69
- target/
70
-
71
- # Jupyter Notebook
72
- .ipynb_checkpoints
73
-
74
- # pyenv
75
- .python-version
76
-
77
- # celery beat schedule file
78
- celerybeat-schedule
79
-
80
- # SageMath parsed files
81
- *.sage.py
82
-
83
- # dotenv
84
- .env
85
-
86
- # virtualenv
87
- .venvpip
88
- venv/
89
- ENV/
90
-
91
- # Spyder project settings
92
- .spyderproject
93
- .spyproject
94
-
95
- # Rope project settings
96
- .ropeproject
97
-
98
- # mkdocs documentation
99
- /site
100
-
101
- # mypy
102
- .mypy_cache/
103
-
104
- # IDE settings
105
- .vscode/
106
- .idea/
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ env/
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+
28
+ # PyInstaller
29
+ # Usually these files are written by a python script from a template
30
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
31
+ *.manifest
32
+ *.spec
33
+
34
+ # Installer logs
35
+ pip-log.txt
36
+ pip-delete-this-directory.txt
37
+
38
+ # Unit test / coverage reports
39
+ htmlcov/
40
+ .tox/
41
+ .coverage
42
+ .coverage.*
43
+ .cache
44
+ nosetests.xml
45
+ coverage.xml
46
+ *.cover
47
+ .hypothesis/
48
+ .pytest_cache/
49
+
50
+ # Translations
51
+ *.mo
52
+ *.pot
53
+
54
+ # Django stuff:
55
+ *.log
56
+ local_settings.py
57
+
58
+ # Flask stuff:
59
+ instance/
60
+ .webassets-cache
61
+
62
+ # Scrapy stuff:
63
+ .scrapy
64
+
65
+ # Sphinx documentation
66
+ docs/_build/
67
+
68
+ # PyBuilder
69
+ target/
70
+
71
+ # Jupyter Notebook
72
+ .ipynb_checkpoints
73
+
74
+ # pyenv
75
+ .python-version
76
+
77
+ # celery beat schedule file
78
+ celerybeat-schedule
79
+
80
+ # SageMath parsed files
81
+ *.sage.py
82
+
83
+ # dotenv
84
+ .env
85
+
86
+ # virtualenv
87
+ .venvpip
88
+ venv/
89
+ ENV/
90
+
91
+ # Spyder project settings
92
+ .spyderproject
93
+ .spyproject
94
+
95
+ # Rope project settings
96
+ .ropeproject
97
+
98
+ # mkdocs documentation
99
+ /site
100
+
101
+ # mypy
102
+ .mypy_cache/
103
+
104
+ # IDE settings
105
+ .vscode/
106
+ .idea/
@@ -1,24 +1,24 @@
1
- repos:
2
- - repo: https://github.com/pre-commit/pre-commit-hooks
3
- rev: v4.4.0
4
- hooks:
5
- - id: check-yaml
6
- - id: end-of-file-fixer
7
- - id: trailing-whitespace
8
- - repo: https://github.com/psf/black
9
- rev: 23.9.1
10
- hooks:
11
- - id: black
12
- - repo: https://github.com/PyCQA/bandit
13
- rev: 1.7.5
14
- hooks:
15
- - id: bandit
16
- args: ["-r", "-lll"]
17
- - repo: https://github.com/astral-sh/ruff-pre-commit
18
- rev: v0.1.6
19
- hooks:
20
- # Run the linter
21
- - id: ruff
22
- args: [ --fix ]
23
- # Run the formatter
24
- - id: ruff-format
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v4.4.0
4
+ hooks:
5
+ - id: check-yaml
6
+ - id: end-of-file-fixer
7
+ - id: trailing-whitespace
8
+ - repo: https://github.com/psf/black
9
+ rev: 23.9.1
10
+ hooks:
11
+ - id: black
12
+ - repo: https://github.com/PyCQA/bandit
13
+ rev: 1.7.5
14
+ hooks:
15
+ - id: bandit
16
+ args: ["-r", "-lll"]
17
+ - repo: https://github.com/astral-sh/ruff-pre-commit
18
+ rev: v0.1.6
19
+ hooks:
20
+ # Run the linter
21
+ - id: ruff
22
+ args: [ --fix ]
23
+ # Run the formatter
24
+ - id: ruff-format
@@ -1,35 +1,38 @@
1
- # Read the Docs configuration file for Sphinx projects
2
- # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
-
4
- # Required
5
- version: 2
6
-
7
- # Set the OS, Python version and other tools you might need
8
- build:
9
- os: ubuntu-22.04
10
- tools:
11
- python: "3.11"
12
- # You can also specify other tool versions:
13
- # nodejs: "20"
14
- # rust: "1.70"
15
- # golang: "1.20"
16
-
17
- # Build documentation in the "docs/" directory with Sphinx
18
- sphinx:
19
- configuration: docs/conf.py
20
- # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
21
- # builder: "dirhtml"
22
- # Fail on all warnings to avoid broken references
23
- # fail_on_warning: true
24
-
25
- # Optionally build your docs in additional formats such as PDF and ePub
26
- formats:
27
- - pdf
28
- # - epub
29
-
30
- # Optional but recommended, declare the Python requirements required
31
- # to build your documentation
32
- # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
33
- python:
34
- install:
35
- - requirements: requirements_dev.txt
1
+ # Read the Docs configuration file for Sphinx projects
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+
4
+ # Required
5
+ version: 2
6
+
7
+ # Set the OS, Python version and other tools you might need
8
+ build:
9
+ os: ubuntu-22.04
10
+ tools:
11
+ python: "3.11"
12
+ # You can also specify other tool versions:
13
+ # nodejs: "20"
14
+ # rust: "1.70"
15
+ # golang: "1.20"
16
+
17
+ # Build documentation in the "docs/" directory with Sphinx
18
+ sphinx:
19
+ configuration: docs/conf.py
20
+ # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
21
+ # builder: "dirhtml"
22
+ # Fail on all warnings to avoid broken references
23
+ # fail_on_warning: true
24
+
25
+ # Optionally build your docs in additional formats such as PDF and ePub
26
+ formats:
27
+ - pdf
28
+ # - epub
29
+
30
+ # Optional but recommended, declare the Python requirements required
31
+ # to build your documentation
32
+ # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
33
+ python:
34
+ install:
35
+ - method: pip
36
+ path: .
37
+ extra_requirements:
38
+ - docs
@@ -1,14 +1,14 @@
1
- =======
2
- Credits
3
- =======
4
-
5
- Development Lead
6
- ----------------
7
-
8
- * Nic Mostert <nicolas.mostert@horizons.govt.nz>
9
- * Sam Irvine <sam.irvine@horizons.govt.nz>
10
-
11
- Contributors
12
- ------------
13
-
14
- None yet. Why not be the first?
1
+ =======
2
+ Credits
3
+ =======
4
+
5
+ Development Lead
6
+ ----------------
7
+
8
+ * Nic Mostert <nicolas.mostert@horizons.govt.nz>
9
+ * Sam Irvine <sam.irvine@horizons.govt.nz>
10
+
11
+ Contributors
12
+ ------------
13
+
14
+ None yet. Why not be the first?