Cosmic-ray / earthquake correlation analysis pipeline: data ingestion, surrogate significance tests, GPU acceleration, out-of-sample validation
When load_usgs returns an empty DataFrame it has a RangeIndex, causing
resample("1D") to throw TypeError. Guard with an isinstance check and
fall back to a zero series so the rest of the pipeline continues.
Also aligns expected usgs-dir path with what script 06 wrote.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| config | ||
| results | ||
| scripts | ||
| src/crq | ||
| tests | ||
| .gitignore | ||
| claude.md | ||
| pyproject.toml | ||