SciTools / cartopy

Cartopy - a cartographic python library with matplotlib support
https://scitools.org.uk/cartopy/docs/latest
BSD 3-Clause "New" or "Revised" License
1.43k stars 365 forks source link

Gnomonic Projection - to include "central_longitude" aka proj4 "+lon_0" #854

Closed cvelascof closed 7 years ago

cvelascof commented 7 years ago

cartopy's Gnomonic Projection accepts "central_latitude" as parameter but "central_longitude" currently missing. class cartopy.crs.Gnomonic(central_latitude=0.0, globe=None) however proj4=gnom projection accepts 'lon_0' too +proj=gnom +lat_0=51 +lon_0=7

maxnoe commented 7 years ago

Yes please! This would be very helpful for plotting stuff a telescope can see. You might not be aware of this, but the plotting functions and projections are also hugely helpful to plot skymaps.

ajdawson commented 7 years ago

@cvelascof already implemented this in the master branch, it will be included in the next release.

DPeterK commented 7 years ago

@ajdawson et al funny you should mention that - I'm working on 0.15.1 right now, which will include that change.

ajdawson commented 7 years ago

Really? I thought the 0.15.x branch was cut before this went on master.

DPeterK commented 7 years ago

@lbdreyer, @bjlittle and I just discussed this - we're going to update v0.15.x from master and then release v0.15.1 from there.