Add the read_grdprp subroutine