open boundaries problem

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
langlangxie
Posts: 42
Joined: Fri Jul 11, 2014 3:03 pm
Location: Hohai University

open boundaries problem

#1 Unread post by langlangxie »

Can you help me to determine the "Open boundaries switches"
Following
obc = [1 1 1 1]; % open boundaries (1=open , [S E N W])(using agrifroms)
My ROMS area is 104°E-120°E,2°N-24°N
I make obc = [1 1 0 1],that is wrong.

??? Error using ==> geost_currents_bry at 261
Replace your South boundary

Error in ==> make_bry_scs at 189
geost_currents_bry(bryname,grdname,Zbryname,frcname,zref,obcndx)
Then I change my South boundary ,like,obc = [0 1 0 1],but it always wrong.The error is following:
??? Error using ==> chckxy at 106
There should be at least two data points.

Error in ==> spline at 55
[x,y,sizey,endslopes] = chckxy(x,y);

Error in ==> interp1 at 279
yiMat = spline(xCol.',yMat.',xiCol.').';

Error in ==> geost_currents_bry at 248
u_r(k,:)=interp1(lat(D),u_r(k,D),lat,'spline','extrap');

Error in ==> make_bry_scs at 189
geost_currents_bry(bryname,grdname,Zbryname,frcname,zref,obcndx)

Can you tell me how to choose?

Post Reply