In `climada.util.constants` the line 51 causes this deprecation warning: ``` from fiona.crs import from_epsg ``` `This function will be removed in version 2.0. Please use CRS.from_epsg() instead.` There is already a PR #998 drafted that removes the fiona package altogether from the explicit dependencies.
Activity
peanutfun commentedon May 30, 2025
from_epsgis only used in this lineclimada_python/climada/util/constants.py
Line 215 in 08ec51b
but the constant
DEF_CRS_FIONAis never used within the entire Climada code base (see https://github.com/search?q=org%3ACLIMADA-project+DEF_CRS_FIONA&type=code). We can simply remove it and be rid of the warning.