Parent Directory
|
Revision Log
|
Revision Graph
initial checkin of topography and hydrography interpolation scripts for the llc-grid, based on old matlab scripts by Alistair Adcroft Let's hope, they are useful.
1 | mlosch | 1.1 | function [Hx,Hy]=gen_hxhy(He) |
2 | % | ||
3 | % Returns the depths at U and V points. | ||
4 | % | ||
5 | % e.g. | ||
6 | % [Hx,Hy,xa,ya]=gen_hxhy(He,xe,ye); | ||
7 | |||
8 | Hx=max( He([end 1:end-1],:,:) , He ); | ||
9 | Hy=max( He(:,[end 1:end-1],:) , He ); |
ViewVC Help | |
Powered by ViewVC 1.1.22 |