NCL Home > Documentation > Functions

Metadata routines

assignFillValue Transfers the _FillValue attribute from one variable to another.
copy_VarAtts Copies all of a variable's attributes from one variable to another.
copy_VarCoords Copies all named dimensions and coordinate variables from one variable to another.
copy_VarCoords_1 Copies all named dimensions and coordinate variables from one variable to another except for the rightmost dimension.
copy_VarCoords_2 Copies all named dimensions and coordinate variables from one variable to another except for the rightmost two dimensions.
copy_VarMeta Copies all attributes, named dimensions and coordinate variables from one variable to another.
copyatt Copies all attributes, named dimensions and coordinate variables from one variable to another (deprecated version).
delete_VarAtts Deletes one or more attributes associated with a variable.
generate_unique_indices Generate unique random indices (subscripts).
getFillValue Retrieves the _FillValue of a variable, if present.
getvaratts Returns a list of attribute names for the given variable.
getVarDimNames Retrieves dimension names for a variable in memory (deprecated version).
getvardims Returns a list of dimension names for the given variable.
getVarFillValue Retrieves the missing value of a variable, otherwise, it returns the default _FillValue.
indStrSubset Returns the indices corresponding to the location of the substring, if it is a subset of the other given string.
isatt Returns logical values indicating whether the given attributes are attached to the given variable.
iscoord Returns True for every input string that is a coordinate variables of the given variable.
isdim Returns True if variable dimensions are defined in the given variable.
isdimnamed Returns True if variable dimensions have names in given variable.
ismissing Returns True for every element of the input that contains a missing value.
isStrSubset Return True or False if one string is a subset of another string.
isunlimited Returns True if the given dimension name is defined as unlimited on the given file.
mod Remainder function which emulates the fortran "mod" intrinsic function.
nameDim Assigns given named dimensions, long_name, and units to the input variable.