Code Monkey home page Code Monkey logo

Comments (2)

Chilipp avatar Chilipp commented on June 20, 2024

Hey @Casthardi! Thank you for this! Yes, it's due to the default behaviour of the map_extent keyword (which is why I transferred this issue to the psy-maps repository). I determine the map_extent by the longitude-latitude box of the data and for something like this, the minimum longitude is -180, and the maximum is 180.

I'll fixed this with #12, although it is still not perfect, though. When using a standard cylindric projection (i.e. projection='cyl'), this creates a plot like this

image

which is of course not, what you want to see. You need to manually set the central longitude to 180 (i.e. clon=180 or in psy-view through the basemap dialog). Then you get something like this:

image

from psy-maps.

Chilipp avatar Chilipp commented on June 20, 2024

For the CF-encoded rotated pole projection, however, this is fixed by #12 as clon is here in principle set through the CF-conventions' grid_mapping variable.

from psy-maps.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.