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>
|
||
|---|---|---|
| .. | ||
| 01_download_data.py | ||
| 02_homola_replication.py | ||
| 03_stress_test.py | ||
| 04_detrended_analysis.py | ||
| 05_geographic_localisation.py | ||
| 06_check_data_availability.py | ||
| 07_out_of_sample.py | ||
| 08_combined_timeseries.py | ||
| benchmark_gpu.py | ||
| catalog_completeness_check.py | ||