by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 10 20:20
    karlwx commented #1546
  • Aug 10 20:14
    karlwx commented #1546
  • Aug 07 21:17
    greglucas synchronize #1628
  • Aug 07 21:15
    greglucas commented #1628
  • Aug 07 21:12
    greglucas commented #1496
  • Aug 07 21:11
    greglucas synchronize #1628
  • Aug 07 21:00
    dopplershift commented #1496
  • Aug 07 20:57
    dopplershift commented #1496
  • Aug 07 20:30
    greglucas commented #1496
  • Aug 07 19:53
    QuLogic milestoned #1624
  • Aug 07 19:11
    dopplershift commented #1496
  • Aug 07 19:06

    dopplershift on master

    TST: Changing lockfile handling… Merge pull request #1624 from g… (compare)

  • Aug 07 19:06
    dopplershift closed #1624
  • Aug 07 15:01
    greglucas synchronize #1496
  • Aug 07 14:58
    greglucas synchronize #1575
  • Aug 07 14:57
    greglucas synchronize #1622
  • Aug 07 14:57
    greglucas synchronize #1624
  • Aug 07 14:55
    greglucas synchronize #1629
  • Aug 07 01:02
    greglucas commented #1628
  • Aug 07 01:01
    greglucas commented #1628
Sanjana Jagannathan
@sj1191
ah okay, thanks!
Paolo Squadrito
@Rocknpools

image.png

Hi all! i want to plot a satallite coverage diagram like this one. Would it be possible with cartopy? Any hint to get started?

Greg
@greglucas
Yes that is doable. Depending on what shape you're adding, you can just call add_patch under your satellite with the proper view angle width and use the proper projections for the transforms. You can also follow the Nightshade day/night terminator example: https://scitools.org.uk/cartopy/docs/latest/gallery/nightshade.html#sphx-glr-gallery-nightshade-py which uses a sub-solar point and expand that to your use case.
Paolo Squadrito
@Rocknpools
Thanks @greglucas i will surely dig into it!
dsitaram
@dsitaram
Hi, I am trying to install cartopy with anaconda, but it does not give me version 18 to install, just version 17. There is no option to update within the Anaconda navigator either. Does anyone have a fix?
Elliott Sales de Andrade
@QuLogic
Do you have the conda-forge channel enabled?
dsitaram
@dsitaram
I believe so
There is an option to update now in the Anaconda navigator, but it stalls on the solving package specifications pop up
Elliott Sales de Andrade
@QuLogic
there would be conflicts then, that you'd need to resolve
dsitaram
@dsitaram
How would I do that
Elliott Sales de Andrade
@QuLogic
I don't know; you'd have to figure out how to get that information from Anaconda Navigator
dsitaram
@dsitaram
Thank you, I will look into it
Callum Rollo
@callumrollo
Hi devs, I have a question on citing Cartopy for an academic paper. What is the preferred way to do this? I have found two different citations
The citation on scitools is from 2015 and only acknowledges the Met Office as author https://scitools.org.uk/cartopy/docs/latest/citation.html
Importing the zenodo link from the github README (doi:10.5281/zenodo.3783894) gives a much more detailed and up to date list of authors starting with Phil Elson
Greg
@greglucas
Good question! I usually cite the version of software that I used to produce the figures in the paper. So that would be the Zenodo link you have above, and then just point to the specific version you used.
Mark Wells
@m-wells
looking for a way to invert the longitude axis (making sky plots for astronomy), seems like it should be simple but doing ax.invert_xaxis() messes up my ticklabels
Mark Wells
@m-wells
basemap has the celestial keyword which inverts the ordering of longitude
Greg
@greglucas
See: SciTools/cartopy#1606 for a discussion about the ticklables with an inverted axis.
Mark Wells
@m-wells
hmm, I try tweaking the padding, thanks for the link
*I'll
Greg
@greglucas
PRs welcome to fix that too!
Mark Wells
@m-wells
one issue is that I'm using a NearsidePerspective and the gridlines labels produce very nice rotated ticks, these are not updated for inverted axis. (that PR that added gridlines to all projections was awesome and the main reason why I came back to using cartopy)
I can turn the rotated ticks off so it isn't terrible (but they really are nice)
Mark Wells
@m-wells
oh, looks like there is a current bug with the visibility so no amount of tweaking the padding will fix it (for now anyway)
dsitaram
@dsitaram
image.png
Hi, I'm a little new to cartopy. I'm looking for a way to plot data so it isn't split in the middle (refer to picture). I'm using the EquidistantConic projection. Does anyone have any tips?
Elliott Sales de Andrade
@QuLogic
You can do that by setting at least one standard parallel to 90
Or pick a different projection that doesn't do that
matrixbot
@matrixbot
Matt Painter
@nullpainter
Hi all! I'm trying to project a high resolution JPEG from PlateCarree to Geostationary - all is working beautifully, however the output image is super blocky. I've played with increasing dpi on savefig(), but this just results in a larger images with larger blocky pixels. Is there a way to increase the resolution of image projection?
(I'm new to cartopy, and to python, which isn't the greatest combination...)
Elliott Sales de Andrade
@QuLogic
I assume you mean with imshow?
Matt Painter
@nullpainter
That's correct (I think). I've adapted the code at: https://scitools.org.uk/cartopy/docs/latest/gallery/geostationary.html
I can see that you can set figsize and dpi on figure, and on savefig but still not having a huge amount of joy
Elliott Sales de Andrade
@QuLogic
You will want to pass higher regrid_shape to imshow
The default is 750 along the minimum dimension
Matt Painter
@nullpainter
Aah, let me try that!
Thank you!
Elliott Sales de Andrade
@QuLogic
I don't know why the docs only mention this for barbs and quiver
Matt Painter
@nullpainter
All discussion being around print units (DPI, etc.) was a bit of a curve ball for me, who really just wanted to deal in pixels...
Hoorah, that's much better. Thank you SO much. I absolutely wouldn't have found that out myself.
Matt Painter
@nullpainter
image.png

Trying out this example here:
https://scitools.org.uk/cartopy/docs/v0.15/examples/geostationary.html

But the results aren't clipped - is there a way to fix this?

(presumably out-of-date documentation?)
Elliott Sales de Andrade
@QuLogic
Well, that is the docs for 0.15, so maybe
Matt Painter
@nullpainter
Yeah :(
Matt Painter
@nullpainter
Downgrading to 0.16 'fixed' it.
Elliott Sales de Andrade
@QuLogic
Matt Painter
@nullpainter
I'm.... not sure how I didn't see that. Thanks!
Elliott Sales de Andrade
@QuLogic
I've always lamented that Matplotlib's deprecation machinery is private-ish, but I came across debtcollector yesterday https://docs.openstack.org/debtcollector/latest/
Maybe it is something we can use if we need to do more deprecations