find
- find(fs, value[, area_or_mask])
- find(fs, range[, area_or_mask])
Returns a list of locations (lat/lon pairs) where the values of
fsequal to or within the range ofvalue_or_range.- Parameters
- Return type
list of lists
The primary search condition is defined by
valueorrange:if
valueis specified the locations wherefsequals to this number are returnedif
rangeis specified as a list of [v1, v2] the locations wherefsvalues are within the closed range of [v1, v2] are returned
The optional
area_or_maskargument can pose an additional search condition:if
area_or_maskis a list of four numbers it defines the area as [North,West,South,East] for the searchif
area_or_maskis aFieldsetwith one field it defines a mask for the search, e.i. only those gridpoints are checked where the mask value is non-zero.
Missing values in
fsare not returned.