plot_cosipy_fields_vtk

Functions

add_scalar(file_path, var, timestamp[, ...])

Selects data from array at specific time or as a daily mean.

check_2d(array)

Checks if an input array has 2D spatial coordinates.

convert_unstructured_to_polydata(...)

Converts unstructured grid to polydata.

createDEM_v1([file_path])

Map dataset to DEM using Delaunay triangulation.

createDEM_v2([file_path])

Map dataset to DEM through indexing.

create_points(data)

Convert xarray dataset to points.

create_unstructured_grid(points[, cells])

Creates unstructured grid from points and/or cells.

get_coords(data)

Get latitude/longitude keys.

get_selection(array, timestamp[, mean])

Selects array from dataset at specific time or as a daily mean.

main()

parse_arguments()

Parse user arguments.

plotSurface(domain, variable[, timestamp, ...])

Plot surface with contoured data.

set_filename(name, timestamp[, fmt])

Creates a file name from timestamp and variable name.

smooth_mesh(mesh)

Smooths mesh using butterfly subdivision.

write_render_to_gltf(render, variable, timestamp)

Writes rendered image to a 3D .gltf object.

write_render_to_image(render, variable, ...)

Writes rendered image to .png file.

write_unstructured_grid_to_file(...[, file_name])

Writes unstructured grid data to .vtu file.