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

Last change on this file since 26975 was 26975, checked in by Cheng Gong, 3 years ago

add post-processing codes

File size: 454 bytes
Line 
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%
6% Author: Cheng Gong
7% Last modified: 2021-12-06
8
9filename = '/totten_1/ModelData/Greenland/ISMIP6/GreenlandISMIP6-Morlighem-2020-10-01.nc';
10
11x = ncread(filename, 'x');
12y = ncread(filename, 'y');
13tb = ncread(filename, 'tb');
14
15temp = InterpFromGrid(double(x), double(y), double(tb'), X, Y);
Note: See TracBrowser for help on using the repository browser.