NCL Home > Documentation > Functions > Metadata routines

getfilevardimnames

Returns all dimension names associated with a variable on the given file.

Available in version 6.5.0 and later.

Prototype

	function getfilevardimnames (
		thefile [1] : file,    
		varname [1] : string   
	)

	return_val [*] :  string

Arguments

thefile

A reference to a file created from a call to addfile or addfiles. The file referenced must be one in the supported file format list.

varname

The name of the variable in single string format.

Description

This function is an alias for getfilevardims. Visit that page for full details and examples.