createDEM_v1

cosipy.postprocessing.vtk_plots.plot_cosipy_fields_vtk.createDEM_v1(file_path='../../data/output/Zhadang_ERA5_20090101-20090110.nc')[source]

Map dataset to DEM using Delaunay triangulation.

The DEM is saved as a vtu file.

Note

smoothing the DEM on creation means add_scalar will not find the closest points, as the planes no longer intersect. If smoothing occurs at the start of plotSurface, the data lost through triangulating is not recovered.

Parameters:

file_path (str)