t.html">nj_grid_varget</a>(uri_2,<span class="string">'temp'</span>,[itime,1,1,1],[1,inf,inf,inf]);

<span class="comment">% extract profile from 3D Field at DATA location (Model 1)</span>
ind=nearxy(t1_grd.lon(:),t1_grd.lat(:),t_grd.lon,t_grd.lat);
[ii,jj]=ind2ij(t1_grd.lat,ind);
zp1=t1_grd.z(:,ii,jj);
tp1=t1(:,ii,jj);

<span class="comment">% extract profile from 3D Field at DATA location (Model 2)</span>
ind=nearxy(t2_grd.lon(:),t2_grd.lat(:),t_grd.lon,t_grd.lat);
[ii,jj]=ind2ij(t2_grd.lat,ind)