slocum-glide 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 (52) hide show
  1. slocum_glide-0.1.0/.claude/settings.local.json +8 -0
  2. slocum_glide-0.1.0/.github/workflows/glide-tests.yml +33 -0
  3. slocum_glide-0.1.0/.gitignore +30 -0
  4. slocum_glide-0.1.0/.python-version +1 -0
  5. slocum_glide-0.1.0/LICENSE +674 -0
  6. slocum_glide-0.1.0/PKG-INFO +175 -0
  7. slocum_glide-0.1.0/README.md +154 -0
  8. slocum_glide-0.1.0/pyproject.toml +53 -0
  9. slocum_glide-0.1.0/scripts/dbd2netcdf.example.sh +7 -0
  10. slocum_glide-0.1.0/scripts/glide.l2.example.sh +1 -0
  11. slocum_glide-0.1.0/scripts/make_test_fixtures.py +85 -0
  12. slocum_glide-0.1.0/scripts/netcdf2csv.example.py +33 -0
  13. slocum_glide-0.1.0/src/glide/__init__.py +0 -0
  14. slocum_glide-0.1.0/src/glide/__main__.py +3 -0
  15. slocum_glide-0.1.0/src/glide/ancillery.py +29 -0
  16. slocum_glide-0.1.0/src/glide/assets/config.yml +208 -0
  17. slocum_glide-0.1.0/src/glide/assets/core.yml +589 -0
  18. slocum_glide-0.1.0/src/glide/cli.py +495 -0
  19. slocum_glide-0.1.0/src/glide/config.py +249 -0
  20. slocum_glide-0.1.0/src/glide/convert.py +54 -0
  21. slocum_glide-0.1.0/src/glide/flight.py +410 -0
  22. slocum_glide-0.1.0/src/glide/gliderdac.py +199 -0
  23. slocum_glide-0.1.0/src/glide/hotel.py +37 -0
  24. slocum_glide-0.1.0/src/glide/process_l1.py +434 -0
  25. slocum_glide-0.1.0/src/glide/process_l2.py +294 -0
  26. slocum_glide-0.1.0/src/glide/process_l3.py +75 -0
  27. slocum_glide-0.1.0/src/glide/profiles.py +614 -0
  28. slocum_glide-0.1.0/src/glide/qc.py +428 -0
  29. slocum_glide-0.1.0/src/glide/riot_csv_writer.py +208 -0
  30. slocum_glide-0.1.0/tests/__init__.py +0 -0
  31. slocum_glide-0.1.0/tests/conftest.py +32 -0
  32. slocum_glide-0.1.0/tests/data/osu684.sbd.csv +458 -0
  33. slocum_glide-0.1.0/tests/data/osu684.tbd.csv +818 -0
  34. slocum_glide-0.1.0/tests/data/osu685-2025-056-0-27.sbd.csv +4 -0
  35. slocum_glide-0.1.0/tests/data/osu685-2025-056-0-27.tbd.csv +5 -0
  36. slocum_glide-0.1.0/tests/data/osu685-2025-056-0-28.sbd.csv +233 -0
  37. slocum_glide-0.1.0/tests/data/osu685-2025-056-0-28.tbd.csv +638 -0
  38. slocum_glide-0.1.0/tests/data/osu685-2025-056-0-29.sbd.csv +3 -0
  39. slocum_glide-0.1.0/tests/data/osu685-2025-056-0-29.tbd.csv +4 -0
  40. slocum_glide-0.1.0/tests/data/osu685-2025-056-0-30.sbd.csv +212 -0
  41. slocum_glide-0.1.0/tests/data/osu685-2025-056-0-30.tbd.csv +641 -0
  42. slocum_glide-0.1.0/tests/data/sl685.dbd.csv +5052 -0
  43. slocum_glide-0.1.0/tests/data/sl685.ebd.csv +20355 -0
  44. slocum_glide-0.1.0/tests/test_cli.py +397 -0
  45. slocum_glide-0.1.0/tests/test_config.py +212 -0
  46. slocum_glide-0.1.0/tests/test_convert.py +28 -0
  47. slocum_glide-0.1.0/tests/test_flight.py +151 -0
  48. slocum_glide-0.1.0/tests/test_hotel.py +109 -0
  49. slocum_glide-0.1.0/tests/test_process_l1.py +1268 -0
  50. slocum_glide-0.1.0/tests/test_qc.py +217 -0
  51. slocum_glide-0.1.0/tests/test_riot_csv_writer.py +169 -0
  52. slocum_glide-0.1.0/uv.lock +2170 -0
@@ -0,0 +1,8 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "WebFetch(domain:ioos.github.io)",
5
+ "Bash(uv run *)"
6
+ ]
7
+ }
8
+ }
@@ -0,0 +1,33 @@
1
+ name: glide tests
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v3
16
+
17
+ - name: Install uv
18
+ uses: astral-sh/setup-uv@v5
19
+
20
+ - name: Install the project
21
+ run: uv sync --all-extras --dev
22
+
23
+ - name: Run tests
24
+ run: uv run pytest -v tests
25
+
26
+ - name: Run type checks
27
+ run: uv run mypy src tests
28
+
29
+ - name: Run formatting check
30
+ run: uv run ruff format --check
31
+
32
+ - name: Run import formatting check
33
+ run: uv run ruff check --select I
@@ -0,0 +1,30 @@
1
+ .DS_Store
2
+ gliderdac_new
3
+
4
+ # Python-generated files
5
+ __pycache__/
6
+ *.py[oc]
7
+ build/
8
+ dist/
9
+ wheels/
10
+ *.egg-info
11
+
12
+ # Virtual environments
13
+ .venv
14
+
15
+ # Cache directories
16
+ .mypy_cache
17
+ .pytest_cache
18
+ .ruff_cache
19
+
20
+ # Data
21
+ *.nc
22
+ *.mat
23
+ tests/data/slocum.gps.csv
24
+ tests/data/slocum.gps_fixes.csv
25
+
26
+ # Notebooks
27
+ *.ipynb
28
+
29
+ # Pycharm projects
30
+ *.idea
@@ -0,0 +1 @@
1
+ 3.12