Search found 32 matches

by Kosa
Wed Sep 21, 2022 9:25 pm
Forum: ROMS Discussion
Topic: Which tool is the stablest tools to create ROMS grid?
Replies: 56
Views: 199385

Re: Which tool is the stablest tools to create ROMS grid?

I haven't tested on Macs, the toolbox installed ok on a Matlab R2022b prerelease running on a PC, it doesn't use any mex files so I'm not sure why it wouldn't install on a Mac, if you can install the toolbox on a PC and do '>>which GridBuilder' in Matlab you should get the location of the GridBuild...
by Kosa
Tue Sep 20, 2022 4:42 pm
Forum: ROMS Discussion
Topic: Which tool is the stablest tools to create ROMS grid?
Replies: 56
Views: 199385

Re: Which tool is the stablest tools to create ROMS grid?

Has anyone had success installing GridBuilder_toolbox.mltbx on the new ARM-based Macs?

I get the error "toolbox cannot be installed because it is not a valid toolbox file"

My setup:
- Hardware: M2 Macbook Air
- Operating system: macOS 12.4
- Matlab: R2022a
by Kosa
Mon Aug 29, 2022 3:40 pm
Forum: ROMS Installation
Topic: ROMS for MacOS v. 10.15.2 Catalina / v. 11 Big Sur system
Replies: 8
Views: 7350

Re: ROMS for MacOS v. 10.15.2 Catalina / v. 11 Big Sur system

It looks like there is M1 Mac optimization happening. See this post: https://www.myroms.org/forum/viewtopic.php?p=24122&sid=495bc79f13d0d3d04e66d6c25bf70214#p24122 We updated the code last week to use the NAGFOR compiler directly with Apple Silicon. See Darwin-nag.mk . David Robertson is benchma...
by Kosa
Tue Mar 22, 2022 8:22 am
Forum: ROMS Discussion
Topic: Different boundary scenarios
Replies: 15
Views: 17365

Re: Different boundary scenarios

Are you using WET_DRY option? It's my guess since -10 m zeta didn't cause a blowup. If so, I would try without WET_DRY unless you actually need it. And then you will need to set a minimum depth so that no grid points become fully dry at low tide. So e.g. set all depths to be at least 3 m.
by Kosa
Sun Jan 30, 2022 2:29 pm
Forum: ROMS Discussion
Topic: netcdf closing error
Replies: 1
Views: 1442

Re: netcdf closing error

Could you post the rest of the output?
by Kosa
Wed Dec 29, 2021 2:35 pm
Forum: ROMS Discussion
Topic: Running error: unable to open existing NetCDF file
Replies: 8
Views: 4310

Re: Running error: unable to open existing NetCDF file

I think I know what went wrong in the original post by Xegone. If ANA_INITIAL is activated, an initial conditions netcdf file is not considered as long as NRREC=0 to indicate that we are starting a new solution. But in this case NRREC=-1 so ROMS looked for an initial conditions file, and since it wa...
by Kosa
Thu Oct 28, 2021 1:21 pm
Forum: ROMS Tools and Techniques
Topic: TPXO to ROMS EXPRESS (tide extraction software)
Replies: 110
Views: 2639182

Re: TPXO to ROMS EXPRESS (tide extraction software)

@skastner: My understanding is that TIDE_START is relative to TIME_REF, not DSTART. There's multiple different ways to get the timing correct but here's how I personally like to set up my models: t0=datenum(2019,1,1,0,0,0); % for TPXO function DSTART = 212.0d0 ! 01-Aug-2019 TIDE_START = 0.0d0 TIME_R...
by Kosa
Thu Sep 09, 2021 3:01 pm
Forum: ROMS Discussion
Topic: Change Output Frequency?
Replies: 3
Views: 5918

Re: Change Output Frequency?

osean wrote: Wed Sep 08, 2021 12:51 pm
I noticed that there's a restart file option. How does one go about restarting with a different output frequency from a restart .nc file?
You will create a 2nd ocean.in file with a new NHIS and set ININAME to point to your restart file. Note that you will also want to set NRREC to -1.
by Kosa
Thu Sep 02, 2021 1:07 pm
Forum: User Applications
Topic: Accessing SCSOFS South China Sea Ocean Forecast System and other operational regional models
Replies: 0
Views: 3195

Accessing SCSOFS South China Sea Ocean Forecast System and other operational regional models

Does anyone know if output from the Chinese operational models are available online like the US/European-run systems? According to this 2020 preprint the SCSOFS should still be under active development. If not, it looks like Korea may have some ROMS models of the region if I can find how to access t...
by Kosa
Mon Mar 22, 2021 11:53 am
Forum: ROMS Problems
Topic: Speeding up ROMS Model simulation
Replies: 6
Views: 11520

Re: Speeding up ROMS Model simulation

Thanks Kosa , my usual go to grid size is L300xM150; Well xi and eta differs from case to case. When making grids for a large region my xi x eta dimensions usually becomes large. I believe I do reduce the number of grid points while making my mesh coarser. I'm confused, so do the coarser grids have...
by Kosa
Sun Mar 21, 2021 12:04 pm
Forum: ROMS Problems
Topic: Speeding up ROMS Model simulation
Replies: 6
Views: 11520

Re: Speeding up ROMS Model simulation

1. What size grids did you use in these different tests? (xi, eta, and vertical dimensions)

2. Have you tried using OpenMP?

3. What are your CPP options?
by Kosa
Thu Jan 28, 2021 1:13 pm
Forum: ROMS Installation
Topic: ROMS for MacOS v. 10.15.2 Catalina / v. 11 Big Sur system
Replies: 8
Views: 7350

Re: ROMS for MacOS v. 10.15.2 Catalina / v. 11 Big Sur system

1. I used homebrew, not macports, and had success. So if you're more familiar with homebrew take that route. 2. Looking through my notes, I believe I got the same (or at least a similar) netcdf error as you. I tried a bunch of different things but it looks like the fix came from altering the trunk/C...
by Kosa
Mon Jan 25, 2021 2:31 pm
Forum: ROMS Installation
Topic: ROMS for MacOS v. 10.15.2 Catalina / v. 11 Big Sur system
Replies: 8
Views: 7350

Re: ROMS for MacOS v. 10.15.2 Catalina / v. 11 Big Sur system

I've run on Catalina. I haven't tried on Big Sur though.

I'm very curious about ROMS performance on the new M1 chip so if you get one of those machines please keep us updated.
by Kosa
Thu Dec 03, 2020 12:51 pm
Forum: ROMS Usage
Topic: Differences with CROCO
Replies: 6
Views: 6502

Re: Differences with CROCO

CoSiNE might be another one to consider.
by Kosa
Tue Aug 20, 2019 2:06 pm
Forum: ROMS Discussion
Topic: Abnormal Cooling at Shallow Water Area
Replies: 7
Views: 5488

Re: Abnormal Cooling at Shallow Water Area

Where are you getting your net longwave heat flux? I've had issues with unrealistic temperatures in shallow regions when applying heat fluxes. The problem is that the heat flux depends on the temperature difference between the air and the ocean, but when we take heat fluxes from some other model (us...
by Kosa
Tue Jun 04, 2019 6:30 pm
Forum: ROMS Tools and Techniques
Topic: History/Averages file output for a single sigma layer
Replies: 2
Views: 2861

Re: History/Averages file output for a single sigma layer

Thank you! I had never looked into the Quick output.
by Kosa
Tue Jun 04, 2019 5:04 pm
Forum: ROMS Tools and Techniques
Topic: History/Averages file output for a single sigma layer
Replies: 2
Views: 2861

History/Averages file output for a single sigma layer

I'm trying to add new history file output fields that take a 3D field but only write the top sigma layer (e.g. SST or surface velocity). Thought I'd check if anyone else has already done this and could share some tips.

Thanks
by Kosa
Mon Mar 04, 2019 10:17 pm
Forum: ROMS Usage
Topic: BLOWING UP during nesting
Replies: 11
Views: 8165

Re: BLOWING UP during nesting

I only added the initial condition, the tidal forcing and the contact files for the refined grid. Can you clarify this sentence? You don't have a tidal forcing file for the refined grid so are you saying that you haven't run the coarse grid standalone with its initial conditions file or its tidal f...
by Kosa
Fri Mar 01, 2019 2:15 pm
Forum: ROMS Usage
Topic: BLOWING UP during nesting
Replies: 11
Views: 8165

Re: BLOWING UP during nesting

1. Is that your full output file? Where are the lateral boundary conditions and C-preprocessing options etc.? 2. What is your grid refinement factor? This should dictate your DT. E.g. if it is 3x refined, it's typical to use a 1/3 smaller DT for the refined grid (so 3 s instead of 15 s). I don't kno...
by Kosa
Sat Feb 09, 2019 6:26 pm
Forum: ROMS Installation
Topic: Roms Upwelling testing case
Replies: 2
Views: 3076

Re: Roms Upwelling testing case

When you downloaded the ROMS trunk, you got the latest version. There have been some naming changes that are not reflected in the wiki yet but roms_Upwelling.in and ocean_Upwelling.in are effectively the same, just with a different filename. That particular change is only a few weeks old: https://ww...
by Kosa
Fri Jan 25, 2019 1:00 pm
Forum: ROMS Discussion
Topic: Found Error: 02 Line: 350 Source: ROMS/Utility/close_io.F
Replies: 3
Views: 3366

Re: Found Error: 02 Line: 350 Source: ROMS/Utility/close_i

Can you post the rest of the output? The information about what's causing the problem will be higher up in the file.
by Kosa
Sat Nov 24, 2018 2:58 am
Forum: ROMS Discussion
Topic: Problem with the time of the ECMWF files
Replies: 2
Views: 3870

Re: Problem with the time of the ECMWF files

I had this issue in the past but I don't remember what I'm doing differently now so that I don't have the issue anymore. My work around: sort the time variable (so that time is strictly increasing) and then sort your other variables' time dimensions to match.
by Kosa
Thu Aug 02, 2018 6:11 pm
Forum: ROMS Information
Topic: Domain decomposition for grid with large masked regions
Replies: 2
Views: 4037

Re: Domain decomposition for grid with large masked regions

Thanks Kate
kate wrote:Also, HYCOM has done this for many years.
Page 56 of the HYCOM user's guide https://hycom.org/attachments/063_hycom_users_guide.pdf 20.3 Generating "Equal-Ocean" Tile Partitions, looks like the most promising lead so far.
by Kosa
Thu Aug 02, 2018 4:27 pm
Forum: ROMS Information
Topic: Domain decomposition for grid with large masked regions
Replies: 2
Views: 4037

Domain decomposition for grid with large masked regions

I'm interested in defining an application-specific grid. Motivation: if we have a grid where the standard domain decomposition results in one or more tiles (MPI processes) that are composed entirely of masked out land cells, then this seems like an inefficient allocation of our computing resources. ...
by Kosa
Thu Aug 10, 2017 9:51 pm
Forum: ROMS Discussion
Topic: Role of statification on shelf-estuary exchanges
Replies: 0
Views: 2307

Role of statification on shelf-estuary exchanges

Hi I'm looking for some hints pointing me towards papers that have looked at the role of baroclinic processes in water mass exchange/flushing. I'm having trouble finding what I'm looking for and I wonder if maybe I'm using the wrong jargon. I've been shocked by the magnitude of the differences betwe...
by Kosa
Tue Aug 08, 2017 7:17 pm
Forum: ROMS Discussion
Topic: SSH tides cause blow up in corner of big domain
Replies: 2
Views: 2942

Re: SSH tides cause blow up in corner of big domain

Hi I didn't see your log file attached but if it's blowing up at the beginning of the run you could try adding the option

Code: Select all

#define RAMP_TIDES
and recompiling.
by Kosa
Wed Mar 22, 2017 4:06 pm
Forum: ROMS Bugs
Topic: Small errors found in frc_rivers.cdl
Replies: 0
Views: 2537

Small errors found in frc_rivers.cdl

Hi, attempting to build a NetCDF forcing file with the included frc_rivers.cdl (found in Data/ROMS/CDL/) may return errors due to a few missing commas. Pasted below is 1. the difference between the fixed and the original, 2. the original version, and 3. the fixed version. $ diff frc_rivers_original....
by Kosa
Tue Jun 23, 2015 3:17 pm
Forum: ROMS Installation
Topic: mpirun problem?
Replies: 7
Views: 10872

Re: mpirun problem?

Upon moving to a new machine I am experiencing this exact problem. I wish the other users who experienced this problem had reported back with their solution... :?
by Kosa
Fri May 29, 2015 3:09 pm
Forum: ROMS Tools and Techniques
Topic: SEAGRID.m with MATLAB R2014b
Replies: 12
Views: 23443

Re: SEAGRID.m with MATLAB R2014b

Thank you for your reply Charles. A couple of days ago I did switch out all the instances of function " any " to agree with the new r2014b graphics handles but you are right about there still being other issues. Unfortunately, I am not a Windows machine so I think for now I will just locat...
by Kosa
Thu May 28, 2015 8:52 pm
Forum: ROMS Tools and Techniques
Topic: problem in seagrid2roms (built in win32 system)
Replies: 6
Views: 8016

Re: problem in seagrid2roms (built in win32 system)

John, I too would greatly benefit for your colleague's seagrid advancements. I am attempting to get seagrid working with r2014b but the new graphics system is causing many compatibility issues.

Thank you
by Kosa
Tue May 26, 2015 6:50 pm
Forum: ROMS Tools and Techniques
Topic: SEAGRID.m with MATLAB R2014b
Replies: 12
Views: 23443

Re: SEAGRID.m with MATLAB R2014b

Have you updated your mex files yet? I believe that is my issue, though maybe you have already updated them. From the SEAGRID README.txt in the mex file subdirectory Building SEAGRID requires building 3 mex files: mexsepeli.F mexrect.F mexinside.c These mex files are machine dependent, and can also ...
by Kosa
Tue May 26, 2015 6:45 pm
Forum: ROMS Tools and Techniques
Topic: SEAGRID.m with MATLAB R2014b
Replies: 12
Views: 23443

Re: SEAGRID.m with MATLAB R2014b

I am having the same problem, kindly let me know if you find a solution.

Thank you