<div dir="ltr"><div><div><div><div><div><div>Dear NCL ,<br><br></div>I have written a code to write to convert 365 days into 52 weeks avg.<br></div>I am facing error regarding missing value. I have written statements which have substituted missing value as -9999.0<br></div>Yet it gives the maximum value as 9.96921e+36 and when I write to substitute that with -9999.0, it gives maximum value as 9.969222e+36.<br></div>Here is the snippet of my code. I am very confused about this. It will be great if somebody could help me<br><br>set_default_fillvalue(&quot;float&quot;, -9999.0)<br><br>pweek=new((/47,52/),&quot;float&quot;)<br> <br>  <br>do i=0,47-1<br>do j=0,357,7<br><br>pweek(i,j/7)=avg(x364(i,j:j+6))<br><br>;  end if<br>end do<br>end do<br><br><br>do i=0,47-1<br>do j=0,51<br>print(i)<br>print(j)<br>if (pweek(i,j).eq.9.92226ee+36)then<br>pweek(i,j)=9999.0<br>end if<br>end do<br>end do<br><br>printMinMax(pweek, 0)<br><br></div>Thank You<br>Best Regards<br></div>Ipshita<br><div><div><div><br></div></div></div></div>