Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

geographic CRS - Results from 'area' likely incorrect

Offen
#1,232 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
data

Rechercherichtung

The warnings come from geopandas area, buffer, distance and length calls on geographic-CRS geometries at climada.util.lines_polys_handler (line 957), climada.hazard.tc_tracks (lines 644 and 647), and climada.hazard.centroids.centr (line 637); the test-side hit is climada.util.test.test_coordinates (line 1701). Start by reproducing with the test suite and confirming the warning text. Done means each call site either reprojects to a suitable projected CRS first or the warning is otherwise resolved, with the affected tests still passing.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

warnings

UserWarning

Geometry is in a geographic CRS. Results from 'area' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.

Occurrence

  • climada.util.test.test_coordinates:1701

UserWarning

Geometry is in a geographic CRS. Results from 'buffer' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.

Occurrences

  • climada.hazard.tc_tracks:644
  • climada.hazard.tc_tracks:647
  • climada.hazard.test.test_tc_tracks:719

(3 times during tests)


UserWarning

Geometry is in a geographic CRS. Results from 'distance' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.

Occurrences

  • climada.hazard.centroids.centr:637

(4 times during tests)


UserWarning

Geometry is in a geographic CRS. Results from 'length' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.

Occurrences

  • climada.util.lines_polys_handler:957

(8 times during tests)

Vorherrschende Sprache
Jupyter Notebook
Sterne
478
Forks
166
Ø Merge
1 T. 20 Std.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CLIMADA-project/climada_python

Alle Issues in CLIMADA-project/climada_python

Ähnliche Issues

Weitere Issues zu Data Engineering

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.