source:
issm/trunk-jpl/src/m/contrib/chenggong/modeldata/interpISMIP6Temp.m
Last change on this file was 27966, checked in by , 17 months ago | |
---|---|
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.