Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nc_grids is not normal form #78

Closed
mdsumner opened this issue Feb 13, 2019 · 1 comment
Closed

nc_grids is not normal form #78

mdsumner opened this issue Feb 13, 2019 · 1 comment

Comments

@mdsumner
Copy link
Collaborator

mdsumner commented Feb 13, 2019

Following on from #77 pain, this will help the default variable or grid selection:

  • no NC_CHAR by default
  • pick the most dims
  • always in native order otherwise

nc_grids should have distinct grids, and nc_vars should list the grid it's in

library(dplyr)
f <- system.file("extdata/argo", package = "tidync") %>% list.files(full.names = TRUE)
tidync::tidync(f)
nc_vars(f) %>% distinct(name)
nc_grids(f) %>% distinct(grid)

Both should have ndims, and possibly natts

@mdsumner
Copy link
Collaborator Author

This issue was moved to hypertidy/ncmeta#26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant