Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,780 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@Sevans711 đang làm issue này rồi.

Từ ngày 22/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

dependencies fix upstream 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.)

Ngôn ngữ chính
Python
Star
230
Fork
56
Merge trung bình
6 ngày 3 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của UXARRAY/uxarray

Tất cả issue của UXARRAY/uxarray

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.