xoa.coords#
Utilities for working with coordinates and dimensions.
This module provides functions to identify, retrieve and manipulate
coordinates (longitude, latitude, depth, time, etc.) and dimensions
from xarray data arrays and datasets, based on the
xoa.meta metadata specifications.
Functions
|
Change the values of a dataset or data array index |
|
Drop all coordinates that depend on a given dimension |
Convert datetime coordinates to nanosecond precision |
|
|
Stack the dimensions of longitude and latitude coordinates |
|
Get the altitude coordinate |
|
Get the data_vars that have a given coordinate |
|
|
|
|
|
Return the coordinates that are compatible with dims |
|
Get or compute the depth coordinate |
|
Get dimension types |
|
Get the dimension of F type |
|
Get the latitude coordinate |
|
Get the level coordinate |
|
Get the longitude coordinate |
|
Get several coordinates at once |
|
Get the data array dimensions names from their type |
|
Get the dimension order as a string like |
|
Get the positive attribute of a dataset or data array |
|
Get the dimension of T type |
|
Get the time coordinate |
|
Get either depth or altitude |
|
Get the dimension of X type |
|
Get the dimension of Y type |
|
Get the dimension of Z type |
|
Tell if a data array is identified as altitudes |
|
Tell if a data array is identified as depths |
|
Tell if a data array is identified as latitudes |
|
Tell if a data array is identified as levels |
|
Tell if a data array is identified as longitudes |
|
Tell if a data array is identified as time |
|
Transpose an array to match a given order |
|
Transpose an array |
Classes
|
Allowed value for the positive attribute argument |
|
Supported |