Skip to content

Projection extension - Gnomonic cubed-sphere  #882

@darothen

Description

@darothen

I have some upcoming work where I intend to develop some visualization tools for model output on a cubed-sphere grid, and I'd really like to use cartopy.

To gear up in this direction, I've been playing with some sample output data from NASA's GEOS-5 to get a sense of what grid specification and metadata might be useful to have and where friction points might be. Plotting individual faces of the output data work relatively well (although I do run into issues with pcolormesh wrapping around the international dateline for one of the faces). But ideally, I need to visualize my entire output on a single projection. The orthographic projection works ok, but only for a subset of the globe. Instead, a better way would be to "unfold" the cubed sphere and arrange the tiles in particular patterns.

How would one go about building such an "unfolded" projection into cartopy? I've toyed around with creating a grid of axes and plotting whatever faces may partially overlap on them, and that works okay, but it's extremely difficult to line up longitude lines with the "branched" tiles. For an example of how this could work, here's a sample plot made with Panoply:

image

Anyways. I'm hoping to do most of the implementation and coding myself. But if there are any resources/notes available for building new projections and extending proj.4, that would be extremely helpful!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions