Skip to content

Basemap 1.0.5 issue #88

@ajheaps

Description

@ajheaps

I'm trying to zoom in on a cylindrical projection of some data and think there's a Basemap 1.0.5 issue. The data I'm plotting is from a climate model and is of fairly coarse resolution. The plot at http://climate.ncas.ac.uk/ajh/basemap/python.png shows the problem with missing contours although there is data there after applying addcyclic and shiftgrid.

The data in longitude starts at 0 degrees and then has steps of 3.75 degrees to 356.25 degrees. When the plotting region starts or ends at a point that isn't a grid point location in longitude the plot shows this issue. If I change the contour region to -7.5 to 3.75 (both of which are grid points) then the contours are all drawn correctly.

The simple code and data is available at http://climate.ncas.ac.uk/ajh/basemap. is this a known issue?

Regards
Andy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions