Search found 24 matches

by tao
Thu Jun 05, 2025 9:04 am
Forum: ROMS Problems
Topic: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO
Replies: 10
Views: 3782

Re: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO

I hope to perform a hot start from a certain point before the model crash, but this brings up several questions.
In my restart file, I noticed there are multiple ocean_time entries, and each ocean_time appears to contain two sets of data. Does this mean I can restart the model directly from a single ...
by tao
Wed Jun 04, 2025 7:38 am
Forum: ROMS Problems
Topic: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO
Replies: 10
Views: 3782

Re: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO

My model has encountered a new problem—it blew up after running for over nine months.
(273,054,35) 1.360096E-02 1.134846E-02 1.208489E-01 3.810625E+00
493932 2022-10-13 20:10:00.00 2.261205E-02 1.616870E+04 1.616872E+04 1.026477E+16
(274,054,31) 1.138465E-02 1.370948E-02 1.102423E-01 3.910384E+00 ...
by tao
Sat May 31, 2025 2:01 am
Forum: ROMS Problems
Topic: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO
Replies: 10
Views: 3782

Re: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO


I suggest you try setting h = 10 where mask_rho = 0 and #undef WET_DRY. You have very small (10^-4) values of h in the land that might cause trouble.

I notice that your land/sea mask is such that the Malaysia Peninsula connects to the southern boundary. The Singapore Strait is closed.


Thank ...
by tao
Fri May 30, 2025 2:06 pm
Forum: ROMS Problems
Topic: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO
Replies: 10
Views: 3782

Re: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO

Sadly, I tried modifying my grid file and the h file today, and also made corresponding changes to other related files. However, the error still hasn't gone away. That said, I believe the cause of the error lies within the grid. This is my grid file—hopefully the issue can be identified.
by tao
Fri May 30, 2025 7:48 am
Forum: ROMS Problems
Topic: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO
Replies: 10
Views: 3782

Re: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO

Thank you both very much for your kind help. I checked the grid file and, as expected, found the presence of zeros. I will proceed to modify the file. Thanks again! :D
by tao
Thu May 29, 2025 4:34 am
Forum: ROMS Problems
Topic: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO
Replies: 10
Views: 3782

Re: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO


Estimated maximum CFL values U∆t/∆x for u,v,w velocity are reported in the log as Cu,Cv,Cw. At the start of your run,
Cv = NaN so you have v velocity values that are NaN (in your initial conditions) which via continuity equation make w also NaN. You
cannot have NaN values in initial (or boundary ...
by tao
Wed May 28, 2025 3:54 am
Forum: ROMS Problems
Topic: Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO
Replies: 10
Views: 3782

Ran into an issue:IEEE_INVALID_FLAG, IEEE_DIVIDE_BY_ZERO

Hello everyone,

I’m encountering a confusing error. I initially built an inaccurate model, so I replaced the original grid, ini file, obc file, and tide file. However, I encountered the following error right at the first step of running the model:

Note: The following floating-point exceptions are ...
by tao
Sun Apr 20, 2025 3:25 am
Forum: ROMS Discussion
Topic: The simulated current velocity is too fast
Replies: 0
Views: 5469

The simulated current velocity is too fast

The following pictures are the ocean currents, salinity and temperature I simulated. The top two lines are my simulated monthly average data, and the bottom two lines are the satellite observation monthly average data provided by ORAS5
scs_SSUV.png
scs_SSS.png
scs_SST.png
As you can see, in ...
by tao
Wed Apr 02, 2025 7:09 am
Forum: ROMS Discussion
Topic: Segmentation fault occuring at the beginning
Replies: 2
Views: 9226

Re: Segmentation fault occuring at the beginning

It seems that the reason is that I set NTSAVG to 0, after changing it to 1 the model ran smoothly
by tao
Sat Mar 29, 2025 3:41 pm
Forum: ROMS Discussion
Topic: Segmentation fault occuring at the beginning
Replies: 2
Views: 9226

Re: Segmentation fault occuring at the beginning

As a supplement, I did not extend the running time of the old model, but created a new one. The starting times of the two models are different.
by tao
Sat Mar 29, 2025 3:25 pm
Forum: ROMS Discussion
Topic: Segmentation fault occuring at the beginning
Replies: 2
Views: 9226

Segmentation fault occuring at the beginning

Dear friends :) , thank you all very much for your help and answers before. My model ran successfully and gave good results. Now I want to increase the running time of the model from three months to one year.
But my model got off to a bad start, An error occurred before the his file was generated ...
by tao
Wed Feb 19, 2025 10:02 am
Forum: ROMS Discussion
Topic: The residual current is inconsistent after adding the tide
Replies: 6
Views: 25141

Re: The residual current is inconsistent after adding the tide

Thanks to MoeinDst for the index and wilkin for your patient explanation, you really helped me a lot. :D

I chose to modify my tide input file to keep only the values for the boundary grid points and set all the data for the internal points to 0. Everything looked much better, except for the tide ...
by tao
Mon Feb 17, 2025 3:33 am
Forum: ROMS Discussion
Topic: The residual current is inconsistent after adding the tide
Replies: 6
Views: 25141

Re: The residual current is inconsistent after adding the tide

Hi everyone, after some time, I'm back with a question.
The descriptions of SSH_TIDE and UV_TIDE say that tidal Forcing is added just on the open boundaries, but my tidal forcing file has tidal Data at every grid point, as does the data in \src\Data\ROMS\Forcing\test_head_frc.nc, which really ...
by tao
Thu Feb 06, 2025 2:05 am
Forum: ROMS Discussion
Topic: The residual current is inconsistent after adding the tide
Replies: 6
Views: 25141

Re: The residual current is inconsistent after adding the tide

I have a question whether the fact that I used HYCOM's hourly reanalysis data to generate my boundary file, which includes UV, Ubar, and Vbar data, means that my model calculated two tidal forcing
by tao
Tue Feb 04, 2025 8:24 am
Forum: ROMS Discussion
Topic: The residual current is inconsistent after adding the tide
Replies: 6
Views: 25141

The residual current is inconsistent after adding the tide

I added tides to my model. The tide data comes from TPXO9_v5, and I used otps2frc(https://github.com/NakamuraTakashi/ROMS_prep/blob/master/OTPS/mfile/otps2frc_wrapper_tpxo9_atlas30.m) to generate the NETCDF file.

With the addition of tides, my currents are significantly skewed. Here are three ...
by tao
Wed Dec 11, 2024 2:23 am
Forum: ROMS Discussion
Topic: My model's Kuroshio is gone
Replies: 7
Views: 22583

Re: My model's Kuroshio is gone

Dear jcwarner, thank you very much for your helpful explanation. However, this vortex is still bothering me, as it still exists when I set the OBCFAC to 10 or 100, albeit not as noticeably.

Thank you for your suggestion, JH. I will follow your advice and run the model. I sincerely appreciate the ...
by tao
Tue Dec 10, 2024 5:19 am
Forum: ROMS Discussion
Topic: My model's Kuroshio is gone
Replies: 7
Views: 22583

Re: My model's Kuroshio is gone

I checked the previous experiment and found that after I changed the value of obcfac to 0, my model had an unexplained vortex in eastern Taiwan. In fact, in most of my other experiments, similar vortexes were present, with a strong current moving south along eastern Taiwan, while the northbound ...
by tao
Tue Dec 10, 2024 2:08 am
Forum: ROMS Discussion
Topic: My model's Kuroshio is gone
Replies: 7
Views: 22583

Re: My model's Kuroshio is gone

Dear jcwarner, thank you very much for your advice. I will go back and try to modify the relevant parameters.
My initial file contains current, all from hycom
by tao
Mon Dec 09, 2024 2:50 am
Forum: ROMS Discussion
Topic: My model's Kuroshio is gone
Replies: 7
Views: 22583

Re: My model's Kuroshio is gone

Many days passed, but I still couldn't solve the problem, and Kuroshio still didn't show up in my model.
I tried to modify the relevant parameters of obcfac and TNUDG, changing obcfac to 10 and the latter to 3 days, but the result was even worse, there was a strong southward flow field on the ...
by tao
Sun Dec 01, 2024 8:52 am
Forum: ROMS Discussion
Topic: My model's Kuroshio is gone
Replies: 7
Views: 22583

My model's Kuroshio is gone

After three months of operation, my model had this problem. As shown in the picture, it lacked the Kuroshio flow from Taiwan Island to the Philippines, which caused a large amount of warm current to flow into the southern waters of Indo-China Peninsula. I want to know how to solve this problem ...
by tao
Thu Nov 28, 2024 6:53 am
Forum: ROMS Discussion
Topic: The tide level of my model does not match TPXO9
Replies: 1
Views: 12338

The tide level of my model does not match TPXO9

I used the data from TPXO9 to generate a tidal forcing file. I defined the following cpp option and ran it for 90 days. There is a big deviation between the tidal level change of the site and the forecast data of TPXO9. Could someone please help me find out what the problem is? Appreciate any ...
by tao
Thu Nov 28, 2024 6:45 am
Forum: ROMS Discussion
Topic: About the component tides of the output file
Replies: 2
Views: 12598

Re: About the component tides of the output file


Hello. I've never used this module before, so I don't know what kind of variables are saved as output. But if the output file gives information enough, you can apply a simple harmonic analysis. Some good packages in Matlab and python were developed to make harmonic analyses and even predictions ...
by tao
Wed Nov 27, 2024 1:50 am
Forum: ROMS Discussion
Topic: Error in simulation and results Request help
Replies: 0
Views: 13086

Error in simulation and results Request help

Hi everyone, I ran my model and compared the resulting temperature and salinity to the HYCOM data and found that the deviation was increasing over time. I don't know how to solve this problem :( , here are my cpp options, with my script file attached.

Appreciate any suggestions

#define PERFECT ...
by tao
Sun Nov 03, 2024 10:27 am
Forum: ROMS Discussion
Topic: About the component tides of the output file
Replies: 2
Views: 12598

About the component tides of the output file

Hello, everyone. I have a problem. I use AVERAGES DETIDE to obtain simulated tidal data. Now I generate roms_his and roms_har files, but I don't know how to obtain the amplitude and phase of each component tide :cry: . Is there any tool that can help me?
thanks for any suggest.