ncss-tech / NASIS-Pedons

This repository contains ArcGIS Tools that query soil pedons from the National Soils Information System (NASIS) and compiles a spatial dataset from them.
1 stars 1 forks source link

Error in: site table #11

Open ajdiazdk opened 4 years ago

ajdiazdk commented 4 years ago

Error in: site table

Record Values: ['S1999AK180002', '64', '54', '27.00', 'North', '163', '40', '24.50', 'West', None, None, None, None, None, None, None, None, None, None, 'Estimated from other source', None, 'Side Slope', None, None, None, 'Toeslope', None, '6.0', '90', None, None, 'Convex', 'Convex', None, None, None, None, 'Very poorly drained', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, '0', None, None, None, None, None, None, None, '64.9075012', '-163.6734772', None, None, None, '36871', '108720']

  File "D:\ESRI_stuff\python_scripts\GitHub\NASIS-Pedons\NASIS_Pedons.tbx#ExtractPedonsfromNASISbyTextFile-Manual.py", line 1321, in importPedonData

RuntimeError: The value type is incompatible with the field type. [sdbiidref]
ajdiazdk commented 4 years ago

sdbiidref field is set to short integer which can only store values within the range of -32,768 to 32,767. Therefore, you cannot store a value greater than 32,767 or less than -32,768.

The sdbiidref value will be set to long integer