Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crs tools #232

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

crs tools #232

wants to merge 6 commits into from

Conversation

larsbuntemeyer
Copy link
Contributor

@larsbuntemeyer larsbuntemeyer commented Feb 25, 2024

This pull request introduces new functionalities for handling coordinate reference systems (CRS) and creating polygons in rotated pole coordinates. The most important changes include adding a CRS mapping and conversion function, and a utility function to create polygons.

CRS Handling:

  • cordex/ccrs.py: Added a CRS mapping dictionary and functions _ccrs_from_cf and get_ccrs to convert CF-compliant grid mappings to Cartopy CRS objects.

Utility Functions:

  • cordex/utils.py: Added a create_polygon function to generate polygons in rotated pole coordinates using the Shapely library.map CF grid mapping attributes to cartopy classes and keyword arguments.

@larsbuntemeyer larsbuntemeyer added this to the v0.9.0 milestone Jul 18, 2024
@larsbuntemeyer larsbuntemeyer removed this from the v0.9.0 milestone Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant