Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

almost there #356

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

almost there #356

wants to merge 1 commit into from

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.

2 participants