Is anyone else using obc_roms2roms.m?
I am getting a size mismatch at lines 720-723
B.(ufield) = u .* cos(angle.(edge)) - ...
v .* sin(angle.(edge));
the ufield = 'u_west'
size(u) = 2 327 40
size(cos(angle.(edge))) = 2 327 40
size(v) = 2 326 40
size(sin(angle.(edge))) = 2 327 40
obviously u and v are different sizes along the edge, so i am not sure what B.u_west should do.
-j
obc_roms2roms.m
Re: obc_roms2roms.m
I don't get that error. At that place in the code u_west and v_west are the same dimension because they have been interpolated to the receiver rho points (for rotation). On exit from obc_roms2roms they have been placed on their respective grids so have different dimensions.
But, my code has a few hacks to it and I have not reconciled it with the present version in the trunk.
But, my code has a few hacks to it and I have not reconciled it with the present version in the trunk.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu