I have successfully found where our code is trying to access a NaN, using full checking. However, now I know it is there I will fix it later, so what I want to do is move around it to find the next error. So I put in the following code:
tables_mlf(i,nzone,temp_loc) = 0.0
tables_mlf(i,nzone,temp_loc) = tables_pl(i)
However, I still get a floating point exception trying to access the NaN, but now on the if statement. Why can't the isnan test just return a .true., execute the next line and carry on to the next problem?