Skip to main content

xarray_to_vtk_structured

Function xarray_to_vtk_structured 

Source
pub fn xarray_to_vtk_structured(
    dataset: &XarrayDataset,
    var_name: &str,
    path: &str,
) -> Result<(), String>
Expand description

Export a 3-D variable from a dataset as a VTK structured grid.

The variable must have exactly 3 dimensions. Uses VTK legacy ASCII format.