<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black">Firstly do you require output to shapefile?<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Calibri&quot;,sans-serif;color:black">Your script is set to output to a shapefile called “river_basin” but then tries to plot a field called “river_basin” and then overlay a shapefile called
 “river_basin”</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org]
<b>On Behalf Of </b>rogert sori gomez<br>
<b>Sent:</b> 17 June 2015 20:32<br>
<b>To:</b> gradsusr@gradsusr.org<br>
<b>Subject:</b> [gradsusr] plot the global mask &#43; a shp of a country or as netcdf &#43; a meteorological field<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black">Hello,&nbsp;<o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black">&nbsp;I am trying to make a global plot of precipitation and I did it, but also I will like to remark an area delimited in Africa, I have this area in format
 netcdf (lon lat) and .shp. When I tried to plot the global mask and the netcdf of the area inside africa was impossible, and also tried with the shapefile but when I run the script, just tell me: unable to allocate shp file !!!&nbsp;<o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black">'set shp&nbsp;</span><i id="yui_3_16_0_1_1434558018574_2940"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:black">G:\river_basin.shp'</span></i><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><i><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:black">'set shpopts 54029' &nbsp;</span></i><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><i><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:black">'set gxout shp'</span></i><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><i><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:black">'d river_basin'</span></i><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><i><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:black;background:#E0F0FF">'</span></i><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:black;background:#E0F0FF">draw shp&nbsp;</span><i id="yui_3_16_0_1_1434558018574_2940"><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:black">G:\river_basin.shp'</span></i><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><i><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:black;background:#E0F0FF">I will appreciate an advice, Thanks.&nbsp;</span></i><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><i><span style="font-size:13.5pt;font-family:&quot;Courier New&quot;;color:black;background:#E0F0FF">Rog</span></i><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div id="yui_3_16_0_1_1434558018574_2775">
<p class="MsoNormal" style="background:white"><span style="font-family:&quot;Helvetica&quot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
</div>
</body>
</html>