Skip to content

Conversation

@bjlittle
Copy link
Member

This PR addresses issue #3228

@bjlittle
Copy link
Member Author

Closes #3228

LambertConformal(secant_latitudes=(1, 2, 3))

def test_secant_latitudes_single_value(self):
lat_1 = 40

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs
W191 indentation contains tabs

lcc = LambertConformal(secant_latitudes=lat_1)
ccrs = lcc.as_cartopy_crs()
self.assertEqual(lat_1, ccrs.proj4_params['lat_1'])
self.assertNotIn('lat_2', ccrs.proj4_params)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs
W191 indentation contains tabs

@bjlittle
Copy link
Member Author

@corinnebosley This PR will fail and require to be rebased once #3230 is resolved

@bjlittle bjlittle force-pushed the lambert-conformal-secant-latitudes branch from 94f10f8 to be7d02f Compare November 27, 2018 16:48
@corinnebosley
Copy link
Member

@bjlittle Looks good to me. I'm pushing the button.

@corinnebosley corinnebosley merged commit f22a5f1 into SciTools:v2.2.x Nov 28, 2018
@QuLogic QuLogic added this to the v2.2.1 milestone Nov 28, 2018
@bjlittle
Copy link
Member Author

Awesome, thanks @corinnebosley 😄

@bjlittle bjlittle deleted the lambert-conformal-secant-latitudes branch October 29, 2019 10:22
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.

4 participants