Negative nitrate concentrations

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
LauraB
Posts: 23
Joined: Mon Jul 30, 2007 9:13 pm
Location: Dalhousie University
Contact:

Negative nitrate concentrations

#1 Unread post by LauraB »

Hi all,

In my NO3 output I get values very close to zero but negative (~ -10^-7). I added a couple of lines in Fasham.h, so it would tell me when NO3 is zero or less. The funny thing is that it only finds zeros... but I keep getting small negative numbers in my nc file.

Can there be a rounding problem or similar when writing into nc files?
Any suggestion will be appreciated!

Laura

User avatar
arango
Site Admin
Posts: 1361
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

#2 Unread post by arango »

Try using monotonic advection of tracer. Activate TS_MPDATA CPP option. This advection scheme will insure a positive definite scheme. Of course, some times this depends on roundoff.

ROMS output can be set to double precision by activating OUT_DOUBLE. This will generate larger files.

Post Reply