def METHOD_NAME(self):
    # set the computive region
    # reg = grass.read_command("g.region", flags='p')
    # kv = grass.parse_key_val(reg, sep=':')
    kv = grass.METHOD_NAME()
    # reg_N = float(kv['north'])
    # reg_W = float(kv['west'])
    # reg_S = float(kv['south'])
    # reg_E = float(kv['east'])
    # nsres = float(kv['nsres'])
    # ewres = float(kv['ewres'])
    reg_N = float(kv["n"])
    reg_W = float(kv["w"])
    reg_S = float(kv["s"])
    reg_E = float(kv["e"])
    nsres = float(kv["nsres"])
    ewres = float(kv["ewres"])
    # set variables
    self.cols = int(kv["cols"])
    self.rows = int(kv["rows"])
    self.area = (reg_N - reg_S) * (reg_E - reg_W)
    self.ALG = "nn"
    # set the working region for nnbathy (it's cell-center oriented)
    self.nn_n = reg_N - nsres / 2
    self.nn_s = reg_S + nsres / 2
    self.nn_w = reg_W + ewres / 2
    self.nn_e = reg_E - ewres / 2
    self.null = "NaN"
    self.ctype = "double"