本文整理汇总了Python中HelperFunctions.check_field_properties方法的典型用法代码示例。如果您正苦于以下问题:Python HelperFunctions.check_field_properties方法的具体用法?Python HelperFunctions.check_field_properties怎么用?Python HelperFunctions.check_field_properties使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HelperFunctions
的用法示例。
在下文中一共展示了HelperFunctions.check_field_properties方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: len
# 需要导入模块: import HelperFunctions [as 别名]
# 或者: from HelperFunctions import check_field_properties [as 别名]
# change if the input fc has a join
pInFields = HF.pGP.ListFields(inputs.sInputFC)
pOutFields = HF.pGP.ListFields(inputs.sOutputFC)
pInField = pInFields.next()
pOutField = pOutFields.next()
while pInField:
sName = (pInField.Name).upper()
if sName == inputs.sZField:
inputs.sZField = (pOutField.Name).upper()
pInField = pInFields.next()
pOutField = pOutFields.next()
#Get and check feature class information: fields, shapefile, etc.
properties = HF.get_featureclass_properties(inputs.sOutputFC)
HF.check_field_properties(inputs, properties)
HF.check_numeric_properties(inputs)
# Get X, Y and Z values.
keys,zDict,zSumG,z2SumG = build_value_lists()
#Read GAL File
w = GR.galReader(inputs.bWtsFile,firstIndex=1)
if len(keys) <> len(w):
HF.pGP.AddWarning("Error: Length of data vector and weights matrix do not match")
# Calculate the AMOEBA Clusters.
clusterHighList = []