Last change
on this file since 25269 was 25269, checked in by Mathieu Morlighem, 5 years ago |
CHG: added geothermal flux from Martos
|
File size:
511 bytes
|
Line | |
---|
1 | function out = interpMartos2017(X,Y)
|
---|
2 | %INTERPMARTOS2017 - interpolate geothermal heat flux
|
---|
3 | %
|
---|
4 | % Usage:
|
---|
5 | % out = interpMartos2017(X,Y)
|
---|
6 |
|
---|
7 | switch oshostname(),
|
---|
8 | case {'ronne'}
|
---|
9 | gtfpath='/home/ModelData/Antarctica/GeothermalMartos/Antarctic_GHF.xyz';
|
---|
10 | otherwise
|
---|
11 | error('machine not supported yet');
|
---|
12 | end
|
---|
13 |
|
---|
14 | %Load data
|
---|
15 | data = load(gtfpath);
|
---|
16 |
|
---|
17 | %Interpolate using nearest neighbor (dataset stops at ocean boundary!)
|
---|
18 | out = Kriging(data(:,1),data(:,2),data(:,3),X,Y,'output','nearestneighbor')/1e3; %from mW/m2 to W/m2
|
---|
Note:
See
TracBrowser
for help on using the repository browser.