<div dir="ltr"><div dir="ltr">Dear NCL community,</div><div dir="ltr"><br><div><div>As indicated in the subject line of this mail, I have a problem to create a gridded netcdf file containing constant values for different regions of the globe, using world administrative boundaries shapefile as a mask.</div><div>My code seems to be working for one region. But when I try to loop through multiple regions, the result is not what I expected. Please find attached my code, the obtained plot and a sample of my data.</div><div><br></div><div>I would appreciate it if you would check to see what I have done wrong. </div></div><div><br></div><div>Sincerely,</div>-- <br><div dir="ltr" class="gmail_signature">Thierry</div></div></div>