readNcdfVarName tries to automatically detect the name of the "main" variable in a netCDF file. The name returned is the name of a non coordinate variable. If more than one of such variables are existent, the name of the variable which spans all available dimensions or with a name appearing as a pattern in the file name is used.
connection to the netCDF file.
character string: name of the variable.
Jannis v. Buttlar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.