Open kerfoot opened 2 years ago
Thanks for opening this issue @kerfoot .
Great idea! It would be great to have @kevin-obrien 's expertise to help us.
About question 2, what is the exact issue with CF Conventions?
Could we list here what are all the reservations? It is difficult to weigh in without knowing what are the issues.
Hi all, very interesting issue here, thanks @kerfoot. I read carefully all the links and these are my conclusions so far:
@kerfoot useful thread on the google ERDDAP group is here: https://groups.google.com/g/erddap/c/7g6ecOZZNNU Includes feedback on the sensor metadata.
The discussion is ERDDAP focused but eh key thing is that we are declaring the file to be CF complaint so we should be reaching a level of compliance that enable the files to work in common tools that depend on CF e.g. ERDDAP, Panoply, etc
Proponent(s): @kerfoot
Moderator: @OceanGlidersCommunity/format-maintainers
Describe the error
Filing this issue to reconsider the use of NetCDF-4 groups to store instrument metadata for the following reasons:
Members of the community expressing reservations against the use of groups in this way, largely for the reasons mentioned above, and there likely are others.
Example
I took the CDL example, created a NetCDF file and served it up via ERDDAP:
http://slocum-test.marine.rutgers.edu/erddap/tabledap/sp041_20191205T1757_n_measurements.html
As you can see, the data set does not include any of the group meta data information. I have used multiple EDDTableFromFiles ERDDAP data types, but cannot get the groups included in the ERDDAP data set. I filed and additional set of questions on this topic and Bob Simons responded on September 23, 2022 with comments and suggestions. I would also suggest giving this thread a thorough reading before our next DMTT meeting.
Potential solution
Use empty scalar variables to attach instrument meta data. Here is an example in which I modified the CDL template from above to remove the groups and replace them with scalar variables:
http://slocum-test.marine.rutgers.edu/erddap/tabledap/sp041_20191205T1757_n_measurements_instrument_scalars.html
There is an additional option, though I'm less enthusiastic about implementing it in this spec as I don't believe it provides as elegant of a solution. However, we should discuss both options before proceeding.
Platforms affected
None
Additional context
As @vturpin mentioned in an email sent out September 23, 2022, it would be good to get Kevin O'Brien on the next DMTT call for some additional thoughts on this subject.