You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cc80d5f
Browse filesBrowse the repository at this point in the historyBrowse files
Wrap dataset downloads in a diagnostic error, fix more silent failure modes
- Add gprm/datasets/_fetch.py: wraps pooch.retrieve so a failed download
raises DatasetFetchError naming the dataset, URL and cache directory,
with classified advice for checksum mismatches, HTTP 401/403/404/410/5xx,
and connection failures. All dataset loaders now import retrieve from
here instead of from pooch directly.
- get_merged_cob_terrane_raster() and reconstruct_raster() validate their
method/sampling_method arguments up front instead of falling off the end
of an if/elif chain into an UnboundLocalError.
- ReconstructionModel.to_GPlates() no longer hardcodes a GPlates 2.3.0
path or refuses to run on Linux; it now checks PATH and then globs the
usual per-platform install locations, and raises FileNotFoundError with
a clear message if none exist.
- ReconstructionModel.reconstruct() returns an empty GeoDataFrame (with
the input's columns) when nothing reconstructs, instead of printing a
message and implicitly returning None.
- PointDistributionOnSphere's healpix fallback now catches ImportError
specifically rather than a bare except, which previously misreported
real errors raised by healpy itself as "unable to import module".
- PlateTree.plot_snapshot raises on an unrecognised polygons argument
instead of silently doing nothing (was a TODO).
- Remove utils.proximity.generate_shadows: dead code with no return
statement, and the last user of xrspatial. Drop xarray-spatial from the
spatial extra and the stale entry in _optional.py accordingly, since
nothing in the codebase imports it any more.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments