-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
accepting pull requestContribute by raising a pull request to resolve this issue!Contribute by raising a pull request to resolve this issue!bug
Description
Describe the bug
Error message about cannot determine the common CRS when computing the TC windfield using TropCyclone.from_tracks().
Code example:
from climada.hazard.tc_tracks import TCTracks
from climada.hazard import TropCyclone, Centroids
sel_storm = TCTracks.from_ibtracs_netcdf(storm_id='2017043S19040')
sel_storm.equal_timestep(time_step_h=1)
centroids_sel = Centroids.from_hdf5('centroids_sel.hdf5')
tc_fcast = TropCyclone.from_tracks(sel_storm, centroids_sel)Error message:
File ~/opt/anaconda3/envs/climada_env/lib/python3.9/site-packages/geopandas/array.py:1493 in _get_common_crs
raise ValueError(
ValueError: Cannot determine common CRS for concatenation inputs, got ['WGS 84', 'WGS 84']. Use `to_crs()` to transform geometries to the same CRS before merging.Expected behavior
Produce the TC wind field of storm '2017043S19040'
Screenshots
If applicable, add screenshots to help explain your problem.
Climada Version: [Version or branch]
v4.1.1 - develop
(I'm experiencing issues with exposure and hazards not having a common longitude in the main branch.)
System Information (please complete the following information):
- Operating system and version: euler
- Python version: Python 3.10.4
Additional context
The same problem also exists on macOS14.3.1
Metadata
Metadata
Assignees
Labels
accepting pull requestContribute by raising a pull request to resolve this issue!Contribute by raising a pull request to resolve this issue!bug