[ncl-talk] Issue with reading shapefiles (NCL 6.4.0 only)
Fabien Paulot - NOAA Affiliate
fabien.paulot at noaa.gov
Tue Apr 25 15:00:33 MDT 2017
Hello,
it seems integers are not properly recognized in ncl 6.4.0 and cannot be
read.
This used to work fine
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
Any idea what's going on.
Thanks a lot
Fabien
ncl_filedump
/archive/Fabien.Paulot/DATA/Shapefiles/France/FRA_adm2.shp
Copyright (C) 1995-2015 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.3.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
Variable: f
Type: file
filename: FRA_adm2
path: /archive/Fabien.Paulot/DATA/Shapefiles/France/FRA_adm2.shp
file global attributes:
layer_name : FRA_adm2
geometry_type : polygon
geom_segIndex : 0
geom_numSegs : 1
segs_xyzIndex : 0
segs_numPnts : 1
dimensions:
geometry = 2
segments = 2
num_features = 96 // unlimited
num_segments = 477
num_points = 248568
variables:
integer geometry ( num_features, geometry )
integer segments ( num_segments, segments )
double x ( num_points )
double y ( num_points )
integer ID_0 ( num_features )
string ISO ( num_features )
string NAME_0 ( num_features )
integer ID_1 ( num_features )
string NAME_1 ( num_features )
integer ID_2 ( num_features )
string NAME_2 ( num_features )
string HASC_2 ( num_features )
integer CCN_2 ( num_features )
string CCA_2 ( num_features )
string TYPE_2 ( num_features )
string ENGTYPE_2 ( num_features )
string NL_NAME_2 ( num_features )
string VARNAME_2 ( num_features )
Copyright (C) 1995-2017 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.4.0
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
Variable: f
Type: file
filename: FRA_adm2
path: /archive/Fabien.Paulot/DATA/Shapefiles/France/FRA_adm2.shp
file global attributes:
layer_name : FRA_adm2
geometry_type : polygon
geom_segIndex : 0
geom_numSegs : 1
segs_xyzIndex : 0
segs_numPnts : 1
dimensions:
geometry = 2
segments = 2
num_features = 96 // unlimited
num_segments = 477
num_points = 248568
variables:
integer geometry ( num_features, geometry )
integer segments ( num_segments, segments )
double x ( num_points )
double y ( num_points )
none ID_0 ( num_features )
string ISO ( num_features )
string NAME_0 ( num_features )
none ID_1 ( num_features )
string NAME_1 ( num_features )
none ID_2 ( num_features )
string NAME_2 ( num_features )
string HASC_2 ( num_features )
none CCN_2 ( num_features )
string CCA_2 ( num_features )
string TYPE_2 ( num_features )
string ENGTYPE_2 ( num_features )
string NL_NAME_2 ( num_features )
string VARNAME_2 ( num_features )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170425/7dfe82ad/attachment.html
More information about the ncl-talk
mailing list