<div dir="ltr"><span style="font-size:12.8px">GrADS users,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I previously used GLDAS files and mask files to calculate monthly area averages. However, I am trying to get MERRA2 data to work with the masks now. I keep getting an error saying: </div><div style="font-size:12.8px"><br></div><div><span style="font-size:12.8px">ga-&gt; run EXAMPLE_MASK_SCRIPT</span><br></div><div style="font-size:12.8px"><div style="font-size:12.8px">Error in gagchk: axis sizes are not the same</div><div style="font-size:12.8px">Operation error:  Incompatable grids </div><div style="font-size:12.8px">  Dimension = 0</div><div style="font-size:12.8px">  1st grid range = -179 181   2nd = 1 360 </div><div style="font-size:12.8px">Operation Error:  Error from maskout function</div><div style="font-size:12.8px">Operation Error:  Error from aave function</div><div style="font-size:12.8px">  Error ocurred at column 1</div><div style="font-size:12.8px">DISPLAY error:  Invalid expression </div><div style="font-size:12.8px">  Expression = aave(maskout(prectot.2,mask.1(time=00:30z01feb1980)),lon=-179.5,lon=179.5,lat=-89.5,lat=89.5)</div><div><br></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I tried to fix x and y grid points using the following command, but it did not work:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">aave(maskout(prectot.2<font color="#ff0000">(x=1,y=1)</font>,mask.1(<font color="#ff0000">x=1,y=1</font>,time=00:30z01feb1980)),lon=-179.5,lon=179.5,lat=-89.5,lat=89.5)</span> </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The result of &#39;q dims&#39; of the mask file is:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>Default file number is: 1 </div><div>X is fixed     Lon = 0  X = 180.5</div><div>Y is fixed     Lat = -90  Y = 0.5</div><div>Z is fixed     Lev = 0  Z = 1</div><div>T is fixed     Time = 00:30Z01DEC1991  T = 143</div><div>E is fixed     Ens = 1  E = 1</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The result of &#39;q dims&#39; of the MERRA2 file is: </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>Default file number is: 2 </div><div>X is fixed     Lon = 0  X = 1</div><div>Y is fixed     Lat = -90  Y = 1</div><div>Z is fixed     Lev = 0  Z = 1</div><div>T is fixed     Time = 00:30Z01DEC1991  T = 143</div><div>E is fixed     Ens = 1  E = 1</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">How can I get the x and y grid points to match up? I&#39;m not even sure if this is the issue, as the GLDAS and mask files didn&#39;t have matching x and y grid points, yet they still worked. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">-Justin</div><div class="" style="margin:2px 0px 0px;font-size:12.8px"><div id=":1n4" class="" tabindex="0"><img class="" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div></div>