Commit 2a3c8d7
tintino
Make topoclass horizon I/O compatible with zarr output
compute_horizon() in topoclass now:
- Accepts format='netcdf' | 'zarr' and passes it to tp.compute_horizon()
- Auto-detects existing horizon files in either netCDF or zarr format
- Loads zarr horizons with engine='zarr' instead of hardcoded h5netcdf
This ensures the zarr horizon output added to topo_param.py is fully
usable through the high-level Topoclass workflow, matching the zarr I/O
optimizations in topo_scale_zarr.py.1 parent 380762c commit 2a3c8d7
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
| 571 | + | |
572 | 572 | | |
573 | 573 | | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
574 | 580 | | |
575 | 581 | | |
| 582 | + | |
| 583 | + | |
576 | 584 | | |
577 | | - | |
578 | 585 | | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
579 | 590 | | |
580 | 591 | | |
581 | 592 | | |
582 | 593 | | |
583 | 594 | | |
584 | | - | |
| 595 | + | |
| 596 | + | |
585 | 597 | | |
586 | 598 | | |
587 | 599 | | |
| |||
0 commit comments