Commit 8ddb31f
committed
feat(echodata): add ECS calibration, local storage backend, and cal_params forwarding
- Add ecs.py: Echoview ECS file parsing via echopype's ECSParser with
header normalization for Saildrone exports and dual-pulse support
- Refactor calibration.py: remove broken generic/ECS parsers, simplify
apply_calibration to Saildrone-only, redirect .ecs to ecs.parse_ecs()
- Add local filesystem storage backend to storage.py: use_local_storage(),
use_azure_storage(), is_local_storage() toggle, _LocalListFS for
directory listing, local-mode paths in all save/open/upload functions
- Add cal_params parameter to compute_sv_from_echodata() for ECS-based
calibration forwarding to echopype.calibrate.compute_Sv
- Guard _ensure_depth in nasc.py against depth already being a dimension
- Export new functions from echodata/__init__.py and calibrate/__init__.py1 parent 9464532 commit 8ddb31f
7 files changed
Lines changed: 565 additions & 284 deletions
File tree
- oceanstream/echodata
- calibrate
- compute
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
418 | 421 | | |
419 | 422 | | |
420 | 423 | | |
| |||
424 | 427 | | |
425 | 428 | | |
426 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
427 | 433 | | |
428 | 434 | | |
429 | 435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
10 | 20 | | |
11 | 21 | | |
12 | 22 | | |
13 | | - | |
14 | 23 | | |
| 24 | + | |
15 | 25 | | |
16 | 26 | | |
17 | 27 | | |
18 | 28 | | |
19 | | - | |
| 29 | + | |
20 | 30 | | |
21 | | - | |
22 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
23 | 36 | | |
0 commit comments