Skip to contents

This function opens a NetCDF file, extracts all global attributes, and returns them as a character vector where each element is an attribute name-value pair.

Usage

NetCDFGlobalAttrs(nc = NULL)

Arguments

nc

A character string specifying the path to the NetCDF file. If NULL, the function will stop with an error message.

Value

A character vector where each element is a global attribute.

References

Click here