<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Vanúcia,</div><div dir="ltr"><br></div><div>Your two data files are on different grids.  If you only need to make plots that show the same region on a map, then use graphics masking, not data masking.  See the third plot in example shapefiles_21 on this page:</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Applications/shapefiles.shtml">https://www.ncl.ucar.edu/Applications/shapefiles.shtml</a><br></div><div><br></div><div>If you need to perform calculations between the two data sets, then you will need to regrid the data from one file to match the other grid.  Please see this documentation for regridding:</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Applications/regrid.shtml">https://www.ncl.ucar.edu/Applications/regrid.shtml</a><br></div><div><a href="https://www.ncl.ucar.edu/Applications/ESMF.shtml">https://www.ncl.ucar.edu/Applications/ESMF.shtml</a><br></div><div><br></div><div>--Dave</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 27, 2019 at 12:40 PM Vanúcia Schumacher <<a href="mailto:vanucia-schumacher@hotmail.com">vanucia-schumacher@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:14pt;color:rgb(0,0,0)">
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont;background-color:rgb(255,255,255)">
Hi all,</div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont;background-color:rgb(255,255,255)">
<br>
</div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont;background-color:rgb(255,255,255)">
I need support to find the problem with my script, <span style="margin:0px">with the purpose of cutting two different data in a shapefile, </span><span style="margin:0px">but keeping the information such as time lat and<span> </span></span>lon.</div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont;background-color:rgb(255,255,255)">
My script (attachment) is "cutting" the region from shapefile different for each input (data) (see Figure attachment).<br>
</div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont;background-color:rgb(255,255,255)">
I'd like to select the shapefile region of the same size independent of the input file, and keep the time, lat, and lon information.<br>
</div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont;background-color:rgb(255,255,255)">
<br>
</div>
<div style="margin:0px;font-size:14pt;font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont;background-color:rgb(255,255,255)">
I appreciate any help</div></div></div>
</blockquote></div></div></div></div></div>