Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Geoviews projection plots with "lon_0" broken with cartopy 0.26.0 in RTD

Abierto
#1,780 1 comentario 0 reacciones 1 asignado Ver en GitHub

@Sevans711 ya está trabajando en esto.

Desde el 22/9/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

bug dependencies visualization

Cartopy 0.26.0 currently breaks some plots using geoviews and projections, which removed "lon_0" key from some projections. For example, the bottom cell on the readthedocs page titled "Reading Structured Grids" (https://uxarray.readthedocs.io/en/latest/user-guide/structured.html) currently has a crash instead of a plot. The crash is KeyError: 'lon_0' being raised from a line like if (isinstance(crs, ccrs.PlateCarree) and not isinstance(proj, ccrs.PlateCarree) and crs.proj4_params['lon_0'] != 0): inside of geoviews.

@rajeeja created holoviz/geoviews#884 to provide a fix upstream; it has already been accepted and merged into geoviews's main branch. According to comment in thread there, it sounds like the timeline for the next geoviews release is hopefully in the next couple of weeks.

Should we introduce pins like geoviews<=1.15.1, cartopy<0.26.0 to uxarray in the meantime? Pros: uxarray users' plots would work as expected, and not remain broken while awaiting a new geoviews release. Cons: this would block #1773 until the new geoviews release, because that PR would pin cartopy >=0.26.0 in order to support matplotlib>=3.11, solving #1542 and #1772.

(Didn't add the "fix-upstream" label yet; should add it after either adding those version pins or definitively deciding not to.)

Lenguaje dominante
Python
Estrellas
228
Forks
55
Merge medio
4 d 23 h
PR fusionados (30 d)
16

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de UXARRAY/uxarray

Todos los issues de UXARRAY/uxarray

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.