source: issm/trunk-jpl/src/m/contrib/chenggong/modeldata/interpISMIP6Temp.m

Last change on this file was 27966, checked in by Cheng Gong, 17 months ago

remove author names and dates in the script

File size: 402 bytes
RevLine 
[26975]1function 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%
6filename = '/totten_1/ModelData/Greenland/ISMIP6/GreenlandISMIP6-Morlighem-2020-10-01.nc';
7
8x = ncread(filename, 'x');
9y = ncread(filename, 'y');
10tb = ncread(filename, 'tb');
11
12temp = InterpFromGrid(double(x), double(y), double(tb'), X, Y);
Note: See TracBrowser for help on using the repository browser.