Question about floats

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
Markberg
Posts: 5
Joined: Thu Jan 04, 2024 3:34 am
Location: East China Sea Bureau, Ministry of Natural Resourc

Question about floats

#1 Unread post by Markberg »

Hello everyone, I'm currently working with the float module, and after completing my calculations, I found that all values in my 'roms_flt.nc' file are NaN. Could anyone help me identify where the issue might be?
Attachments
floats.in
(10.78 KiB) Downloaded 166 times
roms_yellowsea.in
(142.42 KiB) Downloaded 141 times
roms_flt.nc
(93.48 KiB) Downloaded 166 times

User avatar
wilkin
Posts: 922
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: Question about floats

#2 Unread post by wilkin »

Is your initial sea level (zeta) less than -0.1 at the start. If so, Fz0 = -0.1 could be out of physical range.

If sea level is OK, I suggest experimenting with release locations in grid units instead of lon/lat.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Markberg
Posts: 5
Joined: Thu Jan 04, 2024 3:34 am
Location: East China Sea Bureau, Ministry of Natural Resourc

Re: Question about floats

#3 Unread post by Markberg »

wilkin wrote: Tue Apr 09, 2024 5:54 pm Is your initial sea level (zeta) less than -0.1 at the start. If so, Fz0 = -0.1 could be out of physical range.

If sea level is OK, I suggest experimenting with release locations in grid units instead of lon/lat.
Thank you wilkin, i changed Fz0 and problem figured out.

Post Reply