[MITgcm-devel] testreport

Jean-Michel Campin jmc at ocean.mit.edu
Wed Dec 8 09:46:06 EST 2004


Hi Martin,

>     abave = 0.5*(fabs(a)+fabs(b));
>     if (abave > 0.0) {
>        SOME CODE
>     }
>     else {
>       best = -22;
>     }
>    if (best == -16 && abave != 0)  best = -23; or some other flag that
> tells us that something goes wrong.

My impression is that your suggestion will not work:
if I have 10 iterations to compare, and a double zero in the last position,
it will give me -22 whatever the first 9 records are.

Jean-Michel



More information about the MITgcm-devel mailing list