-
Notifications
You must be signed in to change notification settings - Fork 416
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
added albers_conical_equal_area projection #1344
Conversation
@dopplershift , to implement albers, I just copied the code for the lambert method and test. I figured they were both conformal, so the parameters should be the same? Of course there may be more to it than that, but fingers crossed! 😸 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good in general. Just a few minor flake8 issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
attrs = {'grid_mapping_name': 'albers_conical_equal_area', 'standard_parallel': 25} | ||
crs = CFProjection(attrs).to_cartopy() | ||
assert isinstance(crs, ccrs.AlbersEqualArea) | ||
assert crs.proj4_params['lat_1'] == 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not seem to match with the attrs that was set (attrs says 25, this says 20), which is causing test suite to now fail after the fixes I'm working on in #1325. @dopplershift Can I update it there to get tests passing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sigh Yes. This is why we need CI working, because I suck at code review.
Description Of Changes