A question about extract profile from grd file

Thank you, guys.