Skip to content

FionaDeprecationWarning #997

Closed
Closed

Description

@emanuel-schmid

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

  1. peanutfun commented on May 30, 2025

    @peanutfun
    Member

    from_epsg is only used in this line

    DEF_CRS_FIONA = from_epsg(DEF_EPSG)

    but the constant DEF_CRS_FIONA is 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.

  2. added
    accepting pull request
    on May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting pull requestdependencieswarnings

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions