<div dir="ltr"><div class="gmail_default" style="font-size:small">Soares,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The problem is simply that are you are trying to look for cities called &quot;Dili&quot; and &quot;Hera&quot; in the TLS_adm2.shp file, but these names don&#39;t appear in the NAME_2 variable.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This is why Dennis and I were trying to tell you that &quot;print&quot; and &quot;printVarSummary&quot; can be very helpful.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you print the &quot;citiesShapes-&gt;NAME_2&quot; variable with:</div><div class="gmail_default" style="">







<p class="" style="font-size:small">print(citiesShapes<span class="">-&gt;</span>NAME_2)</p><p class="" style="font-size:small">You would see that neither &quot;Dili&quot; or &quot;Hera&quot; are in the file, but &quot;Dili Barat&quot; and &quot;Dili Timur&quot; are.</p><p class="" style="font-size:small">You will need to adjust your code to look for the correct names of the cities.  This is where &quot;ncl_filedump&quot; can help you.</p><p class="" style="font-size:small">You can examine the contents of the TLS_adm2.shp shapefile from the UNIX command line with:</p><p class="" style="font-size:small">ncl_filedump TLS_adm2.shp</p><p class="" style="font-size:small">You will then see the following variables of type &quot;string&quot;:</p><p class="">      string ISO ( num_features )</p><p class="">      string NAME_0 ( num_features )</p><p class="">      string NAME_1 ( num_features )</p><p class="">      string NAME_2 ( num_features )</p><p class="">      string HASC_2 ( num_features )</p><p class="">      string CCA_2 ( num_features )</p><p class="">      string TYPE_2 ( num_features )</p><p class="">      string ENGTYPE_2 ( num_features )</p><p class="">      string NL_NAME_2 ( num_features )</p><p class="">      string VARNAME_2 ( num_features )</p><p class="">You can now examine the contents of each of these variables, also using ncl_filedump:</p><p class="">ncl_filedump -v NAME_2 TLS_adm2.shp<br>ncl_filedump -v ENGTYPE_2 TLS_adm2.shp<br>ncl_filedump -v VARNAME_2 TLS_adm2.shp</p><div>etc.</div><p class="">This will help you see which variables on the shapefile might be the most useful to you, and then the exact city name to search for. You can then make this change in your shapefiles_5.ncl script.</p><p class="">--Mary</p><p class=""><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 24, 2016 at 2:36 AM, isakhar sakhar isakhar <span dir="ltr">&lt;<a href="mailto:isakhar.inside13@gmail.com" target="_blank">isakhar.inside13@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear Mrs.Mary<br><br></div>I could not put my files into ftp server of NCL, so I share it with dropbox. <br><br><div><div><br><a href="https://www.dropbox.com/s/iie1snwo2m663dn/soares.tar.gz?dl=0" target="_blank">https://www.dropbox.com/s/iie1snwo2m663dn/soares.tar.gz?dl=0</a><br><div class="gmail_extra"><br><br></div><div class="gmail_extra">Thank you,<br></div><div class="gmail_extra">Soares<br></div><div class="gmail_extra"><br><br></div></div></div></div>
</blockquote></div><br></div>