|
Last change
on this file was 27966, checked in by Cheng Gong, 2 years ago |
|
remove author names and dates in the script
|
|
File size:
402 bytes
|
| 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 | filename = '/totten_1/ModelData/Greenland/ISMIP6/GreenlandISMIP6-Morlighem-2020-10-01.nc';
|
|---|
| 7 |
|
|---|
| 8 | x = ncread(filename, 'x');
|
|---|
| 9 | y = ncread(filename, 'y');
|
|---|
| 10 | tb = ncread(filename, 'tb');
|
|---|
| 11 |
|
|---|
| 12 | temp = InterpFromGrid(double(x), double(y), double(tb'), X, Y);
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.