You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I definitely support this! I actually can't remember why I used ncdf4 here for read - it's usually my default for raw reading, but I'm much more familiar with RNetCDF generally (as you can see from ncmeta).
I've stumbled over the way ncdf4 reads coordinate variables into the dim object and then doesn't treat the variables like variables in their own right.
Looking here: https://github.com/r-spatial/stars/blob/master/R/ncdf.R#L89 I'm haunted by the special handling of coordinate variables in
ncdf4
.RNetCDF
is much closer to the native NetCDF-C API and I think would be a safer way to go.I'll work up a quick PR for consideration that uses the ncmeta function to find coordinate variables in this area of the function.
The text was updated successfully, but these errors were encountered: