powered by
This function returns names and long names of the variables in a netCDF file.
name_ncvars(nc)
This function only displays the number of variables, their names, and corresponding long names.
name of a netCDF file.
Héctor Villalobos.
This function provides a practical way to know which variables are contained in a netCDF file before importing the data.
if(interactive()){ name_ncvars("global-reanalysis-phy-001-030-monthly_1553098099635.nc") }
Run the code above in your browser using DataLab