mpas_tools.ocean.transects.interp_transect_grid_to_transect_triangle_nodes
- mpas_tools.ocean.transects.interp_transect_grid_to_transect_triangle_nodes(dsTransectTriangles, da)[source]
Interpolate a DataArray on the original transect grid to triangle nodes on the MPAS-Ocean transect.
- Parameters:
dsTransectTriangles (xarray.Dataset) – A dataset that defines triangles making up an MPAS-Ocean transect, the results of calling
find_transect_levels_and_weights()
da (xarray.DataArray) – An field on the original triangle mesh
- Returns:
daNodes (xarray.DataArray) – The data array interpolated to transect nodes with dimensions
nTransectTriangles
andnTriangleNodes