Create 3d topography from NetCDF

I would like to make a globe with topgraphy from a NetCDF. From these pages I get the impression that should be possible:

Problem I run into is that my calculator either provides the xyz-coordinates (on selecting point data) or the elevation (on selecting cell data). Never the two datatypes together, unlike the examples. I have converted the file to vtk (in Paraview), tried another reader (in an old version of Paraview).
Making a 3d topography does work with a vtp file of ETOPO provided by earthmodels, but that is not the data I need. I couldn’t find information on how to convert NetCDF to the right vtp format.

Hope you can help me!

There is no reason for this not to work. Care to share your file ?

The files are too big (5.3 Mb or 25 Mb) to share or send in a private message. Can I email or upload another way?

Merci beaucoup Mathieu!

@mwestphal My employer offers its own way of sending files. Does this work for you too?

Yes, I’m able to open the file without issue:

You don’t even need a calculator for what you want:

a.pvsm (389.8 KB)

Also take a look at:

1 Like

You should then be able to use the calculator they want you may want to extrude your dataset.

Thanks @mwestphal! I will look into that.

There’s a filter “Cell Data to Point Data” that would allow you to convert between the data types. Placing that between your source file and the calculator would allow you to access all fields (or a selected subset) as point data.
The embossing representations featured by Mathieu might be the faster solution for your problem, though.

1 Like

Thanks @mwestphal and @florian.ziemen I got the suggestions from both of you working! :slight_smile:

1 Like

@thomasvanderlinden : hi - another possible way to go is downloading global high resolution topo/bathymetric data from gebco (15 arc-second):

Data come in (very conveniently) lat/long and you have elevation in meters. The netcdf file you will download download, in its metadata description, contains all the info and details about measurements and references adopted when creating the dataset.

You can also use a specialized color-map to color land and ocean (asymeetric, diverging).

And also, you can download the high definition coastline to overlap to your topo/bathy data. I am sure you might find this link interesting:

Good luck.