-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update how grid location of MARBL error is reported to GCM #99
Comments
On the MARBL side, we should set Also on the MARBL side,
So we need to add (or remove) |
Note that we also need POP's |
I have a MARBL branch that takes care of the issues in my second comment ('lall_tasks' => 'lonly_master_writes' and setting 'ElementInd = -1'); working on the POP modifications following a conversation with @klindsay28 We are going to store |
I have a first pass at improved logging; changing the width of the bounding bracket to force a failure in
From the first iteration and
After exceeding max iterations. The log also contains the trace, pointing out that this was in surface computations (otherwise
I updated the algorithm so that if multiple points fail to converge they all get logged (previously, the model aborted after the first failure was detected). Thoughts on this formatting? I'm tempted to remove some of the
lines for easier reading. So maybe something like
instead of the second block? And while I'm in this block of code, changing the
|
Currently
marbl_set_surface_forcing
is called for multiple grid cells ("elements") simultaneously, and if MARBL errors out it reports which grid cell in the error log... but there is no way for the driver to turn this value into a global latitude & longitude (or global indices). @klindsay28 pointed out an issue in the POP driver that we were not checking for errors afterset_interior_forcing()
returns; ideally the solution to this issue would be an update tomarbl_logging_type
in a fashion that could be used by both the surface and interior forcing routines (especially if we settle #81 by deciding to pass multiple elements toset_interior_forcing
)The text was updated successfully, but these errors were encountered: