DASCore 1.0
What is new in the DASCore 1.0 beta, and where to start.
We are excited to announce the DASCore 1.0 beta!
This release represents a huge amount of work. The highlights below summarize the key features.
The beta is the time to try it on real data and tell us what breaks through the issue tracker or the discussions, before the API settles for 1.0. Your coding agent can do this with the dascore-test-beta skill; see agent onboarding.
Some changes break code written for 0.1.x. See the migration guide for details.
Install the beta
See installing a pre-release; [extras] brings in the optional xarray and Parquet support used below. DASCore 1.0 also raises the minimum versions of Python, NumPy, and pandas; see its pyproject.toml.
Highlights
- A more flexible and efficient spool indexer based on SQLite
- One
Spoolclass; directory indexes support concurrent readers and writers, record every coordinate, and scale to millions of patches. - New methods:
get_gaps,get_coverage,unselect,load,cut,fill_gaps,snap_coords, andchunk(tolerance=...). chunkjoins patches whose seams are withinmax_shiftand fits one grid per joined stretch.toleranceis now off by default;tolerance=1.5restores 0.1.x’s joining.
- One
- The
Inventory: a StationXML-inspired DAS metadata store - The
AnnotationSet: a data structure for managing annotations, including points and basic geometries - The
PatchProcessor: a structured class for separating metadata and data operations.- Chains of metadata can be processed without performing calculations
- Kernels with non-NumPy backends (JAX, PyTorch) can be registered.
- Coding agent skills and agent-friendly documentation, including a token-efficient CLI
- New Patch processors including:
windowfor efficiently applying ND windowed operations, and for moving-window reductions; it replacesrolling, which is deprecated.- multi-dimensional
stft/istft. adaptive_spectral_filter.
- A re-imagined coordinate class to reduce rounding errors
- Exact sampling grids keep fractional sampling rates through reading, writing, and merging.
- Coordinates can hold gaps, handled by
fill_gapsandsplit_gaps. - String coordinates are now supported.
- Greatly improved compatibility with Xarray
- Generate xarray data trees from DASCore
Spools - Access DASCore functions on the
dcxarray namespace.
- Generate xarray data trees from DASCore
- A simplified and more efficient FiberIO interface
- Formats implement
get_version,get_metadata, andread_array;dc.read_arrayreads part of a file without building a patch. - New readers: MiniSEED (v2 and v3), Sintela protobuf, AI4EPS, OptaSense ODH4, WITSML 1.4 DTS, Silixa H5 v2, and XDAS NetCDF. New writers: CF NetCDF-4 and Zarr.
- Formats implement
- Unique processing and patch identity markers
- Lays a strong foundation for computational planning and data provenance tracking.
- Support for remote files and directories thanks to universal-pathlib
- A new runtime configuration system, with process-wide defaults and thread-safe overrides
- Support for free-threaded Python and Pyodide build targets (DASCore now runs in the browser!)
- Tutorial pages open as live marimo notebooks in the browser with nothing to install.
- Improved representations including rich text and collapsible HTML representations for patches, spools, inventories, and annotation sets.