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 | function [msk] = mask( T ) |
2 | % |
3 | % msk=mask(T); |
4 | % |
5 | % return array of same shape as T with 0/1 indicating non-zero elements |
6 | % of T. |
7 | |
8 | msk=0*T; |
9 | msk(find(T~=0))=1; |
10 | msk(isnan(T))=0; |
ViewVC Help | |
Powered by ViewVC 1.1.22 |