<div dir="ltr">The below written code has some issue, when I run it, all the values of the variable yPlot are set to _FillValue. Pls Help. Below is the link to the netcdf file used in the code.<br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/19Y0ExP6oDb_kT8wx-tqbPvUxGB7st7ma/view?usp=drive_web" target="_blank" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%"><img style="vertical-align: bottom; border: none;" src="https://drive-thirdparty.googleusercontent.com/16/type/application/x-netcdf"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">olr.day.mean.nc</span></a></div><br><div><br></div><div><br><div><br><div><br></div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"<br><br><br>diri = "/home/mvaze123/OLRDATA"<br>fi = "/<a href="http://olr.day.mean.nc">olr.day.mean.nc</a>"<br>f = addfile(diri+fi,"r")<br>olr = f->olr<br>olr := olr(1675:16649,:,:) ;missing data till 1675th index, hence discarded<br>;printVarSummary(olr)<br>i = 0<br>j = 0<br>val = 0<br><br>ihp = 1<br>sigma = 1.0<br>nWgt = 49<br>fca = 1./121.<br>wgt = filwgts_lanczos(nWgt,ihp,fca,-999.,sigma)<br>yPlot = new((/14975,73,144/),"float")<br><br><br>do while (i .le. 72)<br><br>do while(j .le. 143)<br>val := wgt_runave(olr(:,i,j),wgt,0) <br>yPlot(:,i,j) = val<br>j= j+1<br>end do<br><br>i = i+1<br>end do<br></div></div></div></div>