<div dir="ltr"><div><div>GrADS users,<br><br></div>I am using 1 degree gridded GLDAS data along with 1 degree land and ocean masks to output variables such as precipitation and ET. GLDAS only displays land data, but when I apply an ocean mask (for example, the South Pacific) and use the 'maskout' function, I get data values for the ocean.<br><br></div><div>Here is the code I am using: <br><br>'sdfopen /data2/control/<a href="http://GLDAS_NOAH10_M.020.ctl_1Deg_RainfallRateSfc.rmp.nc">GLDAS_NOAH10_M.020.ctl_1Deg_RainfallRateSfc.rmp.nc</a>'<br></div><div>'set t 265'<br>'open /data2/control/Region10_SPC_mask_MERRA2.nc' <br>'d aave(maskout(rainfsfc.1*86400,lterp(mask.2(time=00Z01JAN1980),rainfsfc.1)),lon=-179.5,lon=179.5,lat=-89.5,lat=89.5)' <br><br></div><div>This code outputs a value for the southern pacific ocean despite GLDAS only containing land data. So, this code should be outputting an undefined value rather than actual data. I am using lterp to interpolate any missing land grid points...but even without using lterp I have the same issue. How could I go about getting this sea mask to output the undefined value that I expect?<br><br></div><div>-Justin<br></div><div><br></div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px"><span style="font-size:10pt;font-family:"Times New Roman",serif;background-image:initial;background-repeat:initial"><font color="#000000"><b>Justin Hicks</b></font></span></span><br></div><div><i style="font-size:12.8px"><span style="font-size:10pt;font-family:"Times New Roman",serif;background-image:initial;background-repeat:initial"><font color="#000000">Undergraduate<br>Atmospheric Sciences Major</font></span></i></div><div><i style="font-size:12.8px"><span style="font-size:10pt;font-family:"Times New Roman",serif;background-image:initial;background-repeat:initial"><font color="#000000">GIS Minor<br>University of Maryland-College Park</font></span></i><font size="2" face="arial, helvetica, sans-serif" color="#000000"><b><br></b></font></div></div></div></div></div>
</div></div></div></div>