patch for reader grd xsize and ysize