def save(self, fname):
        """ saves a grid to file as ASCII text """
        try:
            with open(fname, "w") as f:
                f.write(str(self))
        except Exception as ex:
            print('ERROR = cant save grid results to ' + fname + str(ex))
saves a grid to file as ASCII text