Routines (alphabetical) > Routines: N > NCDF Routines > NCDF_VARRENAME

# NCDF_VARRENAME

The NCDF_VARRENAME procedure renames a NetCDF variable.

## Examples

See NCDF_VARDEF.

## Syntax

NCDF_VARRENAME, Cdfid, Varid, Name

## Arguments

### Cdfid

The NetCDF ID, returned from a previous call to NCDF_OPEN, NCDF_CREATE, or NCDF_GROUPDEF.

### Varid

The NetCDF variable ID, returned from a previous call to NCDF_VARDEF or NCDF_VARID, or the name of the variable.

### Name

A scalar string containing the new name for the variable.

## Keywords

None

## Version History

Pre 4.0 | Introduced