neptoon 0.1.0__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 (44) hide show
  1. neptoon-0.1.0/LICENSE +21 -0
  2. neptoon-0.1.0/PKG-INFO +91 -0
  3. neptoon-0.1.0/README.md +59 -0
  4. neptoon-0.1.0/neptoon/__init__.py +0 -0
  5. neptoon-0.1.0/neptoon/ancillary_data_collection/__init__.py +0 -0
  6. neptoon-0.1.0/neptoon/ancillary_data_collection/meteo_data.py +0 -0
  7. neptoon-0.1.0/neptoon/ancillary_data_collection/nmdb_data_collection.py +946 -0
  8. neptoon-0.1.0/neptoon/ancillary_data_collection/soil_grids_collection.py +0 -0
  9. neptoon-0.1.0/neptoon/calibration/__init__.py +0 -0
  10. neptoon-0.1.0/neptoon/calibration/station_calibration.py +891 -0
  11. neptoon-0.1.0/neptoon/configuration/__init__.py +0 -0
  12. neptoon-0.1.0/neptoon/configuration/configuration_input.py +431 -0
  13. neptoon-0.1.0/neptoon/configuration/global_configuration.py +44 -0
  14. neptoon-0.1.0/neptoon/configuration/yaml_classes.py +162 -0
  15. neptoon-0.1.0/neptoon/convert_to_sm/__init__.py +0 -0
  16. neptoon-0.1.0/neptoon/convert_to_sm/estimate_sm.py +276 -0
  17. neptoon-0.1.0/neptoon/corrections_and_functions/above_ground_biomass_corrections.py +31 -0
  18. neptoon-0.1.0/neptoon/corrections_and_functions/air_humidity_corrections.py +157 -0
  19. neptoon-0.1.0/neptoon/corrections_and_functions/assets/footprint_radius.csv +50 -0
  20. neptoon-0.1.0/neptoon/corrections_and_functions/calibration_functions.py +417 -0
  21. neptoon-0.1.0/neptoon/corrections_and_functions/incoming_intensity_corrections.py +230 -0
  22. neptoon-0.1.0/neptoon/corrections_and_functions/neutrons_to_soil_moisture.py +106 -0
  23. neptoon-0.1.0/neptoon/corrections_and_functions/pressure_corrections.py +220 -0
  24. neptoon-0.1.0/neptoon/data_ingest_and_formatting/__init__.py +0 -0
  25. neptoon-0.1.0/neptoon/data_ingest_and_formatting/data_ingest.py +1843 -0
  26. neptoon-0.1.0/neptoon/data_ingest_and_formatting/timestamp_alignment.py +0 -0
  27. neptoon-0.1.0/neptoon/data_management/__init__.py +0 -0
  28. neptoon-0.1.0/neptoon/data_management/column_information.py +228 -0
  29. neptoon-0.1.0/neptoon/data_management/crns_data_hub.py +553 -0
  30. neptoon-0.1.0/neptoon/data_management/data_audit.py +294 -0
  31. neptoon-0.1.0/neptoon/data_management/data_validation_tables.py +70 -0
  32. neptoon-0.1.0/neptoon/data_management/process_with_yaml.py +708 -0
  33. neptoon-0.1.0/neptoon/data_management/save_data.py +341 -0
  34. neptoon-0.1.0/neptoon/data_management/site_information.py +48 -0
  35. neptoon-0.1.0/neptoon/figures_and_outputs/__init__.py +0 -0
  36. neptoon-0.1.0/neptoon/figures_and_outputs/simple_figures.py +0 -0
  37. neptoon-0.1.0/neptoon/logging.py +57 -0
  38. neptoon-0.1.0/neptoon/neutron_correction/correction_classes.py +558 -0
  39. neptoon-0.1.0/neptoon/neutron_correction/neutron_correction.py +497 -0
  40. neptoon-0.1.0/neptoon/quality_assesment/__init__.py +0 -0
  41. neptoon-0.1.0/neptoon/quality_assesment/quality_assesment.py +397 -0
  42. neptoon-0.1.0/neptoon/quality_assesment/smoothing.py +268 -0
  43. neptoon-0.1.0/neptoon/utils/general_utils.py +58 -0
  44. neptoon-0.1.0/pyproject.toml +42 -0
neptoon-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Martin Schrön and Daniel Power
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
neptoon-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,91 @@
1
+ Metadata-Version: 2.1
2
+ Name: neptoon
3
+ Version: 0.1.0
4
+ Summary: The neptoon package makes CRNS processing and research simple.
5
+ Home-page: https://codebase.helmholtz.cloud/cosmos/neptoon
6
+ License: MIT
7
+ Author: Daniel Power
8
+ Author-email: daniel.power@ufz.de
9
+ Requires-Python: >=3.10,<4.0
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Requires-Dist: PyYAML (>=6.0.1,<7.0.0)
16
+ Requires-Dist: flake8 (>=7.0.0,<8.0.0)
17
+ Requires-Dist: pandas (>=2.2.0,<3.0.0)
18
+ Requires-Dist: pandera (>=0.18.0,<0.19.0)
19
+ Requires-Dist: platformdirs (>=4.2.0,<5.0.0)
20
+ Requires-Dist: pyaml (>=23.12.0,<24.0.0)
21
+ Requires-Dist: pyarrow (>=15.0.0,<16.0.0)
22
+ Requires-Dist: pydantic (>=2.6.1,<3.0.0)
23
+ Requires-Dist: pytest (>=8.0.0,<9.0.0)
24
+ Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
25
+ Requires-Dist: requests (>=2.31.0,<3.0.0)
26
+ Requires-Dist: saqc (>=2.6.0,<3.0.0)
27
+ Requires-Dist: urllib3 (>=2.2.0,<3.0.0)
28
+ Project-URL: Documentation, https://neptoon-docs.readthedocs.io/en/latest/
29
+ Project-URL: Repository, https://codebase.helmholtz.cloud/cosmos/neptoon
30
+ Description-Content-Type: text/markdown
31
+
32
+
33
+ ## Name
34
+
35
+ neptoon
36
+
37
+ ## **What is neptoon?**
38
+
39
+ neptoon is a python tool for processing Cosmic-Ray Neutron Sensors (CRNS). CRNS estimate soil moisture at the field scale, and up to root-zone depths, by tracking changes in the number of fast neutrons found at a particular location. This is primarily due to the strong inverse relationship quantities of hydrogen atoms and fast neutrons. To have estimates of only the impact of hydrogen in soil moisture, additional processing and correction steps are required. Our understanding of the sensor continues to grow and change, which brings about an increasing number of theories and equations that can be applied.
40
+
41
+ Neptoon is designed to facilitate the painless processing of CRNS sites, utilising the most current techniques and knowledge available. It is designed to be simple to use for those who wish to simply correct a sensor with the most current understanding, as well as full featured for researchers in the CRNS space who want to experiment and test new ideas.
42
+
43
+
44
+ ## Badges
45
+
46
+ WIP
47
+
48
+ ## Visuals
49
+
50
+ WIP
51
+
52
+ ## Installation
53
+
54
+ Installation of neptoon will be via pip using:
55
+
56
+ `pip install neptoon`
57
+
58
+ ## Usage
59
+
60
+ WIP
61
+
62
+ ## Support
63
+
64
+ daniel.power@ufz.de
65
+ martin.schroen@ufz.de
66
+
67
+ ## Roadmap
68
+
69
+ WIP
70
+
71
+ ## Contributing
72
+
73
+ State if you are open to contributions and what your requirements are for accepting them.
74
+
75
+ For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
76
+
77
+ You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
78
+
79
+ ## Authors and acknowledgment
80
+
81
+ Martin Schrön, Daniel Power
82
+
83
+ ## License
84
+
85
+ MIT License
86
+
87
+ ## Project status
88
+
89
+ Ongoing project currently being supported by Helmholtz Zentrum for
90
+ Research and University of Bristo
91
+
@@ -0,0 +1,59 @@
1
+
2
+ ## Name
3
+
4
+ neptoon
5
+
6
+ ## **What is neptoon?**
7
+
8
+ neptoon is a python tool for processing Cosmic-Ray Neutron Sensors (CRNS). CRNS estimate soil moisture at the field scale, and up to root-zone depths, by tracking changes in the number of fast neutrons found at a particular location. This is primarily due to the strong inverse relationship quantities of hydrogen atoms and fast neutrons. To have estimates of only the impact of hydrogen in soil moisture, additional processing and correction steps are required. Our understanding of the sensor continues to grow and change, which brings about an increasing number of theories and equations that can be applied.
9
+
10
+ Neptoon is designed to facilitate the painless processing of CRNS sites, utilising the most current techniques and knowledge available. It is designed to be simple to use for those who wish to simply correct a sensor with the most current understanding, as well as full featured for researchers in the CRNS space who want to experiment and test new ideas.
11
+
12
+
13
+ ## Badges
14
+
15
+ WIP
16
+
17
+ ## Visuals
18
+
19
+ WIP
20
+
21
+ ## Installation
22
+
23
+ Installation of neptoon will be via pip using:
24
+
25
+ `pip install neptoon`
26
+
27
+ ## Usage
28
+
29
+ WIP
30
+
31
+ ## Support
32
+
33
+ daniel.power@ufz.de
34
+ martin.schroen@ufz.de
35
+
36
+ ## Roadmap
37
+
38
+ WIP
39
+
40
+ ## Contributing
41
+
42
+ State if you are open to contributions and what your requirements are for accepting them.
43
+
44
+ For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
45
+
46
+ You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
47
+
48
+ ## Authors and acknowledgment
49
+
50
+ Martin Schrön, Daniel Power
51
+
52
+ ## License
53
+
54
+ MIT License
55
+
56
+ ## Project status
57
+
58
+ Ongoing project currently being supported by Helmholtz Zentrum for
59
+ Research and University of Bristo
File without changes