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

Image Renderer misbehaves without 2D variables #2975

Closed
sgpearse opened this issue Jan 21, 2022 · 0 comments · Fixed by #3024
Closed

Image Renderer misbehaves without 2D variables #2975

sgpearse opened this issue Jan 21, 2022 · 0 comments · Fixed by #3024

Comments

@sgpearse
Copy link
Collaborator

sgpearse commented Jan 21, 2022

The image renderer does not draw to proper extents when a dataset has no 2D variables.

To reproduce:

  1. Import the CF file /glade/p/cisl/vast/vapor/data/Bugs/2975/cm1out_000061.nc
  2. Create an image renderer and enable it to see the following:

Screen Shot 2022-01-21 at 3 51 14 PM

  1. Create a 2D variable with the following NCO command, and repeat the above steps to see the following:

ncap2 -O -s 'u2d=uinterp(:,1,:,:)' cm1out_000061.nc cm1out_000061_with2d.nc

Screen Shot 2022-01-21 at 3 52 29 PM

clyne added a commit that referenced this issue Feb 15, 2022
Fixed #3007 - Image renderer causes core dump with UGRID data
Fixed #2975 - Image Renderer misbehaves without 2D variables
clyne added a commit that referenced this issue Feb 15, 2022
* ImageRenderer was not handling caculation of default Z value consistently
with other 2D renderers

* Fixed various image rendering problems with different data sets

Fixed #3007 - Image renderer causes core dump with UGRID data
Fixed #2975 - Image Renderer misbehaves without 2D variables

* clang-format pre-push hook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant