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

Isoline labels broken #1132

Closed
potter2 opened this Issue Mar 8, 2015 · 16 comments

Comments

Projects
None yet
5 participants
@potter2

potter2 commented Mar 8, 2015

When I plot an isoline in a latitude by level plot then add labels no labels are produced instead lines across the plot. It looks like nobody tried to add isoline labels to
isoline
a plot like this.

@doutriaux1 doutriaux1 added this to the 2.2 milestone Mar 9, 2015

@doutriaux1 doutriaux1 added the VCS label Mar 9, 2015

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Mar 12, 2015

@potter2 wasn't this specific to a particular projection?

@potter2

This comment has been minimized.

potter2 commented Mar 12, 2015

This happen in a latitude-level plot. I posted an example

Jerry

Sent from my iPhone

On Mar 12, 2015, at 8:13 AM, Aashish Chaudhary <notifications@github.commailto:notifications@github.com> wrote:

@potter2https://github.com/potter2 wasn't this specific to a particular projection?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1132#issuecomment-78499733.

@allisonvacanti

This comment has been minimized.

Contributor

allisonvacanti commented Mar 12, 2015

Can you post an example with instructions to reproduce? That will make this much, much easier to address.

Also, does the isoline (without labels) work as expected?

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Mar 12, 2015

@dlonie you need data with levels look into sample data some file starting with ta_ then select one time and one longitude to end up with level and latitude only. That should do it

@potter2

This comment has been minimized.

potter2 commented Mar 12, 2015

Thanks Charles,
I'm not at my computer right now.

Jerry

Sent from my iPhone

On Mar 12, 2015, at 10:40 AM, Charles Doutriaux <notifications@github.commailto:notifications@github.com> wrote:

@dloniehttps://github.com/dlonie you need data with levels look into sample data some file starting with ta_ then select one time and one longitude to end up with level and latitude only. That should do it


Reply to this email directly or view it on GitHubhttps://github.com//issues/1132#issuecomment-78542492.

@potter2

This comment has been minimized.

potter2 commented Mar 12, 2015

As Charles said,
Select any 3D variable, select one longitude and all levels and all latitudes. Then plot with isolines. This seems to work, then select the pencil and select "draw labels” then apply - here you can see the problem.

here is a video of the steps:
https://www.dropbox.com/s/a0pnixb1qlzd5ab/labels_problem.mov?dl=0

Jerry

On Mar 12, 2015, at 9:49 AM, David Lonie <notifications@github.commailto:notifications@github.com> wrote:

Can you post an example with instructions to reproduce? That will make this much, much easier to address.

Also, does the isoline (without labels) work as expected?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1132#issuecomment-78523921.

Gerald (Jerry) Potter
NASA Goddard Space Flight Center
E-mail gerald.potter@nasa.govmailto:gerald.potter@nasa.gov
Office 28:S241
Phone 707.315.8314
Analysis and Data Consultant
Department GSFC:606.2

@allisonvacanti

This comment has been minimized.

Contributor

allisonvacanti commented Mar 13, 2015

Excellent -- thanks! I'll have a look.

@allisonvacanti

This comment has been minimized.

Contributor

allisonvacanti commented Mar 17, 2015

I tried this using ta from sample_data/ta_ncep_87-6-88-4.nc in a 'quick' isoline plot with labels, and got the following:

isolabels

Does this sample file work on your system?

@potter2

This comment has been minimized.

potter2 commented Mar 17, 2015

Have you tried the latitude-level plot?

Sent from my iPhone

On Mar 17, 2015, at 12:19 PM, David Lonie <notifications@github.commailto:notifications@github.com> wrote:

I tried this using ta from sample_data/ta_ncep_87-6-88-4.nc in a 'quick' isoline plot with labels, and got the following:

[isolabels]https://cloud.githubusercontent.com/assets/58744/6695586/be22d588-ccb8-11e4-8a0e-1db37ecf1283.png

Does this sample file work on your system?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1132#issuecomment-82548596.

@allisonvacanti

This comment has been minimized.

Contributor

allisonvacanti commented Mar 17, 2015

Ah, I see, I was missing some of the config options when loading the variable. It looks like the labels are getting scaled along with the data. Let me see what I can come up with.

Not quite as extreme as the original image, but demonstrates the issue:
isolabels

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Mar 17, 2015

@dlonie I think that's another issue actually, @potter2 had a good plot to start with, but then "clicked" edit and got the bad plot. Is that right @potter2?

@potter2

This comment has been minimized.

potter2 commented Mar 17, 2015

Yes, when I “apply” the “label" contours is when the horizontal lines appear
On Mar 17, 2015, at 4:09 PM, Charles Doutriaux <notifications@github.commailto:notifications@github.com> wrote:

@dloniehttps://github.com/dlonie I think that's another issue actually, @potter2https://github.com/potter2 had a good plot to start with, but then "clicked" edit and got the bad plot. Is that right @potter2https://github.com/potter2?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1132#issuecomment-82635049.

Gerald (Jerry) Potter
NASA Goddard Space Flight Center
E-mail gerald.potter@nasa.govmailto:gerald.potter@nasa.gov
Office 28:S241
Phone 707.315.8314
Analysis and Data Consultant
Department GSFC:606.2

@potter2

This comment has been minimized.

potter2 commented Mar 17, 2015

Here is a video of what I did:

https://www.dropbox.com/s/a0pnixb1qlzd5ab/labels_problem.mov?dl=0

On Mar 17, 2015, at 4:09 PM, Charles Doutriaux <notifications@github.commailto:notifications@github.com> wrote:

@dloniehttps://github.com/dlonie I think that's another issue actually, @potter2https://github.com/potter2 had a good plot to start with, but then "clicked" edit and got the bad plot. Is that right @potter2https://github.com/potter2?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1132#issuecomment-82635049.

Gerald (Jerry) Potter
NASA Goddard Space Flight Center
E-mail gerald.potter@nasa.govmailto:gerald.potter@nasa.gov
Office 28:S241
Phone 707.315.8314
Analysis and Data Consultant
Department GSFC:606.2

@allisonvacanti

This comment has been minimized.

Contributor

allisonvacanti commented Mar 18, 2015

CDAT/VTK@287b944 should fix this. The fix is in uvcdat-master now, so a fresh build should work as expected.

@potter2

This comment has been minimized.

potter2 commented Mar 18, 2015

Thanks,
I’ll build it and try it now

Jerry

On Mar 18, 2015, at 12:26 PM, David Lonie <notifications@github.commailto:notifications@github.com> wrote:

UVCDAT/VTK@287b944https://github.com/UVCDAT/VTK/commit/287b9443cf2622fcec69876f8aacb41b8bfb357b should fix this. The fix is in uvcdat-master now, so a fresh build should work as expected.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1132#issuecomment-83129950.

Gerald (Jerry) Potter
NASA Goddard Space Flight Center
E-mail gerald.potter@nasa.govmailto:gerald.potter@nasa.gov
Office 28:S241
Phone 707.315.8314
Analysis and Data Consultant
Department GSFC:606.2

@allisonvacanti

This comment has been minimized.

Contributor

allisonvacanti commented Apr 8, 2015

Closing as the patch fixed this for me. Reopen if the problem persists.

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