Line | |
---|
1 | function temp = interpISMIP6Temp(X, Y)
|
---|
2 | %interpISMIP6Temp - interpolate land ice basal temperature to the given mesh
|
---|
3 | %
|
---|
4 | % X and Y are the coordinates of the mesh
|
---|
5 | %
|
---|
6 | % Author: Cheng Gong
|
---|
7 | % Last modified: 2021-12-06
|
---|
8 |
|
---|
9 | filename = '/totten_1/ModelData/Greenland/ISMIP6/GreenlandISMIP6-Morlighem-2020-10-01.nc';
|
---|
10 |
|
---|
11 | x = ncread(filename, 'x');
|
---|
12 | y = ncread(filename, 'y');
|
---|
13 | tb = ncread(filename, 'tb');
|
---|
14 |
|
---|
15 | temp = InterpFromGrid(double(x), double(y), double(tb'), X, Y);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.