Search found 51 matches

by fagundesmo
Tue Oct 18, 2022 8:20 pm
Forum: ROMS Ecosystem
Topic: adding a new variable to hypoxia_srm
Replies: 4
Views: 8523

Re: adding a new variable to hypoxia_srm

Hi everyone,

Thank you!! I realized my mistake after you mentioned that it was related to metadata and get_data.F.

Best,
Matheus
by fagundesmo
Wed Oct 12, 2022 3:29 pm
Forum: ROMS Ecosystem
Topic: adding a new variable to hypoxia_srm
Replies: 4
Views: 8523

adding a new variable to hypoxia_srm

Hi everyone, I am working on adding some processes into biofennel, in order to do that I wanted to practice in something simple like hypoxia_srm. The hypoxia_srm requires 3 names r espiration, idResR, ResRate. The respiration is in ana_respiration.h, get_data.F, hypoxia_srm.h, set_data.F, varinfo.da...
by fagundesmo
Fri Sep 02, 2022 2:17 am
Forum: ROMS Discussion
Topic: Biofennel gives an error when coupled with ROMS for an idealized simulation
Replies: 1
Views: 1439

Biofennel gives an error when coupled with ROMS for an idealized simulation

Dear all, I am trying to run biofennel + ROMS in COAWST and I get the following error: TIME-STEP YYYY-MM-DD hh:mm:ss.ss KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME C => (i,j,k) Cu Cv Cw Max Speed 0 2015-05-01 00:00:00.00 0.000000E+00 6.377852E+01 6.377852E+01 5.692375E+08 (000,000,00) 0.000000E+00...
by fagundesmo
Thu Aug 25, 2022 2:06 pm
Forum: ROMS Discussion
Topic: climatology for BioFennel model
Replies: 2
Views: 1749

Re: climatology for BioFennel model

Hi Arnaud,

That is amazing, thank you so much!! And I guess didn't look close enough in bio_fennel.in and I am sorry for that!

Best,
Matheus
by fagundesmo
Wed Aug 24, 2022 12:46 pm
Forum: ROMS Discussion
Topic: climatology for BioFennel model
Replies: 2
Views: 1749

climatology for BioFennel model

Hi everyone, I have looked and could not find a topic related to this, and therefore, I am posting to see if anyone knows whether or not ROMS has a way to add climatology data for BioFennel model. For instance, if I wanted to add climatology for phytoplankton. Is it as simple as turning on climatolo...
by fagundesmo
Thu Sep 17, 2020 2:41 pm
Forum: ROMS Discussion
Topic: SWAN+WRF coupling problem using COAWST
Replies: 2
Views: 2709

Re: SWAN+WRF coupling problem using COAWST

Hi John,

I updated and the error still persists. I will post my files there.

Thank you,
Matheus
by fagundesmo
Wed Sep 16, 2020 9:03 pm
Forum: ROMS Discussion
Topic: SWAN+WRF coupling problem using COAWST
Replies: 2
Views: 2709

SWAN+WRF coupling problem using COAWST

Hi all (sorry in advance my post isn't strictly about ROMS only), In order to make the full coupling (WRF+SWAN+ROMS) I am taking baby steps and trying to see if the models are working properly by themselves and coupled. As of right now, I am trying to couple only SWAN+WRF to see if they would work b...
by fagundesmo
Thu Sep 03, 2020 3:32 pm
Forum: ROMS Discussion
Topic: swrad and lwrad not reading properly in ROMS
Replies: 6
Views: 6763

Re: swrad and lwrad not reading properly in ROMS

Hi Wilkin,

I didn't know that!!! Ok, now the values make sense when I make that shift in my time data.

Thank you a lot,

Matheus
by fagundesmo
Wed Sep 02, 2020 8:40 pm
Forum: ROMS Discussion
Topic: swrad and lwrad not reading properly in ROMS
Replies: 6
Views: 6763

Re: swrad and lwrad not reading properly in ROMS

Hi Giannis,

Thank you a lot for your answer. One more time really helpful.

Cheers,

Matheus
by fagundesmo
Wed Sep 02, 2020 12:49 pm
Forum: ROMS Discussion
Topic: swrad and lwrad not reading properly in ROMS
Replies: 6
Views: 6763

Re: swrad and lwrad not reading properly in ROMS

Hi Giannis, Thank you a lot for your input. I am indeed getting the data from (https://cds.climate.copernicus.eu) but only every 6 hours. Do you know if the values are shifted by 6 hours? Because I have noticed that the peak of swrad is around 18hrs in the data but it's actually supposed to be aroun...
by fagundesmo
Tue Sep 01, 2020 5:11 pm
Forum: ROMS Discussion
Topic: swrad and lwrad not reading properly in ROMS
Replies: 6
Views: 6763

swrad and lwrad not reading properly in ROMS

Hi all, I am using BULK FLUX and for some reason the way it's showing on ROMS print is not what I am forcing with (see attached lwrad.ps and swrad.ps). The same way I interpolated vwind, uwind, Tair, and Pair I interpolated swrad and lwrad. And as you can see from my output.txt my swrad and lwrad se...
by fagundesmo
Fri Oct 11, 2019 5:47 pm
Forum: ROMS Bugs
Topic: ROMS (COAWST) doesn't compile when biofennel is activated
Replies: 1
Views: 2397

Re: ROMS (COAWST) doesn't compile when biofennel is activated

I would like to point it out that I was able to "fix" by modifying the following in the diag.F (coawst/ROMS/nonlinear/): ! ! Local variable declarations. ! #ifdef BIOLOGY integer :: ibt, itrc #endif integer :: NSUB, i, ispace, j, k, trd integer :: my_max_Ci, my_max_Cj, my_max_Ck #ifdef DIS...
by fagundesmo
Fri Oct 11, 2019 3:32 pm
Forum: ROMS Bugs
Topic: ROMS (COAWST) doesn't compile when biofennel is activated
Replies: 1
Views: 2397

ROMS (COAWST) doesn't compile when biofennel is activated

Hi all, I was wondering if you could help me out with this issue. I also have posted on the COAWST community but I couldn't attach all the log files and here the community is more active. I am trying to run parts of my model and see if everything works to make sure once I put all together they will ...
by fagundesmo
Tue May 28, 2019 12:48 pm
Forum: ROMS Problems
Topic: Blowing-up model - tide current+initial state(ocean current)
Replies: 8
Views: 5613

Re: Blowing-up model - tide current+initial state(ocean curr

Hey Rintei, First, I am glad you figured it out the problem with salt and temp fields. Secondly, about the tides we would normally create a file with tides only and I don't recall you attaching any tide files so I don't know. I use the matlab files create_roms_tides.m and roms_tide_forc_file.m. Thes...
by fagundesmo
Wed May 22, 2019 1:11 pm
Forum: ROMS Problems
Topic: Blowing-up model - tide current+initial state(ocean current)
Replies: 8
Views: 5613

Re: Blowing-up model - tide current+initial state(ocean curr

Hey Rintei, Again this is all based on trial and error (Kate said that to me once ahah). I looked at your IC file and salinity and temperature are also kinda messed up. For example, figures 1 and 2 are from your IC file and 3 from my file (I'm kinda person that needs to visualize my data that's why ...
by fagundesmo
Tue May 21, 2019 2:26 pm
Forum: ROMS Problems
Topic: Blowing-up model - tide current+initial state(ocean current)
Replies: 8
Views: 5613

Re: Blowing-up model - tide current+initial state(ocean curr

Hi, I was checking your zeta for initial condition and I saw values of -1444 m and max value of 10 m. In my humble opinion as ROMS user, I think you might have not masked properly your land and you should check the region where zeta is 10 m, maybe? I am using HYCOM as well and my model is running sm...
by fagundesmo
Mon Aug 27, 2018 6:59 pm
Forum: ROMS Discussion
Topic: Differences between results of ROMS x SODA
Replies: 4
Views: 3771

Re: Differences between results of ROMS x SODA

Did you add climatology for SST? If not, I would add climatological monthly data for temperature and give it a try. I did that and my results were better. Also, don't forget it's a model and you are comparing with a reanalysis, and therefore, you cannot expect D_sst approximately 0.

Cheers,
Matheus
by fagundesmo
Tue Jun 13, 2017 8:54 pm
Forum: ROMS Discussion
Topic: Idealized case with biofennel blowing up
Replies: 3
Views: 3001

Re: Idealized case with biofennel blowing up

Hi Kate thank you again for the prompt response, the CFL is around 0.5 now but I was wondering if setting u component as zero would not be causing the model to blow up as well. If so, should I mask all the zeros that I created or instead of zeros should I substitute for NaN values. Do you think my v...
by fagundesmo
Tue Jun 13, 2017 1:56 pm
Forum: ROMS Discussion
Topic: Idealized case with biofennel blowing up
Replies: 3
Views: 3001

Idealized case with biofennel blowing up

Dear roms users, I am running an Idealized case where only the Northern Boundary is opened and the East and West bdry are periodic. However, the model keeps blowing up even though max CFL is between 1 and 0.5. For my case I only don't consider zonal component and all size of detritus in the Northern...
by fagundesmo
Mon Oct 17, 2016 6:57 pm
Forum: ROMS Discussion
Topic: Input files
Replies: 10
Views: 7502

Re: Input files

hmm,

so if I had 20 yrs of ocean BRY and had all those years merged in one file that could create a problem to ROMS (US version)? If so, that could explain many things in my outputs ahahha.
by fagundesmo
Mon Oct 17, 2016 3:38 am
Forum: ROMS Discussion
Topic: Input files
Replies: 10
Views: 7502

Re: Input files

May I suggest you merging all files in one?
by fagundesmo
Mon Oct 03, 2016 9:40 pm
Forum: ROMS Discussion
Topic: Quetions about solar radiation as ROMS input forcing
Replies: 7
Views: 6017

Re: Quetions about solar radiation as ROMS input forcing

Hi John,

thank you for the information, I'll try this here.

Best Regards,

Matheus
by fagundesmo
Mon Oct 03, 2016 8:35 pm
Forum: ROMS Discussion
Topic: Quetions about solar radiation as ROMS input forcing
Replies: 7
Views: 6017

Re: Quetions about solar radiation as ROMS input forcing

Hi all,

I have faced the same issue but now that I have the net radiation how should I set my .h file so ROMS can read and use it properly?

Best Regards,

Matheus
by fagundesmo
Thu Jul 28, 2016 6:08 pm
Forum: ROMS Tools and Techniques
Topic: Analytical grid generation with pyroms
Replies: 1
Views: 4794

Re: Analytical grid generation with pyroms

I am not sure I'm the best person to give advices since I'm only an undergraduate student but what I did was I took the function to interpolate from z to sigma levels from pyroms and the horizontal interpolation I did using another function and it worked. The ocean_grd I had some trouble with the ma...
by fagundesmo
Thu Jun 02, 2016 6:07 pm
Forum: ROMS Discussion
Topic: blowing up with ubar and vbar with min and max as NaNs
Replies: 9
Views: 9622

Re: blowing up with ubar and vbar with min and max as NaNs

I would still play with the timestep. Just because your Courant number based on the initial conditions is less than one, you're not out of the woods. In fact, I don't think 0.83 is out of the woods. Plus, as soon as things start evolving, your forcing, etc. could lead to larger currents than are in...
by fagundesmo
Wed Jun 01, 2016 2:16 pm
Forum: ROMS Discussion
Topic: blowing up with ubar and vbar with min and max as NaNs
Replies: 9
Views: 9622

Re: blowing up with ubar and vbar with min and max as NaNs

kate wrote:If all the NaNs are in the land mask, you shouldn't see it in the GET_XXX reports like that. You need to clean the Nans out of your input files.
Hi Kate,

I have fixed that in python since I'm still doing the benchmark I'm still waiting for the output.

Thank you,
by fagundesmo
Wed Jun 01, 2016 2:12 pm
Forum: ROMS Discussion
Topic: blowing up with ubar and vbar with min and max as NaNs
Replies: 9
Views: 9622

Re: blowing up with ubar and vbar with min and max as NaNs

Hi wilkin and Helios, I have fixed the NAN problem and now I'm playing with the courant number. Although, I have a max courant number 0.83 it keeps blowing up, I am trying to play with my DT in order to keep my courant number equals to 0.83 and my barotropic time step equals 24 sec. Since, it keeps ...
by fagundesmo
Mon May 30, 2016 7:17 pm
Forum: ROMS Discussion
Topic: blowing up with ubar and vbar with min and max as NaNs
Replies: 9
Views: 9622

Re: blowing up with ubar and vbar with min and max as NaNs

Hi Kate,

ok, I'll try it here. Thank you.
by fagundesmo
Mon May 30, 2016 6:47 pm
Forum: ROMS Discussion
Topic: blowing up with ubar and vbar with min and max as NaNs
Replies: 9
Views: 9622

blowing up with ubar and vbar with min and max as NaNs

Dear all, my model is blowing up and, therefore, I was wondering if it has anything to do with ubar and vbar having min and max as NAN values. If so, how could I fix this problem since I've checked my ubar e vbar and both have values except in the borders which are masked with NAN values. Model Inpu...
by fagundesmo
Wed May 25, 2016 9:10 pm
Forum: ROMS Discussion
Topic: Weights file
Replies: 8
Views: 7562

Re: Weights file

Hi Fernando,

it will seem a dumb question but have you interpolated first the temp data to your grid?

Matheus
by fagundesmo
Mon May 23, 2016 12:06 pm
Forum: ROMS Discussion
Topic: Weights file
Replies: 8
Views: 7562

Re: Weights file

Hi Fernando, this error is more related to python. If you quickly take a look you'll see that your HYCOM data domain is bigger than your grid/mask_rho maybe. I am not sure what domain has the shape (117,124), but try to re-run this command and always make the command name_of_your_array.shape() to se...
by fagundesmo
Mon Dec 28, 2015 12:47 am
Forum: ROMS Discussion
Topic: Problem while loading Octant
Replies: 3
Views: 3428

Re: Problem while loading Octant

Hi yadusharma, I had the same problem actually, but for making your grid you don't need to use it (I guess), at least I didn't use it. If you want to interpolate the data to your domain you can give it a try on Trond's package (https://github.com/trondkr/romstools) or using the function (import mpl_...
by fagundesmo
Sun Dec 27, 2015 12:28 am
Forum: ROMS Discussion
Topic: Problem while loading Octant
Replies: 3
Views: 3428

Re: Problem while loading Octant

Hi yadusharma, I have tried to use pyroms, octant and etc for my preprocessing data and, also, to generate my grid. The thing that I did,(with Kate's help), was installing pyroms in my laptop. Pyroms is a complete package where you can generate your grid and your input data. Octant package is an awe...
by fagundesmo
Thu Oct 22, 2015 11:23 pm
Forum: ROMS Tools and Techniques
Topic: oceanic and atmospheric forcings
Replies: 2
Views: 4344

Re: oceanic and atmospheric forcings

Hi Kate,

thank you for your explanation it helped me a lot.

Best Regards,

Matheus
by fagundesmo
Thu Oct 22, 2015 2:08 am
Forum: ROMS Tools and Techniques
Topic: oceanic and atmospheric forcings
Replies: 2
Views: 4344

oceanic and atmospheric forcings

Hi all, I am starting doing my inputs to my experiment I have a question that I would like the opinion of the ROMS users. Would be a good idea if I created my oceanic and atmospheric forcing from the same reanalysis? For instance, NCEP-CFSR. On the other hand, if I am using one reanalysis to my ocea...
by fagundesmo
Thu Oct 08, 2015 5:36 am
Forum: ROMS Usage
Topic: River discharge issues
Replies: 10
Views: 13540

Re: River discharge issues

Dear Hetland, I am trying to use your python script to make my river. Therefore, I would like to know how your tarbert_landing.npy looks like. Because I have stuck in the line where it asks for the river_jd. I have pasted below a piece of how my data. May you please give me some help? Thank you in a...
by fagundesmo
Wed Aug 05, 2015 11:17 am
Forum: ROMS Tools and Techniques
Topic: TPXO to ROMS EXPRESS (tide extraction software)
Replies: 110
Views: 2653502

Re: TPXO to ROMS EXPRESS (tide extraction software)

There may be a couple of issues here, the first is that scatteredInterpolant only takes datatype double (real or complex) so your solution will avoid that error. But there may still be a problem with your u_tpxo72.nc file - the version of that file that I have has the variables URe and UIm (the var...
by fagundesmo
Sun Aug 02, 2015 3:59 pm
Forum: ROMS Tools and Techniques
Topic: TPXO to ROMS EXPRESS (tide extraction software)
Replies: 110
Views: 2653502

Re: TPXO to ROMS EXPRESS (tide extraction software)

I think I did it. Could all confirm whether I changed right or not? I added the following lines:

xx=double(x(:,:));
yy=double(y(:,:));
zz=double(z(:,:));
F=scatteredInterpolant(xx(m),yy(m),zz(m),'nearest');
z=F(xx,yy);
F=griddedInterpolant(xx',yy',zz');
by fagundesmo
Sun Aug 02, 2015 1:29 pm
Forum: ROMS Tools and Techniques
Topic: TPXO to ROMS EXPRESS (tide extraction software)
Replies: 110
Views: 2653502

Re: TPXO to ROMS EXPRESS (tide extraction software)

Dear all, I am trying TPX02ROMS version 3.2 to generate tides input to my area. However, I have had some issues while using it. These are the errors I am getting: 'Extracting ' 'M2' ' amplitudes' 'Extracting ' 'M2' ' u components' Error using scatteredInterpolant The input points must be a double ar...
by fagundesmo
Sun Jan 04, 2015 9:21 pm
Forum: ROMS Tools and Techniques
Topic: octant generating curvilinear gird
Replies: 14
Views: 13106

Re: octant generating curvilinear gird

Hi,


thank you a lot. Have a nice day.

Matheus
by fagundesmo
Sun Jan 04, 2015 7:46 pm
Forum: ROMS Tools and Techniques
Topic: octant generating curvilinear gird
Replies: 14
Views: 13106

Re: octant generating curvilinear gird

Hi Saaed,

I was wondering whether I could smooth my bathymetry using octant or I had to make by hand. Could you help me out?

Cheers,

Matheus
by fagundesmo
Sun Dec 28, 2014 2:36 am
Forum: ROMS Discussion
Topic: error message running pyroms examples(yellow sea)
Replies: 9
Views: 7855

Re: error message running pyroms examples(yellow sea)

Did you also install the netcdf-fortran package? --flibs refers to the fortran libraries while --libs refers to the C libraries. They are different. What you added into LIBS has the wrong syntax, sorry. Hi Kate again, I have set my NC_CONFIG (now at this time I think correctly): NC_CONFIG= "/h...
by fagundesmo
Sat Dec 27, 2014 11:19 pm
Forum: ROMS Discussion
Topic: error message running pyroms examples(yellow sea)
Replies: 9
Views: 7855

Re: error message running pyroms examples(yellow sea)

It looks like you are missing netcdf. Did you install it? nc-config is not on your path - it is looking for that. You should also check to see if "nc-config --flibs" gives a reasonable reply. If not, edit the makefile to use nf-config instead. It is strange because I did install all libs ...
by fagundesmo
Sat Dec 27, 2014 9:10 pm
Forum: ROMS Discussion
Topic: error message running pyroms examples(yellow sea)
Replies: 9
Views: 7855

Re: error message running pyroms examples(yellow sea)

Hi Kate, I have been trying to use Octant and pygridgen unsuccessfully, though. Since, I am newer regarding ROMS and making grid to ROMS I am looking for something that I could start with using python. Considering, I have seen many posts related to pyroms and you have helped a lot everybody with py...
by fagundesmo
Sat Dec 27, 2014 3:28 am
Forum: ROMS Tools and Techniques
Topic: pygridgen.Gridgen error
Replies: 1
Views: 2792

pygridgen.Gridgen error

Hi all, I am learning how to make a simple grid to the Equator using pygridgen tool. Thus, it is normal that some error come up sometime so that it has shown me an error which I cannot find out what is wrong, hahaha. Hence, I was wondering if someone would help me. this is my code I have gotten stu...
by fagundesmo
Wed Dec 10, 2014 4:07 am
Forum: ROMS Tools and Techniques
Topic: octant generating curvilinear gird
Replies: 14
Views: 13106

Re: octant generating curvilinear gird

Hi Saeed, It works fine now :). However, I have noticed that in its newer version from github, Hetland has removed _csa from the setup and _init_.py files. So at the end, I mixed both versions hahaha, and now I can import octant.csa with no problem at all. Also, I built nn,csa, and so on, using its...
by fagundesmo
Mon Dec 08, 2014 10:49 pm
Forum: ROMS Tools and Techniques
Topic: octant generating curvilinear gird
Replies: 14
Views: 13106

Re: octant generating curvilinear gird

Hi, It seems the 'libcsa' is not in this directory '/home/fagundes/libsmodels/Grid/lib'. As a test, would you please copy all the libs (.a and .so) files into your ~/.local/lib/ and complie the octant once again. Saeed. Hi, I have compiled octant changing csa's path in csa.py (following these instr...
by fagundesmo
Sun Dec 07, 2014 11:38 pm
Forum: ROMS Tools and Techniques
Topic: octant generating curvilinear gird
Replies: 14
Views: 13106

Re: octant generating curvilinear gird

Hi moghimi, I have fixed this issue as you said. However, now I can't import octant.csa. Even though, I installed nn, gridgen, csa, and gridutils in the same path. When I tried to import octant.csa, I got this error: OSError Traceback (most recent call last) <ipython-input-6-6b2d83a1f717> in <modul...
by fagundesmo
Sat Dec 06, 2014 4:30 am
Forum: ROMS Tools and Techniques
Topic: octant generating curvilinear gird
Replies: 14
Views: 13106

Re: octant generating curvilinear gird

Hi again, I guess, you either need to find the location of the library and change the path to this location inside the code (e.g. here octant.__path__[0] and other places based on the error message)and do python setup install again, or make a symbulic link to that library into your usr/local/lib or...
by fagundesmo
Sat Dec 06, 2014 12:21 am
Forum: ROMS Tools and Techniques
Topic: octant generating curvilinear gird
Replies: 14
Views: 13106

Re: octant generating curvilinear gird

Hi, I have used Octant however I learn it more by looking at the source code and run commands interactively by Ipython. If you have specific question I will be happy to answer/help. - Saeed. Hi, May you help me to install octant correctly in my ubuntu system? It seems I installed nn, csa, gridutils...
by fagundesmo
Sat Dec 06, 2014 12:10 am
Forum: ROMS Discussion
Topic: error message running pyroms examples(yellow sea)
Replies: 9
Views: 7855

Re: error message running pyroms examples(yellow sea)

Hi,

I have been struggling to install successfully pyroms, may you help how to install correctly under ubuntu 14.10 (64 bits)??

Thank you in advance,

Matheus