Returns a data.frame defining longitude value and longitude index for a given NetCDF file

get_df_lon_index(x, lonnam)

Arguments

x

Either a character string specifying the complete path to a NetCDF file, or an object of class tidync::tidync, or a list returned by get_grid (containing named elements lon_start, dlon, len_ilon, lat_start, dlat, and len_ilat).

lonnam

The dimension name of longitude in the NetCDF files.

Value

Tidy tibble containing longidude indices and values of the given file.