pyadps 0.2.1b0__tar.gz → 0.3.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 (51) hide show
  1. {pyadps-0.2.1b0 → pyadps-0.3.0}/PKG-INFO +13 -14
  2. pyadps-0.3.0/pyproject.toml +46 -0
  3. pyadps-0.3.0/src/pyadps/Home_Page.py +48 -0
  4. pyadps-0.3.0/src/pyadps/pages/01_Read_File.py +698 -0
  5. pyadps-0.3.0/src/pyadps/pages/02_View_Raw_Data.py +184 -0
  6. pyadps-0.3.0/src/pyadps/pages/03_Download_Raw_File.py +380 -0
  7. pyadps-0.3.0/src/pyadps/pages/04_Sensor_Health.py +905 -0
  8. pyadps-0.3.0/src/pyadps/pages/05_QC_Test.py +493 -0
  9. pyadps-0.3.0/src/pyadps/pages/06_Profile_Test.py +971 -0
  10. pyadps-0.3.0/src/pyadps/pages/07_Velocity_Test.py +600 -0
  11. pyadps-0.3.0/src/pyadps/pages/08_Write_File.py +623 -0
  12. pyadps-0.3.0/src/pyadps/pages/09_Add-Ons.py +168 -0
  13. {pyadps-0.2.1b0 → pyadps-0.3.0}/src/pyadps/utils/__init__.py +5 -3
  14. pyadps-0.3.0/src/pyadps/utils/autoprocess.py +573 -0
  15. pyadps-0.3.0/src/pyadps/utils/logging_utils.py +269 -0
  16. {pyadps-0.2.1b0 → pyadps-0.3.0}/src/pyadps/utils/metadata/config.ini +22 -4
  17. pyadps-0.3.0/src/pyadps/utils/metadata/demo.000 +0 -0
  18. pyadps-0.3.0/src/pyadps/utils/metadata/flmeta.json +422 -0
  19. pyadps-0.3.0/src/pyadps/utils/metadata/vlmeta.json +613 -0
  20. pyadps-0.3.0/src/pyadps/utils/multifile.py +292 -0
  21. pyadps-0.2.1b0/src/pyadps/utils/cutbin.py → pyadps-0.3.0/src/pyadps/utils/plotgen.py +332 -14
  22. pyadps-0.3.0/src/pyadps/utils/profile_test.py +782 -0
  23. {pyadps-0.2.1b0 → pyadps-0.3.0}/src/pyadps/utils/pyreadrdi.py +164 -92
  24. {pyadps-0.2.1b0 → pyadps-0.3.0}/src/pyadps/utils/readrdi.py +436 -186
  25. pyadps-0.3.0/src/pyadps/utils/script.py +205 -0
  26. pyadps-0.3.0/src/pyadps/utils/sensor_health.py +120 -0
  27. pyadps-0.3.0/src/pyadps/utils/signal_quality.py +539 -0
  28. {pyadps-0.2.1b0 → pyadps-0.3.0}/src/pyadps/utils/velocity_test.py +79 -31
  29. {pyadps-0.2.1b0 → pyadps-0.3.0}/src/pyadps/utils/writenc.py +222 -39
  30. pyadps-0.2.1b0/pyproject.toml +0 -45
  31. pyadps-0.2.1b0/src/pyadps/Home_Page.py +0 -42
  32. pyadps-0.2.1b0/src/pyadps/pages/01_Read_File.py +0 -290
  33. pyadps-0.2.1b0/src/pyadps/pages/02_View_Raw_Data.py +0 -128
  34. pyadps-0.2.1b0/src/pyadps/pages/03_Download_Raw_File.py +0 -247
  35. pyadps-0.2.1b0/src/pyadps/pages/04_QC_Test.py +0 -334
  36. pyadps-0.2.1b0/src/pyadps/pages/05_Profile_Test.py +0 -575
  37. pyadps-0.2.1b0/src/pyadps/pages/06_Velocity_Test.py +0 -341
  38. pyadps-0.2.1b0/src/pyadps/pages/07_Write_File.py +0 -452
  39. pyadps-0.2.1b0/src/pyadps/utils/autoprocess.py +0 -282
  40. pyadps-0.2.1b0/src/pyadps/utils/metadata/flmeta.json +0 -422
  41. pyadps-0.2.1b0/src/pyadps/utils/metadata/vlmeta.json +0 -567
  42. pyadps-0.2.1b0/src/pyadps/utils/plotgen.py +0 -229
  43. pyadps-0.2.1b0/src/pyadps/utils/profile_test.py +0 -187
  44. pyadps-0.2.1b0/src/pyadps/utils/regrid.py +0 -279
  45. pyadps-0.2.1b0/src/pyadps/utils/script.py +0 -155
  46. pyadps-0.2.1b0/src/pyadps/utils/signal_quality.py +0 -135
  47. {pyadps-0.2.1b0 → pyadps-0.3.0}/LICENSE +0 -0
  48. {pyadps-0.2.1b0 → pyadps-0.3.0}/README.md +0 -0
  49. {pyadps-0.2.1b0 → pyadps-0.3.0}/src/pyadps/__init__.py +0 -0
  50. {pyadps-0.2.1b0 → pyadps-0.3.0}/src/pyadps/__main__.py +0 -0
  51. {pyadps-0.2.1b0 → pyadps-0.3.0}/src/pyadps/pages/__init__.py +0 -0
@@ -1,8 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: pyadps
3
- Version: 0.2.1b0
3
+ Version: 0.3.0
4
4
  Summary: A Python package for ADCP data processing
5
- Home-page: https://example.com
6
5
  License: MIT
7
6
  Keywords: adcp,data-processing,oceanography
8
7
  Author: P. Amol
@@ -13,20 +12,20 @@ Classifier: Operating System :: OS Independent
13
12
  Classifier: Programming Language :: Python :: 3
14
13
  Classifier: Programming Language :: Python :: 3.12
15
14
  Classifier: Programming Language :: Python :: 3.13
16
- Provides-Extra: tests
17
15
  Requires-Dist: cmake (>=3.30.2)
18
- Requires-Dist: matplotlib (>=3.8.4)
16
+ Requires-Dist: matplotlib (>=3.8.4,<3.9.0)
19
17
  Requires-Dist: meson (>=1.4.1)
20
- Requires-Dist: netCDF4 (>=1.7.1)
21
- Requires-Dist: numpy (>=1.26.4)
22
- Requires-Dist: pandas (>=2.2.2)
23
- Requires-Dist: plotly (>=5.22.0)
24
- Requires-Dist: plotly-resampler (>=0.10.0)
25
- Requires-Dist: scipy (>=1.14.0)
26
- Requires-Dist: streamlit (>=1.36.0)
27
- Requires-Dist: wmm2020 (>=1.1.1)
28
- Project-URL: Documentation, https://example.com/docs
18
+ Requires-Dist: netCDF4 (>=1.7.1,<1.8.0)
19
+ Requires-Dist: numpy (>=1.26.4,<1.27.0)
20
+ Requires-Dist: pandas (>=2.2.2,<2.3.0)
21
+ Requires-Dist: plotly (>=5.22.0,<5.23.0)
22
+ Requires-Dist: plotly-resampler (>=0.10.0,<0.11.0)
23
+ Requires-Dist: pygeomag (>=1.1.0,<2.0.0)
24
+ Requires-Dist: scipy (>=1.14.0,<1.15.0)
25
+ Requires-Dist: streamlit (>=1.36.0,<1.37.0)
26
+ Project-URL: Documentation, https://pyadps.readthedocs.io/en/latest/index.html
29
27
  Project-URL: Repository, https://github.com/p-amol/pyadps
28
+ Project-URL: homepage, https://pyadps.readthedocs.io/en/latest/index.html
30
29
  Description-Content-Type: text/markdown
31
30
 
32
31
  # pyadps
@@ -0,0 +1,46 @@
1
+ [tool.poetry]
2
+ name = "pyadps"
3
+ version = "0.3.0"
4
+ description = "A Python package for ADCP data processing"
5
+ authors = ["P. Amol <prakashamol@gmail.com>"]
6
+ readme = "README.md"
7
+ license = "MIT"
8
+ keywords = ["adcp", "data-processing", "oceanography"]
9
+ include = ["utils/metadata/*.json"]
10
+ classifiers = [
11
+ "Programming Language :: Python :: 3",
12
+ "License :: OSI Approved :: MIT License",
13
+ "Operating System :: OS Independent",
14
+ ]
15
+
16
+ [tool.poetry.urls]
17
+ homepage = "https://pyadps.readthedocs.io/en/latest/index.html"
18
+ Documentation = "https://pyadps.readthedocs.io/en/latest/index.html"
19
+ Repository = "https://github.com/p-amol/pyadps"
20
+
21
+ [tool.poetry.dependencies]
22
+ python = "<4.0.0,>=3.12"
23
+ streamlit = "~=1.36.0"
24
+ numpy = "~=1.26.4"
25
+ matplotlib = "~=3.8.4"
26
+ scipy = "~=1.14.0"
27
+ cmake = ">=3.30.2"
28
+ pandas = "~=2.2.2"
29
+ netCDF4 = "~=1.7.1"
30
+ plotly = "~=5.22.0"
31
+ plotly-resampler = "~=0.10.0"
32
+ meson = ">=1.4.1"
33
+ pygeomag = "^1.1.0"
34
+
35
+ [tool.poetry.group.dev.dependencies]
36
+ pytest = "^7.4"
37
+ ruff = "^0.5.0"
38
+
39
+ [tool.poetry.scripts]
40
+ run-pyadps = "pyadps.__main__:main"
41
+ run-auto = "pyadps.utils.autoprocess:main"
42
+ run-script = "pyadps.utils.script:main"
43
+
44
+ [build-system]
45
+ requires = ["poetry-core>=1.0.0"]
46
+ build-backend = "poetry.core.masonry.api"
@@ -0,0 +1,48 @@
1
+ import streamlit as st
2
+
3
+
4
+ def main():
5
+ st.set_page_config(
6
+ page_title="ADCP Data Processing Software",
7
+ page_icon=":world_map:️",
8
+ layout="wide",
9
+ initial_sidebar_state="auto",
10
+ menu_items={
11
+ "Get Help": "https://github.com/p-amol/pyadps",
12
+ "Report a bug": "https://github.com/p-amol/pyadps/issues",
13
+ "About": "# Python ADCP Data Processing Software (PyADPS)",
14
+ },
15
+ )
16
+
17
+ """
18
+ # **Python ADCP Data Processing Software (pyadps)**
19
+
20
+ `pyadps` is a Python package for processing moored Acoustic Doppler Current Profiler (ADCP) data. It provides various functionalities such as data reading, quality control tests, NetCDF file creation, and visualization.
21
+
22
+ This software offers both a graphical interface (Streamlit) for those new to Python and direct Python package access for experienced users. Please note that pyadps is primarily designed for Teledyne RDI workhorse ADCPs. Other company's ADCP files are not compatible, and while some other RDI models may work, they might require additional considerations.
23
+
24
+ * Documentation: https://pyadps.readthedocs.io
25
+ * Source code: https://github.com/p-amol/pyadps
26
+ * Bug reports: https://github.com/p-amol/pyadps/issues
27
+ ## Features
28
+
29
+ * Access RDI ADCP binary files using Python 3
30
+ * Convert RDI binary files to netcdf
31
+ * Process ADCP data
32
+
33
+ ## Contribute
34
+ Issue Tracker: https://github.com/p-amol/pyadps/issues
35
+ Source Code: https://github.com/p-amol/pyadps
36
+
37
+ ## Support
38
+ If you are having issues, please let us know.
39
+ We have a mailing list located at: adps-python@google-groups.com
40
+
41
+ ## License
42
+ The project is licensed under the MIT license.
43
+
44
+ """
45
+
46
+
47
+ if __name__ == "__main__":
48
+ main()