-
Notifications
You must be signed in to change notification settings - Fork 68
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
polar plot for sub zones seems to not work #1265
Comments
@aashish24 care to take a look while you do the wrapping thing? |
@doutriaux1 I will work on this as soon as I fix the animation issue. |
@aashish24 @danlipsa I believe this is fixed no? |
ok I tested this is "sort of work" the issue is that data are drawn past the range required. Moving to 2.6 |
@doutriaux1 @aashish24 In the latest master I disabled gm.datawc for geographic projections including polar. In the current code datawc is used as a zoom-in feature where the dataset stays the same and only the parallel projection changes. This cannot work for data transformed through a geographic projection because 1. datawc is specified in lon/lat 2. the subset of data is not rectangular for the geographic projected data |
@danlipsa hum... I need to think about this, i think it's important it works again for all projections. Especially for the one above. The other projection are probably less importatn, robinson/molleweide really require the whole dataset, although I cans ee poeple trying to plot data going -180/180 and other data going 0/360 with the same gm and starting wondering why they look different. Lambert should always be plotted with a sub-region so I don't think it's as critical there. |
@doutriaux1 @aashish24 A small correction. For datasets that go through a geographic projection datawc works for wrapping (translation of the origin: 0:360 to -180:180) and for flipping but not for zooming into the data. In the past, zooming was using an array of points in the desired interval that was transformed through the geographic projection, then the bounding box of the transformed points was used for parallel projection. This does not work in all cases, as you could end up with a concave shape in the Cartesian space (an arc of a circle). Getting the bounding box for that will not produce the correct results. |
@doutriaux1 @aashish24 If we want to fix this, we have to do the datawc processing before we create the VTK dataset. |
@danlipsa Following our discussion today, here are some links to the bits I was referring to: #1450 contains some specific discussion of the issues with trying to execute python-implemented VTK filters in vcs. |
BUG #1265: Fix datawc zoom-in for geographic projections.
use clt data
The text was updated successfully, but these errors were encountered: