cosmicraysandearthquakes/scripts
root 14a108d71a Fix RangeIndex crash in script 07 seismic load
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>
2026-04-24 00:45:07 +02:00
..
01_download_data.py Initial commit: full analysis pipeline source code 2026-04-22 02:45:10 +02:00
02_homola_replication.py Initial commit: full analysis pipeline source code 2026-04-22 02:45:10 +02:00
03_stress_test.py Initial commit: full analysis pipeline source code 2026-04-22 02:45:10 +02:00
04_detrended_analysis.py Initial commit: full analysis pipeline source code 2026-04-22 02:45:10 +02:00
05_geographic_localisation.py Initial commit: full analysis pipeline source code 2026-04-22 02:45:10 +02:00
06_check_data_availability.py Initial commit: full analysis pipeline source code 2026-04-22 02:45:10 +02:00
07_out_of_sample.py Fix RangeIndex crash in script 07 seismic load 2026-04-24 00:45:07 +02:00
08_combined_timeseries.py Initial commit: full analysis pipeline source code 2026-04-22 02:45:10 +02:00
benchmark_gpu.py Initial commit: full analysis pipeline source code 2026-04-22 02:45:10 +02:00
catalog_completeness_check.py Initial commit: full analysis pipeline source code 2026-04-22 02:45:10 +02:00