Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

geographic CRS - Results from 'area' likely incorrect

Aperta
#1,232 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
data

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)

Lingua principale
Jupyter Notebook
Stelle
478
Fork
166
Merge medio
2g 31m
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CLIMADA-project/climada_python

Tutte le issue di CLIMADA-project/climada_python

Issue simili

Altre issue su Data Engineering

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.