Internal API#
This page shows already-implemented Uxarray internal API functions. You can also check the draft UXarray API documentation to see the tentative whole API and let us know if you have any feedback!
UxDataset#
The uxarray.UxDataset
class inherits from xarray.Dataset
. Below is a list of
features explicitly added to work on Unstructured Grids.
Class#
|
A |
Attributes#
Methods#
UxDataArray#
The uxarray.UxDataArray
class inherits from xarray.DataArray
. Below is a list of
features explicitly added to work on Unstructured Grids.
Class#
|
N-dimensional |
Attributes#
Methods#
Grid#
Class#
|
Unstructured grid topology definition. |
IO#
|
Exodus file reader. |
|
Encodes an Exodus file. |
|
Helper function to get exodus element type from number of nodes. |
|
Encodes the MPAS Dual-Mesh in the UGRID conventions. |
|
Encodes the MPAS Primal-Mesh in the UGRID conventions. |
|
Replaces the padded values in verticesOnCell defined by nEdgesOnCell with a fill-value. |
|
Replaces all instances of a zero (invalid/missing MPAS value) with a fill value. |
|
Given an input using that is one-indexed, subtracts one from all non- fill value entries to convert to zero-indexed. |
|
Helper to set MPAS global attributes. |
|
Function to read in a MPAS Grid dataset and encode either the Primal or Dual Mesh in the UGRID conventions. |
Encodes UGRID file . |
|
|
UGRID file reader. |
|
Function to reassign lat/lon variables to mesh2_node variables. |
|
Function to reassign UGRID formatted variables to SCRIP formatted variables. |
|
If input dataset ( |
Methods#
Attributes#
Coordinate Variable |
Operators#
Helpers#
Check mesh topology and dimension. |
|
|
Replaces all instances of the the current fill value ( |