The "name_lbl" varibles and "coordinates" attribures will be created according the type of dimension. The global attribure "Conventions" will be created.

cf_create(filename, vars, ...)

Arguments

filename

Name of the netCDF file to be created.

vars

Either an object of class ncvar4 describing the variable to be created, or a vector (or list) of such objects to be created.

...

Other arguments pass to nc_create