Migrate surface user guide off datashader
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
- Tipo di issue
- Refactoring
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Tranquilla
- Stack tecnologico
- matplotlib, python
- Ambito
- data-visualization, documentation
Direzione di ricerca
Start with docs/source/user_guide/surface.ipynb and run it to inspect the current datashader-based workflow, including Canvas, shade, stack, and Elevation usage. Replace the documented workflow with xarray-spatial rasterization and matplotlib rendering, then re-execute the notebook. Done means it runs top to bottom without importing datashader, produces the expected plots, and regenerates the preview image cleanly.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Reason or Problem
docs/source/user_guide/surface.ipynb imports datashader and uses Canvas to set up the terrain grid plus shade/stack and the Elevation colormap for rendering. xarray-spatial now provides its own rasterization, and matplotlib covers the rendering.
Proposal
- Remove the datashader imports.
- Replace any
Canvas-based grid setup with xarray-spatial's own functions (e.g.generate_terrainwith a plain coordinate setup). - Replace
shade/stackand datashader colormaps with matplotlib (imshow, a terrain-style colormap). - Update the prose cells that describe the datashader workflow.
- Re-execute the notebook so outputs and the preview image regenerate cleanly.
Done when
- The notebook runs top to bottom with no datashader import and produces the expected plots.
Part of removing datashader as a dependency; final packaging removal is tracked in #3450.
- Lingua principale
- Python
- Stelle
- 972
- Fork
- 92
- Merge medio
- 2g 12h
- PR unite (30g)
- 7
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di xarray-contrib/xarray-spatial
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
xarray-contrib/xarray-spatial#3726 ·
-
api area:surface bug severity:medium sweep-api-consistency
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
xarray-contrib/xarray-spatial#3712 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
xarray-contrib/xarray-spatial#3710 ·
-
benchmarks: cupy branch in get_xr_dataarray never raises NotImplementedError on non-GPU hosts Apertabug
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
xarray-contrib/xarray-spatial#3707 ·
-
area:surface documentation user-guide-example
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
xarray-contrib/xarray-spatial#3464 ·
Tutte le issue di xarray-contrib/xarray-spatial
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
zostera/django-bootstrap4#894 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
use-agent-os/agent-os#3276 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
NousResearch/hermes-agent#117848 ·