when I modified the code in basemodel.py, it can run normally. Is it correct?
# before modification
if len(lonpoints) < number:
# If number of positions is smaller than requested,
# we duplicate the first ones
missing = number - len(lonpoints)
lonpoints = np.append(lonpoints, lonpoints[0:missing])
latpoints = np.append(latpoints, latpoints[0:missing])
# ---------------------------------------------------------------------
# after modification
while True:
if len(lonpoints) < number:
# If number of positions is smaller than requested,
# we duplicate the first ones
missing = number - len(lonpoints)
lonpoints = np.append(lonpoints, lonpoints[0:missing])
latpoints = np.append(latpoints, latpoints[0:missing])
else:
break
when I run the code below, some errors occur. Are there any limitations to seed in the polygon?
when I modified the code in basemodel.py, it can run normally. Is it correct?