iconarray.core.utilities#
The utilities.py module contains various functions useful for analysing or plotting (ICON) data using xarray.
Contains public functions: ind_from_latlon, add_coordinates, get_stats wilks, show_data_vars
Functions
|
Get the position of given lat/lon coordinates in relation to the bounds of regular lat/lon grid. |
|
xr.Dataset.where equivalent that preserves the dtype of the array. |
|
Get mean, difference of mean and p value for the T-test of the means of two independent samples (varin1, varin2). |
|
Find the indices of the n closest cells in a grid, relative to a given latitude/longitude point. |
|
Print a table with variables in dataset. |
|
Get threshold for p-values at which differences are significant at level alpha if the dependency of data points is accounted for according to Wilks et al. 2016 (https://doi.org/10.1175/BAMS-D-15-00267.1). |