Example Vapor nc not rendering on Ubuntu 18.04 running Vapor 3.5

Hello – I’ve used Vapor 3.1 and 3.2 quite a lot before on my current computer (OS Ubuntu 18.04). However, I’ve installed Vapor 3.5 using the shell script, and although the program seems to run fine, when I import a netcdf file from the Vapor examples, a new renderer does not produce the usual 3-d box indicating that a render has loaded. It doesn’t matter which renderer I choose. I have tried several netcdf files other than the Vapor examples, such as the GHRSST data that I have successfully rendered in the past.

There used to be a diagnostic to check if your graphics driver was working in the way that vapor needs, but I don’t see that anymore with version 3 instructions.

You can find my glxinfo graphics output here: http://u.pc.cd/7TQ.

Thanks in advance, Sam

Hi Sam,

Thanks for sharing the glxinfo - I believe it should be good because it indicates you’re running OpenGL 4.6.0.

You mentioned a vapor example file that you can reproduce this with. Could you specify which one, or provide a link to another file that I can try?

Also, are you loading any session files before importing the new data? Or, are you importing the data from a purely new instance of vapor?

-Scott

Hello Scott

I’ve documented the problem in the attached document. Please let me know if something is unclear. I’m not loading any session files before importing new data. And yes, I am importing the Vapor example netcdf ROMS or WRF data from a purely new instance of vapor.

Thanks very much for your help,

Sam

SamMcClatchie2_small.jpg

(Attachment possible-bug-report.html is missing)

link to documentation of possible bug

Are you importing the ROMS grid file along with the data file? Not including it could be the problem.

Vapor should probably be reporting an error if this is the case though.

Hi Scott

I see one grid file in the kauffman ROMS example dataset:

(base) smcc@Jaguar:/mnt/data/dynamic_data/datasets/vapor/example_datasets$ ls -al
total 2357992
drwxrwxr-x 2 smcc smcc      4096 Sep 15 12:32 .
drwxrwxr-x 3 smcc smcc      4096 Sep 11 11:25 …
-rw-rw-r-- 1 smcc smcc 187902972 Nov 18 2017 b.n20.B1850CN.f09_g16.09.roms.ha.0001-01.nc
-rw-rw-r-- 1 smcc smcc 187902972 Nov 18 2017 b.n20.B1850CN.f09_g16.09.roms.ha.0001-02.nc
-rw-rw-r-- 1 smcc smcc 187902972 Nov 18 2017 b.n20.B1850CN.f09_g16.09.roms.ha.0001-03.nc
-rw-rw-r-- 1 smcc smcc 187902972 Nov 18 2017 b.n20.B1850CN.f09_g16.09.roms.ha.0001-04.nc
-rw-rw-r-- 1 smcc smcc 519345379 Sep 15 12:32 kauffmanSample.tar.gz
-rw-rw-r-- 1 smcc smcc  35927268 Nov 18 2017 NEP4_grid.nc
-rw-rw-r-- 1 smcc smcc 1107653468 Nov 18Â 2017 wrfout_d02_2007-04-01_00:00:00.nc

I tried importing the NEP4_grid first, then imported the first ROMS file as a second dataset, but Vapor crashed as before.

Here is the error message:

(base) ./vapor VAssert(bs.size() == 2 || bs.size() == 3) failed in StructuredGrid.cpp, line 26

I failed to find a log file.

Still puzzled.

Sam

SamMcClatchie2_small.jpg

Try importing the grid file and data file together, as a single dataset. Vapor should not be crashing though. I’ll issue a ticket.

It appears to work as expected if both the ROMS grid file and a ROMS dataset are both selected before opening.