技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
cli-data-and-network【数据与研究】Diagnose pyproj installation and native PROJ runtime state, use the CLI safely, select PROJ data directories, and plan network-backed transformation-grid discovery without hiding downloads or mutating state unexpectedly.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route when the task is about installing or importing pyproj, checking
its Python/PROJ versions, reading pyproj CLI help, selecting PROJ data
locations, enabling network access, or finding and synchronizing transformation
grids. Start with the read-only diagnostic when the runtime is uncertain:
scripts/diagnose_pyproj.py.
../crs-and-database/SKILL.md.../coordinate-transformations/SKILL.md.../geodesic-calculations/SKILL.md.python -m pyproj --help (or the installed pyproj --help) and the
bundled diagnostic. Confirm that import succeeds, runtime and compiled PROJ
versions are compatible, and a valid directory containing proj.db is
selected.python -m pyproj -v or pyproj -v. Compare
PROJ (runtime), PROJ (compiled), data dir, database versions, Python,
and dependency information. Do not treat a version report as proof that a
particular grid is installed.sync, choose an explicit target and a filter. Prefer
pyproj sync --list-files for inspection, while remembering that obtaining
the grid manifest may itself fetch files.geojson when it is absent or
stale. Use an explicit directory and review the listed names before any
download.proj.db, a missing data directory, or a
runtime/compiled mismatch, follow
references/troubleshooting.md before
retrying a transformation.PROJ_DATA/legacy PROJ_LIB, PROJ_NETWORK, and CA
bundle settings; and, for grid discovery, a source id, filename, area of use,
or geographic west,south,east,north bounding box.pyproj.sync.get_transform_grid_list. A sync download writes a manifest and
grid files only where the selected CLI target permits it.get_data_dir() must resolve to a
path containing proj.db; runtime and compiled PROJ versions should match
for a coherent install; filters must be narrow enough to review; checksums
must pass when the sync implementation supplies one.PROJ_DATA/PROJ_LIB and competing installations,
select one coherent data tree, restart the Python process after changing
environment variables, then rerun the read-only checks. For network or
checksum failures, preserve the original partial-download cleanup behavior
and retry only after checking target writability, CA certificates, network
permission, and available disk space.This route deliberately does not download grids itself. The bundled diagnostic
is read-only and has safe defaults; a human or calling workflow must explicitly
approve any sync download.