技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
dataset-io-profiles【数据与研究】Routes Rasterio dataset opening, reading, writing, profiles, creation options, nodata, and simple round-trip workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a user wants to open a raster, inspect metadata, write a new dataset, clone a profile, or troubleshoot rasterio.open in read/write modes.
dtype, count, or driver is missing?"rasterio.open in read and write modes.DatasetReader and DatasetWriter basics.profile, meta, dtypes, count, shape, bounds, crs, transform, and nodata handling.default_gtiff_profile.windows-memory-vsi.features-masks.reprojection-merge-vrt.rio command selection, which lives in rio-cli.references/api-reference.md for the verified rasterio.open signature and the creation kwargs most often used here.references/workflows.md for the common open/read/write and profile-copying recipes.references/troubleshooting.md for missing driver, dtype, nodata, and import/build failures.scripts/check_install.py for a repo-independent smoke check.scripts/make_total_band.py — average selected bands and write a one-band output.scripts/decimate_copy.py — shrink an output grid while keeping the source metadata pattern.rasterio.open.src.profile or src.meta before changing output settings.rasterio.open(..., "w", **profile) block.count and usually dtype.width, height, and often transform.driver and any format-specific creation options.dtype or count.width and height when the destination raster shape changes.tests/test_read.py::ReaderContextTest::test_contexttests/test_write.py::test_no_crstests/test_write.py::test_wplus_transformtests/test_write.py::test_write_masked_nodatatests/test_write.py::test_write__autodetect_driverA future agent should be able to answer ordinary open/read/write/profile questions using this sub-skill plus the bundled references and scripts, without reopening the original checkout.