%STEP ONE : produce the meshfile
 make_meshgrid('../obs_float/meshgrid3.dat',30.0625,26.1875,37.1875,36.9375,87,58);

%STEP TWO : transform aviso file to YAO file

aviso_netcdf='../../data/AVISO/dt_med_allsat_madt_uv_20130828_20140704.nc';
meshmask='../obs_float/meshgrid3.dat';
outfile='../obs_float/uv_bck_20130828.dat';
outmask='../obs_float/mask_new.dat';
aviso2yao( aviso_netcdf, meshmask,outfile,outmask);

%STEP THREE : interpolate between two step time
uv_b1='../obs_float/uv_bck_20130828.dat';
uv_b2='../obs_float/uv_bck_20130828.dat';
it1=1;
it2=47;
dt=2;
outfile='../obs_float/uv_bk_24pdt_const.dat';
interp_bck(uv_b1,uv_b2,it1,it2,dt,outfile);

