def get_variables_by_dimension(self, dataset, stat_name):
        """List of variables with dimension 'stat_name' and of integer, float,
        or boolean type."""
        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
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/MultidimensionSupplementalTools/MultidimensionSupplementalTools/Scripts/mds/tools/multidimensional_zonal_statistics_as_table.py/MultidimensionalZonalStatisticsAsTable.get_variables_by_dimension/original