parquet-raster
Review and reason about the alpha Parquet Raster proposal: root raster structs, paired GeoParquet geometry/geography columns, affine georeferencing, bands, storage location, CRS, and proposal limits.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- parquet-raster
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Review and reason about the alpha Parquet Raster proposal: root raster structs, paired GeoParquet geometry/geography columns, affine georeferencing, bands, storage location, CRS, and proposal limits.
- disable-model-invocation
- true
02 资源文件 2
- 参考文档references/raster-proposal.md6.4 KB
- 参考文档references/troubleshooting.md5.5 KB
03 SKILL.md 正文
Parquet Raster (alpha proposal)
Status and scope
Treat this skill as an alpha proposal review aid, not as stable GeoParquet vector support. The proposal describes raster values in Parquet and relies on GeoParquet/Parquet geometry or geography types for a paired spatial reference column. It is suitable for schema review, metadata interpretation, and safe out-db URI inspection. It is not a claim that a file is interoperable, nor a replacement for a production raster reader or validator.
Use this skill when a task mentions a proposed Parquet Raster column or needs to interpret its raster metadata. For vector metadata, vector validity, or stable GeoParquet questions, follow validate-geoparquet instead.
Operating procedure
- Check proposal metadata and locate the raster column. Record the
file-level
version,primary_column, andcolumnsmetadata before interpretation; missing or unknown values are unresolved proposal metadata, not evidence of a default version. Confirm that each raster column is a root-level Parquetstruct. Its struct contains the raster value fields described in the bundled proposal notes, including required affine parameters, dimensions, andbands. - Resolve the paired spatial column. Find a top-level
GeometryorGeographycolumn. The raster column's column metadata must name it in the requiredgeometryfield. A missing, nested, mistyped, or mismatched pair is an alpha proposal issue; do not silently substitute another vector column. - Interpret georeferencing. Apply the center-of-cell affine equations
below using zero-based
colfrom the left androwfrom the top. Preserve the source values and units; do not assume north-up, square pixels, or a particular axis order. - Inspect bands. Decode the band flags and
pixtypebefore interpretingnodata,length, ordata. For in-db bands, expect row-major pixel bytes. For out-db bands, review the URI and band number without dereferencing it. - Check CRS representation.
crsis optional UTF-8 text. Recognize the proposal'ssrid:valueandprojjson:valueconventions, but do not invent a CRS when it is absent or malformed. - Report proposal limits. Label conclusions as proposal-level and record ambiguities or unsupported behavior. Do not promote this skill's result to stable vector compliance.
For a cell at zero-based column col and row row, the proposal gives:
world_x = ip_x + (col + 0.5) * scale_x + (row + 0.5) * skew_x
world_y = ip_y + (col + 0.5) * skew_y + (row + 0.5) * scale_y
The proposal describes width as the pixel width and height as the pixel
height; therefore use 0 <= col < width and 0 <= row < height. Keep two
alpha wording conflicts visible: one prose sentence says grids have width
rows and height columns, and the field table/equations describe ip_x and
ip_y like a corner origin while another paragraph calls them the upper-left
cell center. Apply the published equation when calculating, but do not claim
these descriptions are reconciled.
Required review observations
A useful review should be able to state:
- whether the file-level
version,primary_column, andcolumnsmetadata is present and internally referable, while preserving unknown version/schema details as unresolved; - which root-level struct is the raster column and which top-level geometry or geography column it names;
- whether all required affine fields and
INT32dimensions are present, while treating validation of numerical suitability as an explicit review decision; - the pixel coordinate convention and the resulting world coordinate for any requested cell;
- each band's
isOffline,hasNodataValue,isAllNodata,isGZIPPed,pixtype,nodata,length, anddatainterpretation; - whether bytes are in-db or the band is out-db, and whether an out-db URI uses
an allowed
file://,http://, orhttps://scheme; - the CRS text and whether it follows the
srid:orprojjson:convention; - which observations are proposal-supported, ambiguous, unverified, or out of scope.
Safety and non-goals
- Never fetch, open, authenticate to, or resolve an out-db URI during a review.
An
https://URI can be checked syntactically and reported as an external dependency without network access. - Do not treat
isAllNodataas proof of content: the proposal calls it a dirty flag and says it is set properly by an implementation operation. If it is true, report the flag and its provenance; do not scan external data. - Do not infer pixel values from
nodataunlesshasNodataValueis true. - Do not assume a missing
crsmeans a default CRS. - Do not create a raster validator, fixture, decoder, or network fetcher for this skill. No such validator or fixture is part of this alpha proposal bundle.
- Do not use this skill to answer vector questions; route those to validate-geoparquet.
References and troubleshooting
- Raster proposal notes summarize the source contract, field encodings, equations, and known limitations.
- Troubleshooting gives bounded recovery steps for common review failures, including malformed schema/metadata, band length/flag ambiguity, a missing paired column, and a remote out-db band.
When reporting a result, include the inspected schema/metadata facts, the proposal interpretation used, any source ambiguity, and the actions explicitly not taken (such as fetching a URI).
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).