Closed sckott closed 1 year ago
@rmendels i'm not sure I remember what we had in mind here. sorry, I should have taken better notes.
Hi Scott:
I believe the issue here is if before you melt you are going to test if the data are on a lat-lon grid, that means testing the coordinate (dimension) names. Good practice in ERDDAP is to call the dimensions by latitude and longitude (if that is what they are), but people could call them "lat" , "lon" in how they set up their server, or other such names. So it is a design decision if you just test for (latitude , longitude) , or test for that plus say (lat, lon), or whatever other combination of names you want.
It becomes less critical if the only effect is if you melt them and add them to the tibble and return them that way, or just return the metadata with the arrays added in a list or data frame. Either way the data is being read into a structure and returned with the metadata. Before, that wasn't the case, so what you tested for as the coordinate name was more crucial.
from @rmendels