def get_variables_by_dimension(self, dataset, stat_name):
        var_list = dataset.data_variable_names()
        var_dtypes = ['i','u','f','b']
        var_out = []
        for var_item in var_list:
            var_inst = dataset.variable(var_item)
            if (str(var_inst.dtype.kind) in var_dtypes) and (stat_name in \
                var_inst.dimensions):
                var_out.append(var_item)
        return var_out
List of variables with dimension 'stat_name' and of integer, float,
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/MultidimensionSupplementalTools/MultidimensionSupplementalTools/Scripts/mds/tools/multidimensional_zonal_statistics.py/MultidimensionalZonalStatistics.get_variables_by_dimension