Search found 7 matches

by noah.eckman
Tue Jan 16, 2018 3:16 pm
Forum: ROMS Problems
Topic: Blow-up at Initial time when using coupled ROMS and SWAN
Replies: 1
Views: 3204

Re: Blow-up at Initial time when using coupled ROMS and SWAN

Looks like one of your input has NaN values somewhere. ROMS doesn't allow this even on masked cells. See here: viewtopic.php?f=14&t=4454&view=next
by noah.eckman
Fri May 26, 2017 6:00 pm
Forum: ROMS Discussion
Topic: u/v versus u_eastward, v_northward
Replies: 4
Views: 3784

Re: u/v versus u_eastward, v_northward

Thanks-- I'll look in to it.
by noah.eckman
Fri May 26, 2017 5:43 pm
Forum: ROMS Discussion
Topic: u/v versus u_eastward, v_northward
Replies: 4
Views: 3784

Re: u/v versus u_eastward, v_northward

Hmm, it should be u (i-axis) west/east and v (j-axis) north/south. The angle on the grid is close to 0, about 1.5 (the domain is in the mid-latitudes). The grid is set up just on a mercator curvilinear grid. (It's setup with some matlab code that originally was from ROMS.) The lon's and lat's are as ...
by noah.eckman
Fri May 26, 2017 3:27 pm
Forum: ROMS Tools and Techniques
Topic: roms_matlab plotting and analysis routines
Replies: 105
Views: 1963376

Re: roms_matlab plotting and analysis routines

hclarke wrote: with no figure. How do I get a figure? Sorry about the basic questions!

Just do pcolor(x_rho, y_rho, h). Matlab has very good documentation.
by noah.eckman
Fri May 26, 2017 3:19 pm
Forum: ROMS Discussion
Topic: u/v versus u_eastward, v_northward
Replies: 4
Views: 3784

u/v versus u_eastward, v_northward

I've come across something that has stumped me with regards to how ROMS calculates u_eastward and v_northward from the u/v velocities. I took out the data from one of my history files, and I saw this (see below). My question is, it seems as if U is interpolated in to v_northward, and V interpolated ...
by noah.eckman
Fri Aug 19, 2016 12:28 pm
Forum: ROMS Discussion
Topic: My confusion about boundary sets
Replies: 5
Views: 4425

Re: My confusion about boundary sets

Yes, this is correct, if your parent data array is arranged so that (1,1) is in the southwest corner. Here is a look at how I clip my arrays in matlab: 2-D zeta_east = S.zeta(end,:); zeta_west = S.zeta(1, : ); zeta_north = S.zeta(:,end); zeta_south = S.zeta(:, 1); 3-D u_east = S.u(end,:,:); u_west ...
by noah.eckman
Mon Aug 15, 2016 2:13 pm
Forum: ROMS Information
Topic: grids for defining OCEAN(ng)%ubar
Replies: 1
Views: 11810

Re: grids for defining OCEAN(ng)%ubar

Yes, indeed, ubar is defined at u-points, vbar at v-points, just as the 3d momentum are at u and v points. This is verified by the script c_initial.m, which defines the dimensions for each of those.