Skip to content

Conversation

@doutriaux1
Copy link
Contributor

@danlipsa @scottwittenburg this will fail but i'm having an issue, the data are rotated even though I set the datawc_x1/x2

It is due to def getWrappedBounds(gmbounds, databounds, wrapModulo): in vcs2vtk.py that somehow use the actual data to for the projection. I don't understand the reasoning behind this.

@danlipsa
Copy link
Contributor

@doutriaux1 This is the help for that function. So I think this has to do with the fact that gmbounds can be used to flip the data and also it translates the bounds so that the middle is the same as gmbounds (this is used for wrapping).

def getWrappedBounds(gmbounds, databounds, wrapModulo):
"""
Returns bounds with the same interval size as databounds
but in the same order and with the same middle interval
as gmbounds. The middle and the order are used for
plotting. wrapModule has YWrap, XWrap in degrees, 0 means no wrap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants