out3Plot.outContours.readShpLines

readShpLines(shpData, layerName='name')[source]

derive a dict with x, y coordinates for each contourline according to given contour lines dependent on contLine name format here used resType_unit_level (for example: pft_m_1.0)

Parameters
  • shpData (dict) – shp file data extracted with SHP2Array

  • layerName (str) – name that is used to name contourline and to identify lines in shpData

Returns

contourDict – contour line dictionary with name and in dict x, y coordinates

Return type

dict