hypertidy / ncmeta

Tidy NetCDF metadata
https://hypertidy.github.io/ncmeta/
11 stars 5 forks source link

nc_var: only keep items from RNetCDF::var.inq.nc that fit in a tibble row #45

Closed mjwoods closed 2 years ago

mjwoods commented 2 years ago

Although the solution in #44 works for now, it would break if new vector items were added to the output of RNetCDF::var.inq.nc. This could occur if RNetCDF is extended to support new features in the NetCDF library. The changes in this PR should ensure that nc_var continues to work, by excluding unknown vector items that are returned by var.inq.nc.