Search found 81 matches

by nacholibre
Thu Dec 26, 2019 5:17 pm
Forum: ROMS Discussion
Topic: Best practices for ROMS bathymetric values
Replies: 10
Views: 9221

Re: Best practices for ROMS bathymetric values

Lawrence, I would change the -100 m value on the masked cells to make sure they don't contribute to the a problem. This may not be the source of your blow-up issue, but it is also not the best practice in my opinion. Values in dry cells shouldn't be a concern, but... Because of the way that ROMS ...
by nacholibre
Tue Apr 16, 2019 8:42 pm
Forum: ROMS Discussion
Topic: CF compliant units attributes in Varinfo.dat
Replies: 7
Views: 7538

Re: CF compliant units attributes in Varinfo.dat

CF recommends UDUNITS, which recommends "using a true calendar package rather than the UDUNITS-2 package". :roll: :D https://www.unidata.ucar.edu/software/udunits/udunits-current/doc/udunits/udunits2lib.html#Time 10 The Handling of Time You should use a true calendar package rather than the UDUNITS ...
by nacholibre
Mon Apr 15, 2019 7:01 pm
Forum: ROMS Discussion
Topic: CF compliant units attributes in Varinfo.dat
Replies: 7
Views: 7538

Re: CF compliant units attributes in Varinfo.dat

Adding underscores may complicate matters in the decoding of time units of the form: double ocean_time(ocean_time) ; ocean_time:long_name = "time since initialization" ; ocean_time:units = "seconds since 1900-01-01 00:00:00" ; ocean_time:calendar = "proleptic_gregorian" ; What you will do in this ...
by nacholibre
Fri Mar 22, 2019 3:38 am
Forum: ROMS Discussion
Topic: CF compliant units attributes in Varinfo.dat
Replies: 7
Views: 7538

Re: CF compliant units attributes in Varinfo.dat

Thank you Hernan. This is helpful and those are very good points. My example was just for demonstration purposes. Surely there is no easy fix because the challenge of defining standard names spans across different disciplines, communities, applications etc... I appreciate your effort and future ...
by nacholibre
Wed Mar 20, 2019 4:56 am
Forum: ROMS Discussion
Topic: CF compliant units attributes in Varinfo.dat
Replies: 7
Views: 7538

CF compliant units attributes in Varinfo.dat

I have recently started working on creating ISO metadata files for our model outputs and started to realize the challenges. One of them is linking to a units vocabulary for units definition. For example white spaces the units attribute with are problematic for automatically populating the units link ...
by nacholibre
Thu Nov 12, 2015 5:01 pm
Forum: ROMS Discussion
Topic: Having problem with temperature and salinity of point source
Replies: 2
Views: 3548

Re: Having problem with temperature and salinity of point so

Did you make sure that your point source location is correct? See the following posts:
ROMS vs MATLAB indices explained (for rivers and others)
ROMS with river discharge
Zafer
by nacholibre
Mon Jun 22, 2015 3:09 pm
Forum: ROMS Usage
Topic: Model blowing up using elevation at the boundary
Replies: 12
Views: 13130

Re: Model blowing up using elevation at the boundary

For a second test, I've created a file with information also in the North and South boundary, but in this case the model blows immediately during the first time step. I would check the masking and bathymetry near the coastline at the southern and northern boundaries. You might have bad values in ...
by nacholibre
Wed Apr 22, 2015 9:51 pm
Forum: ROMS Discussion
Topic: ROMS with river discharge
Replies: 10
Views: 9482

Re: ROMS with river discharge

Hao,
Probably a bit too late to be of any help to you, but I have provided some explanation on ROMS and MATLAB indices here. Hope this helps as a future reference to anybody who has issues with the river / point source locations.
Zafer
by nacholibre
Wed Apr 22, 2015 9:41 pm
Forum: ROMS Documentation
Topic: ROMS vs MATLAB indices explained (for rivers and others)
Replies: 0
Views: 10495

ROMS vs MATLAB indices explained (for rivers and others)

I have been thinking about posting on this topic for a while. ROMS horizontal discretization is very well defined in Numerical Solution Technique and placement of rivers in Description of River Input . However, I don't think the notation in MATLAB has been documented. I think this had also been a ...
by nacholibre
Mon Dec 29, 2014 6:00 pm
Forum: ROMS Sediment
Topic: unable to find requested variable
Replies: 9
Views: 21586

Re: unable to find requested variable

The model needs boundary conditions to work, let it be defined analytically or read through files. If the ana_### switch is not turned on it will try to read it from a forcing file. mud_01 is a part of lateral boundary conditions, mud_01_bflux is a part of bottom boundary condition. mud_01 is a ...
by nacholibre
Wed Dec 24, 2014 3:14 pm
Forum: ROMS Sediment
Topic: unable to find requested variable
Replies: 9
Views: 21586

Re: unable to find requested variable

The forcing field should have the dimensions of the boundary that you are applying it plus the time dimension. For example, to apply sediment concentration at an eastern boundary it looks something like this: nc_forc{'sand_east_01'} = ncdouble('sand_time','layers','eta_rho'); nc_forc{'sand_east_01 ...
by nacholibre
Fri Dec 19, 2014 2:40 pm
Forum: ROMS Sediment
Topic: unable to find requested variable
Replies: 9
Views: 21586

Re: unable to find requested variable

It sounds to me like you are not providing mud_01_sflux & sand_01_sflux at all layers (maybe that's why you see a 2D forcing in your forcing files?).
Zafer
by nacholibre
Mon Dec 01, 2014 9:41 pm
Forum: ROMS Problems
Topic: Cool SSTs over Congo's submarine canyon; is this realistic?
Replies: 4
Views: 8659

Re: Cool SSTs over Congo's submarine canyon; is this realist

Do you think trying different vertical advection schemes for tracers or changing the stretching near surface might help you get a feel for how much of it could be a computational artifact? Just a thought...
Zafer
by nacholibre
Fri Nov 28, 2014 2:29 pm
Forum: ROMS Sediment
Topic: wetdry mask applied to sediment output
Replies: 1
Views: 9833

Re: wetdry mask applied to sediment output

It seems like this issue was solved in revision 741 (ticket#648). Masks for the sediment output were switched from rmask_io back to rmask. Thanks.
by nacholibre
Tue Nov 25, 2014 4:16 pm
Forum: ROMS Sediment
Topic: wetdry mask applied to sediment output
Replies: 1
Views: 9833

wetdry mask applied to sediment output

I am not sure if there is any advantage to it, but in the recent version of the code sediment parameters (i.e sandmass, idBmas) are written to the his files after the wetdry mask is applied whereas in older versions it was out put as is. This change is somewhat problematic, because it makes it ...
by nacholibre
Thu Nov 06, 2014 11:26 pm
Forum: ROMS Bugs
Topic: Arbitrary wetting over the land cells
Replies: 1
Views: 4794

Arbitrary wetting over the land cells

I have a grid where most of the land is unmasked. After switching to COAWST version 3.1 I started getting spurious wet cells right after a few steps in to the simulation. They are spurious because the cells that get wet have elevations much higher than the tidal amplitude (e.g. -3 m of elevation ...
by nacholibre
Tue Nov 04, 2014 10:27 pm
Forum: ROMS Discussion
Topic: Problem - forcing time step drifts after a while
Replies: 2
Views: 3608

Re: Problem - forcing time step drifts after a while

I assume the "drift" that you mention is actually because the model needs to read the forcing files ahead of time in order to interpolate them on the computational time step (the time steps of forcing files are usually much larger than the computational time steps). I also see the 1-sec difference ...
by nacholibre
Mon Oct 27, 2014 10:01 pm
Forum: ROMS Discussion
Topic: ROMS Boundary Condition: Clamped vs. Flather
Replies: 4
Views: 4767

Re: ROMS Boundary Condition: Clamped vs. Flather

Have you tried M2REDUCED option?
Zafer
by nacholibre
Mon Oct 27, 2014 3:51 pm
Forum: ROMS Discussion
Topic: blow up at first step as long as I turn on the bulk flux
Replies: 9
Views: 8099

Re: blow up at first step as long as I turn on the bulk flux

Did you make sure that your atmospheric forcing file domain has a larger footprint than your ROMS grid? Interpolation onto your domain may have a problem otherwise...
Zafer
by nacholibre
Tue Oct 21, 2014 1:32 pm
Forum: ROMS Problems
Topic: wetting and drying problem
Replies: 22
Views: 31531

Re: wetting and drying problem

My experience is that some sort of smoothing is usually required. You can tell it by looking at Beckmann & Haidvogel and Haney stiffness ratios (rx0 and rx1). The shallower the water, the more likely for the ratios to be exceeded more often. There are many options when it comes to smoothing, bin ...
by nacholibre
Wed Oct 15, 2014 2:25 pm
Forum: ROMS Bugs
Topic: WET_DRY and Dcrit
Replies: 13
Views: 16638

Re: WET_DRY and Dcrit

Thanks to everybody who contributes to the discussion. I have a simulation which blows up frequently and/or I see unreasonably high tracer concentrations in shallow water and that is why this topic interested me. Even though we updated the code earlier to apply masking to dry cells with BULK_FLUXES ...
by nacholibre
Wed Oct 15, 2014 1:43 pm
Forum: ROMS Problems
Topic: wetting and drying problem
Replies: 22
Views: 31531

Re: wetting and drying problem

I am having a problem where my wetting-drying simulation in Cook Inlet blows-up at isolated cells from time to time and the blow-up is only associated with T and S values (not water elevations or currents) and occurs during the summertime heating and not during the winter/spring/fall times! Did you ...
by nacholibre
Fri Oct 10, 2014 10:37 pm
Forum: ROMS Bugs
Topic: WET_DRY and Dcrit
Replies: 13
Views: 16638

Re: WET_DRY and Dcrit

Hi Kate, Did this change in step3d_uv.F work to prevent the tracers from updating in your case? I was wondering whether this worked or did not work and this change was rolled back, because I did not see it in the your repository. Thank you Zafer +# ifdef WET_DRY + Hvom(i,j,k)=Hvom(i,j,k)*vmask_wet(i ...
by nacholibre
Mon Jun 30, 2014 9:02 pm
Forum: ROMS Problems
Topic: Instability in vertical advection
Replies: 5
Views: 5541

Re: Instability in vertical advection

Hi Kate, I think I sometimes encounter a similar problem while working on my model. I would be happy to hear more about your problem and how you solve it. 1. Are you using constant tracers, if not does the salinity look just before the blow up? 2. How does the h+zeta change in time over the problem ...
by nacholibre
Tue May 13, 2014 3:43 pm
Forum: ROMS Discussion
Topic: strange behaviour of wetting-drying ...
Replies: 2
Views: 4093

Re: strange behaviour of wetting-drying ...

Looks like I have barely missed the first anniversary of this question to reply it :shock: !!! Hopefully you moved on and this answer will be helpful for a future reference if not for you. When WET_DRY is defined in ROMS the following condition is applied over the entire grid: zeta=zeta+(Dcrit-h)*(1 ...
by nacholibre
Thu Mar 20, 2014 7:30 pm
Forum: Ocean News
Topic: A discussion board for ocean and atmospheric modelers
Replies: 0
Views: 10826

A discussion board for ocean and atmospheric modelers

Fellow ROMS users, I would like to inform you about a proposal for a discussion board for technical questions from modelers who use ocean and atmospheric modeling systems. The proposed discussion board will be a page where users can ask questions, vote for useful questions and/or answers, and mark ...
by nacholibre
Sun Nov 18, 2012 5:58 am
Forum: ROMS Tools and Techniques
Topic: how to use seagrid to Locally Add Mesh Density
Replies: 7
Views: 9019

Re: how to use seagrid to Locally Add Mesh Density

viviocean, In order to do the stretching properly in Seagrid you will need to build the correct mex files for your system and add the folder that contains them to your Matlab path. Alternatively you can also look at the mex_matlabXX_winXX folders under the Seagrid folder to see if there is a version ...
by nacholibre
Thu Oct 25, 2012 12:42 pm
Forum: ROMS Usage
Topic: River discharge issues
Replies: 10
Views: 17087

Re: River discharge issues

You must be defining them on a masked cell if you don't see the discharge comming out. use mask_u or mask_v in Matlab the wet cell at the boundary is the source location e.g. mask_u(439,16) for a river in u direction in ROMS the indices will be one less and swapped e.g. river_Xposition=15, river ...
by nacholibre
Wed Nov 16, 2011 9:54 pm
Forum: ROMS Problems
Topic: making clim error
Replies: 1
Views: 4747

Re: making clim error

It is probably a little too late to answer this question, but just not to leave this post unanswered. See:
viewtopic.php?f=23&t=1344
by nacholibre
Tue Jul 12, 2011 8:48 pm
Forum: ROMS Problems
Topic: SOURCE POINT FOR RIVER RUNOFF (topic locked)
Replies: 115
Views: 3734883

Re: SOURCE POINT FOR RIVER RUNOFF

I assume you will still have a problem with the grid points shallower than the minimum of your tidal range. They will go dry and the model will blow up. You will need to set a minimum depth to solve this issue.
Zafer
by nacholibre
Wed Jun 22, 2011 3:22 pm
Forum: ROMS Problems
Topic: SOURCE POINT FOR RIVER RUNOFF (topic locked)
Replies: 115
Views: 3734883

Re: SOURCE POINT FOR RIVER RUNOFF

I would suggest setting your minimum depth to a positive number (say 2 m) and see if it will run this time. It seems to me that you might be having a problem with the depth values. Do you think you might have a grid point that has not been masked properly and has a depth of 0 m maybe?
Zafer
by nacholibre
Thu May 12, 2011 4:34 pm
Forum: ROMS Problems
Topic: Seagrid Error
Replies: 26
Views: 37653

Re: Seagrid Error

For any of your questions I suggest that you take a look at the ROMS documentation at WikiRoms first. https://www.myroms.org/wiki/index.php/Documentation_Portal . Masked cells are excluded in the calculations therefore masking reduces the computational load. Also it gives user the flexibility of ...
by nacholibre
Wed May 11, 2011 8:58 pm
Forum: ROMS Problems
Topic: Seagrid Error
Replies: 26
Views: 37653

Re: Seagrid Error

David, Sorry to get back to you so late. But I haven't seen your post earlier. I remember getting that error when I was working on the grids, but I cannot recall what the issue was. It has been a long time since then. I had to modify the seagrid codes myself for my needs and maybe I did not have ...
by nacholibre
Tue Apr 12, 2011 8:32 pm
Forum: ROMS Problems
Topic: Seagrid Error
Replies: 26
Views: 37653

Re: Seagrid Error

Seagrid decides on the land cells by automatically connecting the two ends of your coastline array. You can modify the coordinates of these two ends and move them towards the land so that you will get Seagrid to generate a correct polygon for the land.
Zafer
by nacholibre
Tue Apr 12, 2011 3:33 pm
Forum: ROMS Problems
Topic: Seagrid Error
Replies: 26
Views: 37653

Re: Seagrid Error

Try zoom in and out by pressing ctrl + [ and ctrl + ] and zoom to extent ctrl + \ Also you can try turning off the mask when you zoom out, so that the grid will draw much faster. You can also try changing your graphics renderer from painters to openGL (if you have openGL), but I haven't experienced ...
by nacholibre
Mon Mar 14, 2011 1:05 pm
Forum: ROMS Discussion
Topic: convert sigma coordinate to depth coordinate
Replies: 5
Views: 13624

Re: convert sigma coordinate to depth coordinate

Could you tell me please which depth is “h”¿¿??
That is the depth at each grid cell. It is saved in the grid file and all history files with the name "h".
by nacholibre
Tue Nov 02, 2010 5:14 pm
Forum: ROMS Discussion
Topic: Blowing-up problem
Replies: 3
Views: 4865

Re: Blowing-up problem

Which version of ROMS are you using?
Did you try a larger NDTFAST? (30 maybe?)
Zafer
by nacholibre
Fri Nov 13, 2009 9:49 pm
Forum: ROMS Discussion
Topic: Additional shear stress
Replies: 3
Views: 4927

Re: Additional shear stress

What does it really mean? You should probably search on BODYFORCE to see if that code will help you out I am also trying to do a similar thing, but it is not really clear how to use BODYFORCE. Do we need to modify rhs3d.F? I guess that is the dirty way to do it, but I cannot see any other way at the ...
by nacholibre
Mon Aug 10, 2009 8:57 pm
Forum: ROMS Problems
Topic: error messages with ANA_INITIAL
Replies: 6
Views: 6661

Re: ANA_PSOURCE

nacholibre wrote:
This one problem that I am having is not related to ANA_INITIAL, but rather to ANA_PSOURCE.
On a second thought it does not have to be limited to ANA_PSOURCE. I think it would happen in case of feeding river information with a netCDF forcing file...
by nacholibre
Mon Aug 10, 2009 8:51 pm
Forum: ROMS Problems
Topic: error messages with ANA_INITIAL
Replies: 6
Views: 6661

ANA_PSOURCE

I see. Thanks for your comments. 8) This one problem that I am having is not related to ANA_INITIAL, but rather to ANA_PSOURCE. However, I thought it might fit under this post. I get incredibly high values for velocity where I define my source (almost Inf), which is unrealistic of course. The model ...
by nacholibre
Thu Aug 06, 2009 6:02 pm
Forum: ROMS Tools and Techniques
Topic: SEAGRID use
Replies: 9
Views: 14190

Re: SEAGRID use

You are on the right track. You need to convert that matlab grid file to a netCDF in order to feed into ROMS. Once you run "seagrid2roms" from the command line you will see that the NANs will convert to 2m. s.ClippingDepth in your matlab file contains the information about the minimum and maximum ...
by nacholibre
Wed Aug 05, 2009 10:11 pm
Forum: ROMS Problems
Topic: error messages with ANA_INITIAL
Replies: 6
Views: 6661

Re: error messages with ANA_INITIAL

My understanding is that there is a lot of issues with parallel execution in ROMS. Maybe more for ANA_ routines? On the other hand, I did the same thing for the 2D momentum in the same routine and there were no problems with it. e.g. vbar(104,9,1)=-2.0_r8 vbar(104,10,1)=-2.0_r8 ubar(82,16,1)=2.0_r8
by nacholibre
Wed Aug 05, 2009 9:32 pm
Forum: ROMS Tools and Techniques
Topic: SEAGRID use
Replies: 9
Views: 14190

Re: SEAGRID use

Have you read the tutorial at http://woodshole.er.usgs.gov/operations/modeling/seagrid/tutorial.html? Seagrid has produced the "s" matlab structured variable where "s.gridded_ bathymetry" contains NaN for all land cells and some negative values for some sea cells that are close to the shoreline ...
by nacholibre
Wed Aug 05, 2009 9:15 pm
Forum: ROMS Problems
Topic: error messages with ANA_INITIAL
Replies: 6
Views: 6661

error messages with ANA_INITIAL

I am trying to define some river inflow in the ANA_INITIAL routine. It is similar to the RIVERPLUME2 test case. No problems with modifying the initial 2D momentum, but I have problems with the 3D momentum. I can insert the following piece of code with no problems. DO k=1,N(ng) DO j=JstrR,JendR DO i ...
by nacholibre
Fri Jul 31, 2009 4:11 pm
Forum: ROMS Discussion
Topic: version 340 stop before reading in surface forcing
Replies: 12
Views: 11802

Re: version 340 stop before reading in surface forcing

Do you define the river forcing with a netCDF file or are you using the ANA_PSOURCE routine?
by nacholibre
Fri Jul 31, 2009 4:03 pm
Forum: ROMS Tools and Techniques
Topic: SEAGRID use
Replies: 9
Views: 14190

Re: SEAGRID use

Using join_cst.m and adding the two points far inland of your coast at the beginning and the end of your coastline should work as Mr. Signell suggested. Have you tried it?
by nacholibre
Fri Jul 31, 2009 2:15 pm
Forum: ROMS Problems
Topic: MPI process terminated unexpectedly
Replies: 7
Views: 10021

Re: MPI process terminated unexpectedly

Hello Zhou,
Have you found the reason for this? I have a similar issue, where model exits with signal 15 and no error messages. Are you modeling any river inflow?
Zafer
by nacholibre
Thu Jul 30, 2009 9:26 pm
Forum: ROMS Problems
Topic: does ana_psource still have parallel bugs?
Replies: 0
Views: 2438

does ana_psource still have parallel bugs?

ROMS svn 350 I have seen the following note in the ana_psource.h code. Does it still have the bugs mentioned below? Can it be used in parallel with domain partitions? !----------------------------------------------------------------------- ! Set tracer and/or mass point sources and/or sink ...
by nacholibre
Thu Jul 30, 2009 8:52 pm
Forum: ROMS Problems
Topic: What is the ROMS fill value on land cells?
Replies: 0
Views: 2578

What is the ROMS fill value on land cells?

I understand that ROMS uses the fill value (spval = 1.0E+37) for dry cells when wetting/drying is activated. I see that there has been a change the way this has been handled (Ticket #297) https://www.myroms.org/projects/src/ticket/297 However, this change was assumed to be only for the wetting ...
by nacholibre
Mon Jul 20, 2009 3:31 pm
Forum: ROMS Discussion
Topic: cannot restart from rst file
Replies: 3
Views: 5578

Re: cannot restart from rst file

There were several reasons for this: The main problem was that the initialization file was missing. I had been overlooking it since ROMS strangely did not throw an error message for that. Also it was not possible to start from the restart file since it is the final step recorded before the blowup ...
by nacholibre
Thu Jul 16, 2009 6:52 pm
Forum: ROMS Problems
Topic: late blow up with WET_DRY
Replies: 10
Views: 11020

Re: late blow up with WET_DRY

it is difficult for me to really see what is going on here. Can i get the Projects folder for this app and try to run it here, and step thru what is happening? Sure, I will share it with you. I was looking at the results today and it is interesting to note that there are very high elevations above ...
by nacholibre
Thu Jul 16, 2009 1:28 am
Forum: ROMS Problems
Topic: late blow up with WET_DRY
Replies: 10
Views: 11020

Re: late blow up with WET_DRY - possible bug with masking?

You need to figure out the restart problem then figure out the ROMS problem by restarting and seeing what is what. The restart is failing with that posixio issue - which field from which file is it failing to read? The model runs fine when I turn the wet_dry off and set the minimum depth larger ...
by nacholibre
Wed Jul 15, 2009 4:31 pm
Forum: ROMS Problems
Topic: late blow up with WET_DRY
Replies: 10
Views: 11020

Re: late blow up with WET_DRY

Did you check the density field? ROMS looks for outrageous values of both velocity and density. Can you run with a shorter timestep? Sometimes ROMS just needs a shorter timestep to run stably, being happy for months before blowing up, but needing more steps to get through the occasional rough spot ...
by nacholibre
Tue Jul 14, 2009 7:27 am
Forum: ROMS Problems
Topic: late blow up with WET_DRY
Replies: 10
Views: 11020

Re: late blow up with WET_DRY

not sure. look at all the fields. look at all the forcing data. Can u restart it? Unfortunately I am having a problem restarting my runs. I have been trying to restart from the netCDF restart file, but no luck so far. I have created a post about this very recently... https://www.myroms.org/forum ...
by nacholibre
Mon Jul 13, 2009 7:47 pm
Forum: ROMS Problems
Topic: late blow up with WET_DRY
Replies: 10
Views: 11020

Re: late blow up with WET_DRY

jcwarner wrote:did u look in the restart file? The last time step of that file contains the final fields.
Yes sure. Nothing unusual: the velocity and the water surface elevations are physically acceptable. No large values.
by nacholibre
Mon Jul 13, 2009 5:09 pm
Forum: ROMS Problems
Topic: late blow up with WET_DRY
Replies: 10
Views: 11020

late blow up with WET_DRY

I am using ROMS 3.2 svn 351M. I am modeling a real case and I only have the tidal forcing on. My model blows up after 12 days after 20 tidal cycles. I have checked the depth averaged (ubar, vbar) and depth varying (u, v) values, and also the water surface elevation (zeta), but there are no extreme ...
by nacholibre
Fri Jul 10, 2009 6:00 am
Forum: ROMS Discussion
Topic: cannot restart from rst file
Replies: 3
Views: 5578

cannot restart from rst file

I am using MPI with 20 nodes and when I try to restart from rst.nc file I get some error related to "Free control buffers" from each node. The model runs for for 15 minutes or so before blowing up, but it does not write any history file or time steps into the output file. I have attached the output ...
by nacholibre
Thu Jul 09, 2009 9:37 pm
Forum: ROMS Problems
Topic: what's wrong with the seagrid spacer?
Replies: 12
Views: 12724

Re: what's wrong with the seagrid spacer?

I do NOT recommend avoiding the mex files with SeaGrid. Chuck Denham, the author of this tool, tried to make non-mex versions of the elliptic solver and the other mex files, but it didn't work out so well. If you don't use the mex files, you will get a grid, but it may be wildly nonorthogonal. You ...
by nacholibre
Wed Apr 15, 2009 4:32 am
Forum: ROMS Problems
Topic: Forcing in ROMS3.0
Replies: 4
Views: 6819

Re: Forcing in ROMS3.0

Did you prepare the forcing file with a word processor in Windows rather than a simple editor. They might sometimes mess up with the end of line characters.
It might be totally unrelated to your problem, but I had a similar problem in the past.
Good luck!
Zafer
by nacholibre
Thu Apr 09, 2009 5:21 pm
Forum: ROMS Discussion
Topic: tide_start and ADCIRC
Replies: 1
Views: 3766

Re: tide_start and ADCIRC

Hello Justin,
Did changing the momentum mixing parameters make any change for your case? I am also getting weaker currents in my model than expected and you are right about the bottom drag.
Did you find out any parameters that may help tweaking the results?
Thanks,
Zafer
by nacholibre
Wed Feb 18, 2009 9:24 pm
Forum: ROMS Tools and Techniques
Topic: masking issue in seagrid
Replies: 3
Views: 4474

Re: masking issue in seagrid

You need to edit following files:
uncomment '>Mask' in doaddmenus.m
add the following line under the case 'mask' in doevent.m
domasktool(self)

and then simply run seagrid. You can now use the Mask command under <Toggle> menu. 8)

Zafer
by nacholibre
Sun Feb 15, 2009 10:11 pm
Forum: ROMS Tools and Techniques
Topic: Grid generation
Replies: 61
Views: 210248

Re: Grid generation

Congrats! While it's fresh in your mind, it would be great if you would make a few notes on the problems you encountered and how you solved them. I'd be happy to add them to the WikiROMS section on grid generation. -Rich I followed the instructions in the readme.txt file in the downloaded seagrid ...
by nacholibre
Mon Feb 09, 2009 10:51 pm
Forum: ROMS Tools and Techniques
Topic: Grid generation
Replies: 61
Views: 210248

Re: Grid generation

Got it :!:
It took more than I thought (getting the Fortran compiler, version problems, manually editing the batch files... etc.), but finally I got it to work! I will be more than happy to help if anybody else ever has a similar problem in the future. :D
Thanks a lot,
Zafer
by nacholibre
Fri Feb 06, 2009 7:37 pm
Forum: ROMS Tools and Techniques
Topic: Grid generation
Replies: 61
Views: 210248

Re: Grid generation

Yes, you can recompile it using a larger dimension. Or even better, you could rewrite it to use dynamic memory allocation so people wouldn't have to do this in the future! -Rich I have never done it before, so I would be happy if you could please direct me in the correct direction. I am assuming ...
by nacholibre
Thu Feb 05, 2009 10:18 pm
Forum: ROMS Tools and Techniques
Topic: Grid generation
Replies: 61
Views: 210248

Seagrid

I increased the size to 1200x1200 and recompiled. If you replace your win32 mex files with these, does it work? http://stellwagen.er.usgs.gov/rps/share/seagrid_mex2.zip -Rich Is it possible to have seagrid handle a much larger grid like 2000x2000? The latest version I got from the web page gives ...
by nacholibre
Fri Jan 16, 2009 5:11 pm
Forum: ROMS Problems
Topic: STATIONS - inconsistent number of points
Replies: 1
Views: 2931

STATIONS - inconsistent number of points

I get the following error when I try to get the results output at selected points: "Read_StaPar inconsistent number of points..." ...change input script values" I have checked the number of points in the station.in file that I am using and the point numbers match with NSTATION. I changed the number ...
by nacholibre
Fri Nov 02, 2007 10:50 pm
Forum: ROMS Problems
Topic: Edge+start exceeds dimension bound
Replies: 18
Views: 20728

Well things got messier now. I downloded netCDF 3.6.2 and tried building it but the files in folder usr/local didn't seem to update. Then I downloaded the pre-built binary files and put them in the relted folders in usr/local and I get the following error message now. (which is pretty ...
by nacholibre
Fri Nov 02, 2007 7:35 pm
Forum: ROMS Problems
Topic: Edge+start exceeds dimension bound
Replies: 18
Views: 20728

I agree, that might be the case. I remember moving the ROMS directory to a different HARD DISK on the same computer a month ago. Do you think the problem might be related to that? I did the svn update after that, and I tried some of the old cases that I ran before , they worked all right. I have a ...
by nacholibre
Fri Nov 02, 2007 12:53 am
Forum: ROMS Problems
Topic: Edge+start exceeds dimension bound
Replies: 18
Views: 20728

Finally my desktop crashed down! Well, I cannot say I am surprised!!! :lol: Last thing I was doing was trying to find the version information for netcdf. I am using a Linux desktop, an intel compiler and netcdf 3.6.1 I guess? I am not very confident with the file structure of ROMS. How can I tell ...
by nacholibre
Fri Nov 02, 2007 12:04 am
Forum: ROMS Problems
Topic: Edge+start exceeds dimension bound
Replies: 18
Views: 20728

kate wrote:Did you step into nf_fread3d? I asked about values there, before the call to nf90_get_var.

Code: Select all

start
           1
           1
           1
           0
total
         300
         400
           7
           1
What is Lm and Mm in the model?
Lm=298
Mm=398
by nacholibre
Thu Nov 01, 2007 9:53 pm
Forum: ROMS Problems
Topic: Edge+start exceeds dimension bound
Replies: 18
Views: 20728

Hello Kate, The values I have are as follows: start 7 0 0 0 total 1 0 0 0 That is in IF (Lgrided) THEN loop, therefore, before status=nf_fread3d(ng, model, ncid, Vid, 0, Vtype+4, & & Vsize, LBi, UBi, LBj, UBj, 1, Irec, & & Fscale(ifield,ng), Fmin, Fmax, & & Fmask(LBi,LBj), & & Fout(LBi,LBj,1)) It ...
by nacholibre
Thu Nov 01, 2007 12:09 am
Forum: ROMS Problems
Topic: Edge+start exceeds dimension bound
Replies: 18
Views: 20728

start and total read the ng (nested grid number) and it is equal to 1. So I have start(1)=Trec total(1)=1 where Trec =7. The 7 tidal constituents that i am using in my model. I don't know if this is what you were asking Kate. I hope I did not lose you completely at this point. :? Thank you for your ...
by nacholibre
Wed Oct 31, 2007 9:18 pm
Forum: ROMS Problems
Topic: Edge+start exceeds dimension bound
Replies: 18
Views: 20728

Hello Kate, The problem is at IF (status.ne.nf90_noerr) THEN IF (Master) THEN WRITE (stdout,70) TRIM(Vname(1,ifield)), Trec END IF exit_flag=2 ioerror=status RETURN END IF at the very end after the comment ! Read in 2D-grided or point data. Notice for special 2D fields, Vtype ! is augmented by four ...
by nacholibre
Tue Oct 30, 2007 11:32 pm
Forum: ROMS Problems
Topic: Edge+start exceeds dimension bound
Replies: 18
Views: 20728

Thank you for your reply Kate. I have a 400x300 grid with 8 layers. I thought that the errror mesage was straight forward so did not use a debugger. Do you mean debugging the f90 code in the Build folder? Thanks a lot! %% ncdump('clyo_tide.nc') %% Generated 30-Oct-2007 19:31:06 nc = netcdf('clyo ...
by nacholibre
Tue Oct 30, 2007 9:51 pm
Forum: ROMS Problems
Topic: Edge+start exceeds dimension bound
Replies: 18
Views: 20728

Edge+start exceeds dimension bound

Hello, I am getting the following error. Apparently the get_2dfld.f90 cannot read the variable. GET_2DFLD - error while reading variable: tide_Eamp at TIME index = 7 ROMS/TOMS - Input error ............. exit_flag: 2 ... Analytical header files used: ROMS/Functionals/ana_initial.h ERROR: Abnormal ...
by nacholibre
Thu Oct 25, 2007 11:06 pm
Forum: ROMS Tools and Techniques
Topic: Grid generation
Replies: 61
Views: 210248

segmentation violation problem resolved - seagrid

Thank you very much for the quick reply. I just realized that there are actually two different addresses for Seagrid. http://woodshole.er.usgs.gov/operations/modeling/seagrid/index.html and http://woodshole.er.usgs.gov/operations/modeling/seagrid/seagrid.html I downloaded Seagrid again and used the ...
by nacholibre
Thu Oct 25, 2007 9:38 pm
Forum: ROMS Tools and Techniques
Topic: Grid generation
Replies: 61
Views: 210248

how to increase the gridsize in seagrid

Barbara, I increased the size to 1200x1200 and recompiled. If you replace your win32 mex files with these, does it work? http://stellwagen.er.usgs.gov/rps/share/seagrid_mex2.zip -Rich Hello, I am having a similar problem to what Barbara had. I would like to increase the grid size (say 400x400). I ...
by nacholibre
Fri Oct 05, 2007 3:43 pm
Forum: ROMS Documentation
Topic: C-preprocessing options
Replies: 1
Views: 11437

C-preprocessing options

I wonder if it is possible to get some more information about the cppdefs.h options? I have already read the page about the cppdefs.h options on WikiROMS (or the information in cppdefs.h file itself) and it was very helpful. :) However, there are still many options that I do not fully understand ...
by nacholibre
Tue Sep 18, 2007 1:36 am
Forum: ROMS Installation
Topic: running roms with debugger
Replies: 12
Views: 14498

from ROMS 2 to ROMS 3

Mr. Warner, When transferring my model from ROMS 2 to 3, I simply overlooked the fact that some of the parameters in mod_param.F are now included in the *.in input file. In order to prevent riffraff information, I wanted to delete my previous posting, but it was not possible. I tried to change my ...
by nacholibre
Mon Sep 17, 2007 5:52 am
Forum: ROMS Installation
Topic: running roms with debugger
Replies: 12
Views: 14498

I've recently switched to ROMS 3.0 and I am trying to do the same run that I did with the previous version.:D I copied the part from the cppdefs.h to a new header file. I modified the 'Upwelling' input file according to my previous input file. However, I get a segmentation error. I read the messages ...
by nacholibre
Tue May 08, 2007 5:45 pm
Forum: ROMS Tools and Techniques
Topic: Grid generation
Replies: 61
Views: 210248

Seagrid vs Gridgen

Dear all, I am planning to model the entire Georgia and SC coast in detail. I used Seagrid for a few small areas I studied on, but I thought Gridgen might be a better option since it had more flexibility. I have read the bulletin board, but I am still unclear about following things: 1. is it ...