Agent skill
python-gis-ecosystem-4-failure-diagnosis
Sub-skill of python-gis-ecosystem: 4. FAILURE DIAGNOSIS.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/gis/python-gis-ecosystem/4-failure-diagnosis
SKILL.md
4. FAILURE DIAGNOSIS
4. FAILURE DIAGNOSIS
| Error | Cause | Fix |
|---|---|---|
CRS mismatch in spatial join |
Layers in different CRS | Reproject both to same CRS before join |
GDAL not found / import rasterio fails |
GDAL native libs missing | Use conda install -c conda-forge rasterio |
ValueError: No CRS set |
GeoDataFrame has no CRS | Set via gdf = gdf.set_crs("EPSG:4326") |
TopologicalError (Shapely) |
Invalid geometry | Run gdf.geometry = gdf.geometry.buffer(0) to fix |
Nodata values appear as valid data |
nodata not masked | Use rasterio.open().read(masked=True) |
MemoryError on large raster |
Full raster in RAM | Use windowed reading: rasterio.open().block_windows() |
xarray KeyError: variable |
Wrong variable name | Inspect with ds.data_vars |
fiona.errors.DriverError |
KML needs LIBKML driver | Install fiona[all] or use gpd.read_file(..., driver='KML') |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?