-k is optional for python #13
-K option of gridres (close #13)