easyclimate.core.utility#
Functions for package utility.
Functions
|
Compare python library versions. |
|
Compare multi-DataArray data whether they have the same dimensions (without comparing internal data) |
|
Compare two DataArray data whether they have the same dimensions (without comparing internal data) |
Return a new DataArray with the data as magnitude and the units as an attribute (Metpy). |
|
|
Find the index of dim in the xarray DataArray. |
|
Function Dispensers: Iterate over the variables in the xarray.Dataset data using a function that only supports xarray.DataArray data |
Function Dispensers: Iterate over the variables in the xarray.Dataset data using a function that only supports xarray.DataArray data |
|
Function Dispensers: Iterate over the variables in the xarray.Dataset data using a function that only supports xarray.DataArray data |
|
|
Export compressible netCDF files from xarray data ( |
|
Get the area-weighting data. |
|
Checks whether a module is installed without importing it. |
|
Reverse the bool type in the data_input. |
|
Sort the dimensions lat, lon in ascending order. |
Convert np.datetime64 type with years and days to year and day coordinates. |
|
|
The transformation relationship between the z coordinate system and the p coordinate system. |
|
Data unit conversion for difference transition. |
|
Data unit conversion for multiple transition. |
|
Convert Degrees to Radians. |
|
Convert np.inf in ds to np.nan, respectively. |
|
Convert a numpy array of years of type integer to np.datetime64 type. |
|
Convert np.inf in ds to np.nan, respectively. |
|
Unit conversion factor |
|
|
|