<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Rick,<div class=""><br class=""></div><div class="">thanks for the very quick reply.</div><div class="">The shape file is too big to be sent by email but you can download it from GADM</div><div class=""><a href="http://www.gadm.org/country" class="">http://www.gadm.org/country</a> (select shapefile as file format).</div><div class="">I know this is a problem for France_adm2.shp</div><div class="">Thanks</div><div class="">Fabien</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 25, 2017, at 6:03 PM, Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" class="">brownrig@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">Hi Fabien,<br class=""><br class=""></div>This is a bit odd. Out of a collection of about a dozen shapefiles I had on hand, none of them displayed the issue for an integer field. However, I found one instance where a double field shows up as type "none" on 6.4.0, and is thus unreadable, yet is fine under 6.3.0. I will look into it right away. I don't suppose you could send me your shapefile as an additional test case?<br class=""><br class=""></div>Rick<br class=""><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Apr 25, 2017 at 3:00 PM, Fabien Paulot - NOAA Affiliate <span dir="ltr" class=""><<a href="mailto:fabien.paulot@noaa.gov" target="_blank" class="">fabien.paulot@noaa.gov</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class="">Hello,<br class=""><br class=""></div>it seems integers are not properly recognized in ncl 6.4.0 and cannot be read.<br class=""></div>This used to work fine<br class=""><br class=""></div>Here is the output of ncl_filedump on the same shapefile with these two versions. Note how the ID_1 and ID_2 field change<br class=""><br class=""></div><div class="">Any idea what's going on.<br class=""><br class=""></div><div class="">Thanks a lot <br class=""></div><div class="">Fabien<br class=""></div><div class=""><br class=""></div>ncl_filedump /archive/Fabien.Paulot/DATA/<wbr class="">Shapefiles/France/FRA_adm2.<wbr class="">shp <wbr class=""> <wbr class=""> <wbr class=""> <wbr class=""> Copyright (C) 1995-2015 - All Rights Reserved<br class=""> University Corporation for Atmospheric Research<br class=""> NCAR Command Language Version 6.3.0<br class=""> The use of this software is governed by a License Agreement.<br class=""> See <a href="http://www.ncl.ucar.edu/" target="_blank" class="">http://www.ncl.ucar.edu/</a> for more details.<br class=""><br class="">Variable: f<br class="">Type: file<br class="">filename: FRA_adm2<br class="">path: /archive/Fabien.Paulot/DATA/<wbr class="">Shapefiles/France/FRA_adm2.shp<br class=""> file global attributes:<br class=""> layer_name : FRA_adm2<br class=""> geometry_type : polygon<br class=""> geom_segIndex : 0<br class=""> geom_numSegs : 1<br class=""> segs_xyzIndex : 0<br class=""> segs_numPnts : 1<br class=""> dimensions:<br class=""> geometry = 2<br class=""> segments = 2<br class=""> num_features = 96 // unlimited<br class=""> num_segments = 477<br class=""> num_points = 248568<br class=""> variables:<br class=""> integer geometry ( num_features, geometry )<br class=""><br class=""> integer segments ( num_segments, segments )<br class=""><br class=""> double x ( num_points )<br class=""><br class=""> double y ( num_points )<br class=""><br class=""> integer ID_0 ( num_features )<br class=""><br class=""> string ISO ( num_features )<br class=""><br class=""> string NAME_0 ( num_features )<br class=""><br class=""> integer ID_1 ( num_features )<br class=""><br class=""> string NAME_1 ( num_features )<br class=""><br class=""> integer ID_2 ( num_features )<br class=""><br class=""> string NAME_2 ( num_features )<br class=""><br class=""> string HASC_2 ( num_features )<br class=""><br class=""> integer CCN_2 ( num_features )<br class=""><br class=""> string CCA_2 ( num_features )<br class=""><br class=""> string TYPE_2 ( num_features )<br class=""><br class=""> string ENGTYPE_2 ( num_features )<br class=""><br class=""> string NL_NAME_2 ( num_features )<br class=""><br class=""> string VARNAME_2 ( num_features )<br class=""><br class=""><br class=""> Copyright (C) 1995-2017 - All Rights Reserved<br class=""> University Corporation for Atmospheric Research<br class=""> NCAR Command Language Version 6.4.0<br class=""> The use of this software is governed by a License Agreement.<br class=""> See <a href="http://www.ncl.ucar.edu/" target="_blank" class="">http://www.ncl.ucar.edu/</a> for more details.<br class=""><br class="">Variable: f<br class="">Type: file<br class="">filename: FRA_adm2<br class="">path: /archive/Fabien.Paulot/DATA/<wbr class="">Shapefiles/France/FRA_adm2.shp<br class=""> file global attributes:<br class=""> layer_name : FRA_adm2<br class=""> geometry_type : polygon<br class=""> geom_segIndex : 0<br class=""> geom_numSegs : 1<br class=""> segs_xyzIndex : 0<br class=""> segs_numPnts : 1<br class=""> dimensions:<br class=""> geometry = 2<br class=""> segments = 2<br class=""> num_features = 96 // unlimited<br class=""> num_segments = 477<br class=""> num_points = 248568<br class=""> variables:<br class=""> integer geometry ( num_features, geometry )<br class=""><br class=""> integer segments ( num_segments, segments )<br class=""><br class=""> double x ( num_points )<br class=""><br class=""> double y ( num_points )<br class=""><br class=""> none ID_0 ( num_features )<br class=""><br class=""> string ISO ( num_features )<br class=""><br class=""> string NAME_0 ( num_features )<br class=""><br class=""> none ID_1 ( num_features )<br class=""><br class=""> string NAME_1 ( num_features )<br class=""><br class=""> none ID_2 ( num_features )<br class=""><br class=""> string NAME_2 ( num_features )<br class=""><br class=""> string HASC_2 ( num_features )<br class=""><br class=""> none CCN_2 ( num_features )<br class=""><br class=""> string CCA_2 ( num_features )<br class=""><br class=""> string TYPE_2 ( num_features )<br class=""><br class=""> string ENGTYPE_2 ( num_features )<br class=""><br class=""> string NL_NAME_2 ( num_features )<br class=""><br class=""> string VARNAME_2 ( num_features )<br class=""></div>
<br class="">______________________________<wbr class="">_________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/<wbr class="">mailman/listinfo/ncl-talk</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>