Un attribut contient des informations propres à une variable NetCDF ou à un fichier NetCDF tout entier.
La notation CDL pour définir un attribut est :
variable_name:attribute_name = list_of_values ;
pour l'attribut d'une variable, ou :
:attribute_name = list_of_values ;
pour un attribut global.