/[MITgcm]/MITgcm_contrib/mlosch/interp_llc/gen_hxhy.m
ViewVC logotype

Annotation of /MITgcm_contrib/mlosch/interp_llc/gen_hxhy.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu May 3 21:07:21 2007 UTC (18 years, 2 months ago) by mlosch
Branch: MAIN
CVS Tags: HEAD
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