Search found 11 matches

by aearamos
Tue Nov 17, 2015 6:27 am
Forum: ROMS Problems
Topic: A possible error in the code.
Replies: 1
Views: 2599

A possible error in the code.

I came across an error when compiling my build.bash and using the #define ANA_M2CLIMA option. The last line of 'trunk/ROMS/Functionals/ana_m2clima.h', before CLIMA(ng) %vbarclm), should be an '&' instead of a '%'. I got it fixed after the change. #ifdef DISTRIBUTE CALL mp_exchange2d (ng, tile, m...
by aearamos
Tue Jun 09, 2015 3:42 pm
Forum: ROMS Discussion
Topic: z level
Replies: 5
Views: 3714

Re: z level

I had the same problem a few years ago so I started using Wilkin`s Matlab package function roms_zslice.m. It can be found at http://romsmatlab.tiddlyspot.com/. I have also created a roms2z.m function so I could replace the sigma layers with my z layers in the his file. In order to use my function yo...
by aearamos
Mon Jun 30, 2014 7:21 pm
Forum: ROMS Tools and Techniques
Topic: depth
Replies: 10
Views: 8743

Re: depth

Hi Pooran,

I've used John Wilkin's tools to compute depth layers on ROMS' output. It has the roms_zslice.m function which can be very useful to you. I've just made a loop with that function and created a new file with the depths I wanted.

Hope it helps.

Arthur
by aearamos
Tue Mar 19, 2013 7:36 pm
Forum: ROMS Discussion
Topic: Model blows up with some high values
Replies: 0
Views: 1223

Model blows up with some high values

Hello everyone, I've been trying to runs an experiment at the Brazilian Coast using a HYCOM simulation for both boundary and initial conditions. My forcing file was built using NCEP data. The problem in my simulation is that it runs over 2000 time-steps and then blows-up. I've checked the history fi...
by aearamos
Wed Feb 20, 2013 12:53 pm
Forum: ROMS Tools and Techniques
Topic: Initial conditions with C_initial.m
Replies: 3
Views: 4253

Re: Initial conditions with C_initial.m

Hi, The way I see it, the 'OAname' reffers to your data. You can have monthly or annual climatology to use as the initial condition for your experiment and this package helps you to work with the data. I haven't used it yet, but I'm pretty sure there are lots of posts here in the forum about this to...
by aearamos
Tue Feb 19, 2013 12:52 am
Forum: ROMS Tools and Techniques
Topic: Initial conditions with C_initial.m
Replies: 3
Views: 4253

Re: Initial conditions with C_initial.m

Hi, At this function you're gonna have to use both d_initial.m and c_intial.m functions to create the Initial file. See the following code: % S.ncname NetCDF file name % S.spherical Spherical grid switch % S.Vtransform Vertical transformation equation % S.Lm Number of interior RHO-points in X % S.Mm...
by aearamos
Thu Oct 04, 2012 6:50 pm
Forum: ROMS Tools and Techniques
Topic: Question about the input of the interp_boundary.m function.
Replies: 0
Views: 1730

Question about the input of the interp_boundary.m function.

Hello everyone. I'm trying to use the interp_boundary.m function to interpolate some data from a HYCOM simulation to my ROMS simulation, which is inside the HYCOM grid and has a bigger resolution. I'd like to know if any of you has used this function correctly and what do I have to put at the I.XR, ...
by aearamos
Tue Jul 17, 2012 1:20 pm
Forum: ROMS Tools and Techniques
Topic: Error using Matlab tools provided by ROMS
Replies: 2
Views: 3379

Re: Error using Matlab tools provided by ROMS

Hi Arango, First of all thank you for responding my question so quickly. I've just noticed that the same mistake with zeta ocurring at /src/matlab/d_climatology is also happening at d_initial, so I had to add the S.zeta = zeros(size(S.h)) part to the d_initial as well. After running both d_initial a...
by aearamos
Mon Jul 16, 2012 1:12 pm
Forum: ROMS Tools and Techniques
Topic: Error using Matlab tools provided by ROMS
Replies: 2
Views: 3379

Error using Matlab tools provided by ROMS

Hi, I've just updated my roms/src/matlab/ folder and I've been trying to use the matlab tools to generate my initial and climatology forcing files. As I've looked in the /matlab/initial folder I found the c_climatology, d_climatology, c_initial and d_initial routines and I've been trying to use them...
by aearamos
Tue Jul 05, 2011 12:38 pm
Forum: ROMS Discussion
Topic: A problem with *nc float file
Replies: 0
Views: 1335

A problem with *nc float file

Hello everyone. I have defined floats in my *.h file, I have put the correct floats file in the *in and I have generated the *flt.nc file. But whenever I read the *flt.nc file with ncload it has no data written on it. My values of lat/lon/temp/salt/depth are all 1.000 and I just can't plot any float...
by aearamos
Wed Jun 29, 2011 12:56 am
Forum: ROMS Discussion
Topic: A problem about FLOATS
Replies: 1
Views: 1481

Re: A problem about FLOATS

The same thing happened to me. I was using 1000 floats but most of them got no data! I'm running the model again with some changes to see if it works! What changes did you do in the *in file? How many floats did you use? Your z0 was negative or positive? Hope we can solve this!

Arthur Ramos