I am trying to find values below 200 in a 569x462 ndarray I read in from a text file. I want to use numpy.where to find the values... I've tried the following code:
import numpy as np
#Load in text file from Sebago
sebago=np.loadtxt('sebagoWatershedElv.txt',skiprows=6)
#Find where elevation is less than 200
lowElv=np.where(sebago[:]<200)
But the output shows values less than 200, and some values that are greater than 200...
Aucun commentaire:
Enregistrer un commentaire