RBTDevelopmentGroup / rivertools

scripts for generating GIS layers that represent rivers
GNU General Public License v3.0
4 stars 0 forks source link

CrossSections: Some XS Objects are 'None #9

Closed MattReimer closed 7 years ago

MattReimer commented 7 years ago
      StackTrace:
      ------------------------
        /Users/work/Projects/CHaMP/CHaMP_Metrics/validation.py METHOD:runCrossSections, LINE: 414  --> crosssections.crosssections(args)
        /Users/work/Projects/CHaMP/rivertools/rivertools/crosssections.py METHOD:crosssections, LINE: 114  --> xsValueValidate(linexs)
        /Users/work/Projects/CHaMP/rivertools/rivertools/crosssections.py METHOD:xsValueValidate, LINE: 287  --> lengths = [xs.geometry.length for xs in linexs]

Two things:

  1. Make sure this is handled
  2. Figure out why some XS lengths are None.