i want to use seagrid.this program has not smoothing step.
but reading most post in roms forum shows smoothing importance
to get rx0 in appropriate limit. what make me confused is serialization of grid generation by seagrid.
(1) should smoothing be first done on bathymetry (h(x,y)) and then smoothed bathymetry given to seagrid program?
(2) so computed r-factor is base on bathymetry's dx and dy not grid's dx and dy?
![Question :?:](./images/smilies/icon_question.gif)
Also base on seagrid tutorial after making grid, user can compute depths and land maks on grid with one click on compute bar.
Therefore it seems that seagrid steps divide to smoothing, making grid and then land sea masking. ((If my understanding is wrong please tell me)).
after that i want to use smoothgrid.m script (in matlab/utility path) as function
function [hout]=smooth_bath(hinp,rmask,order,rlim,npass)
for smoothing my real bathymetry that contains positive value for sea and negative value for land.
but it needs rmask which is Land/Sea masking at RHO-points. What happen
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
(3)does it say that before smoothing, land/sea masking at RHO should be done
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
(4) Also please tell me how i can provide rmask for this function.
I know that i have several questions but i really need experienced people's guidance.
![Embarassed :oops:](./images/smilies/icon_redface.gif)
I hope to your kindness
thanke so mush in advance
fereshte