<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e">Hi</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e">I have a script wherein I read-in some data from an ascii file and then mask it on the basis of a shapefile by calling the script "shapefile_mask_data.ncl" within my script. My data has approximately 530x980 data points.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e">Currently it takes around 2 hrs 10 minutes to finish the job. I have to repeat this process several times. In future I may have to even do this masking within a loop, which will make it impractical due to its inefficiency.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e">Is there a way to speed up this process?</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e">Thanks in advance!</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#45818e"><br></div><div><div dir="ltr"><font face="trebuchet ms, sans-serif" color="#3d85c6">Tabish U Ansari</font><div><font face="trebuchet ms, sans-serif" color="#3d85c6">MS Research Scholar<br>Environmental & Water Resources Engineering Division</font></div><div><font face="trebuchet ms, sans-serif" color="#3d85c6">Department of Civil Engineering</font></div><div><font face="trebuchet ms, sans-serif" color="#3d85c6">IIT Madras</font></div></div></div>
</div>