
Hi everybody.

 

i have 2 datasets : one with a long grid a lat grid and a bathymetry grid

the second one only has the long and lat coordinates.

So i want to know the bathymetry associated to the second dataset. I thought it was a good idea to do an interpolation between the two datasets. I find a script doing that on matlab but i want to do it on R. Do you how to do it?

 

for ii = 1:length(seal_dive_depth07)
    
    seal_bathy_depth07(ii) = interp2(long,latg,A,seal_lon07(ii),seal_lat07(ii));
end



Karine HEERAH
 
Master 2 mention "océanographie et environnements marins", parcours océanique
 
42 rue Salvador Allende 
92000 Nanterre
06.61.50.97.47



 		 	   		  
_________________________________________________________________



	[[alternative HTML version deleted]]

