[ncl-talk] Help in reading a shapefile non-spatial attribute with NCL

Orestis Speyer ospeyer at meteo.noa.gr
Fri Apr 12 08:58:57 MDT 2019


Hi everyone,

 

I want to extract an attribute (as defined in the gis world) from a
shapefile to use it for subsequent calculations.

This attribute is non-spatial and it is named AREA_KM2.

When I use the standard NCL syntax for variables, i.e. 

 

surface = f->AREA_KM2

I get

variable (AREA_KM2) is not in file (f)

 

Is the shapefile non-spatial attribute treated differently?

I am looking at the NCL examples but I could use some help.

 

Cheers to all,

Orestis Speyer

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190412/f923454e/attachment.html>


More information about the ncl-talk mailing list