Open cwsimmon opened 3 years ago
Tried this using the VERDI_2.1_mac_20210916.tar.gz version. Using the csh shell, run the following command:
./verdi.command -f $cwd/data/model/CCTM47_aac_spr06.12k.CONC.2006113.O3.ncf -s "O3[1]" -g contour
The application terminates with an exception. I obtained the same result using the VERDI GUI. 3D [dev] 1.6.0-pre10-daily-experimental daily
2021-09-16 17:35:34.644 java[14997:10304054] Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!' First throw call stack: ( 0 CoreFoundation 0x00007fff205f683b __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007fff2032ed92 objc_exception_throw + 48 2 CoreFoundation 0x00007fff2061ef36 -[NSException raise] + 9 3 AppKit 0x00007fff22daceb2 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321 4 AppKit 0x00007fff22d97aa2 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1296 5 AppKit 0x00007fff22d9758b -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42 6 libnativewindow_macosx.jnilib 0x00000001a6e25fa7 Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 391 7 ??? 0x000000011a093c1b 0x0 + 4731780123 ) libc++abi: terminating with uncaught exception of type NSException ./verdi.command: line 36: 14997 Abort trap: 6 $JAVACMD ${1+"$@"}
Tested with VERDI_2.1_linux64_20210920.tar.gz and VERDI_2.1_linux64_20211013.tar.gz with the following command: ./verdi.sh -f /work/MOD3APP/yxu/VERDI_2.1/data/model/CCTM47_aac_spr06.12k.CONC.2006113.O3.ncf -s "O3[1]" -g contour The contour plot was displayed in a floating window as below: The timestep changes in the plot also worked properly.
Reported by Russ Bullock
The first time a formula is plotted, the plotted field does not appear with the legend. Clicking to change the timestep or layer displayed makes the contours appear for the new time or layer. Then reversing to the initial time or layer produces the data portion of the plot. There are no errors written to the command prompt window for the issue.
Also, the contour plots do not fill the entire viewable space very well. The data plot covers only about 60% of the available space (in width and height) on the plot left of the legend.