Hello @wudipao88
Assuming that your dataset is on a regular grid (in lat/lon space) the best is to interpolate the dataset on your mesh lat/lon directly. You can do something like that:
%get latitude and longitude for mesh vertices
[md.mesh.lat,md.mesh.long] = xy2ll(md.mesh.x,md.mesh.y,-1);
%interpolate lat/lon/temp onto mesh
temperature_mesh = InterpFromGridToMesh(lon, lat, temp, md.mesh.long, md.mesh.lat, NaN);
I hope this answers your question
All the best
Mathieu