NCL Website header

Array query

all Returns True if all the elements of the input evaluate as True.
any Returns True if any of the values of its input evaluate as True.
cla_sq Create a string that uses single quotes (sq) to enclose command line assignment statements (CLAs) for later use by NCL's system procedure.
closest_val Finds the index value in a monotonically increasing one-dimensional array closest to a desired value.
count_unique_values Counts the number of unique values in the given array.
count_unique_values_n Counts the number of unique values in the given array, across the given dimension.
dim_maxind Returns the index of the first occurrence of a maximum value within the specified dimension.
dim_minind Returns the index of the first occurrence of a minimum value within the specified dimension.
dimsizes Returns the dimension sizes of the input variable.
get_unique_values Returns the unique values of the given array.
getind_latlon2d Returns the indices (subscripts) of two-dimensional latitude/longitude arrays closest to a user-specified latitude/longitude coordinate pair.
ind Returns the indices where the input is True.
ind_nearest_coord Determine indices of locations closest to a coordinate array.
isMonotonic Check a one dimensional array to see if it is monotonic.
isscalar Returns True if the given argument is a scalar (rank one and size one).
local_max_1d Determines the relative maxima for a 1-dimensional array.
local_min_1d Determines the relative minima for a 1-dimensional array.
maxind Returns the index of the first occurrence of a maximum value.
minind Returns the index of the first occurrence of a minimum value.
month_to_annual Converts monthly values to annual values.
month_to_annual_weighted Converts monthly values to annual values weighted by the number of days in a month.
monthly_total_to_daily_mean Convert monthly total values [e.g., precipitation] to "per day" values.
niceLatLon2D Check two-dimensional map coordinates to see if they have a "nice" structure.
num Counts the number of True values in the input.
region_ind Returns the indices (subscripts) of two-dimensional latitude/longitude arrays that span user specified latitude/longitude boundaries.