parsing of nadgrids param

refers to #65