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

Update data model figures for the Domain, and provide new image creation source code #323

Closed
davidhassell opened this issue Apr 27, 2021 · 10 comments · Fixed by #324
Closed
Labels
enhancement Proposals to add new capabilities, improve existing ones in the conventions, improve style or format

Comments

@davidhassell
Copy link
Contributor

davidhassell commented Apr 27, 2021

Update data model figures for the Domain,variable and Domain construct; and provide new image creation source code.

Moderator

@user

Moderator Status Review [last updated: YYYY-MM-DD]

Requirement Summary

  • The data model figures need to include the recent data model changes - i.e. the new Domain data model construct (see Introducing a CF domain variable #301).
  • The images need to be editable by the community to more easily allow future data model changes to be visualized.

Technical Proposal Summary

The original figures, that were created with proprietary software, have been recast with Graphviz - open source graph visualization software. Graphviz is, to my mind, somewhat like LaTeX in that the image is defined with human-readable text that is then rendered to an image as the software sees fit (here is a nice "hello world" example).

Other than including the new Domain variable and Domain construct, the logical content has not been changed.

Benefits

The data model will correctly reflect the conventions.

Status Quo

The data model description is wrong.

Associated pull request

#324

Detailed Proposal

#324

@davidhassell davidhassell added the enhancement Proposals to add new capabilities, improve existing ones in the conventions, improve style or format label Apr 27, 2021
@JonathanGregory
Copy link
Contributor

Dear @davidhassell

I have looked through the textual changes. I notice that "global file attribute" has changed to "group attribute". I appreciate that this is a generalisation. Is it stated somewhere that "group attribute" should be understood to cover "global file attribute" as well?

Jonathan

@davidhassell
Copy link
Contributor Author

Dear @JonathanGregory,

Thanks for spotting this. It is not stated that this is, as you say, a generalization. The notion of "global attributes" is still used in relation to the featureType attribute.

Does this improve things?

OLD
"The properties of the field construct correspond to some netCDF attributes of variables (e.g. the units, long_name, and standard_name), and some netCDF group attributes, including (e.g. history and institution"

NEW
"The properties of the field construct correspond to some netCDF attributes of variables (e.g. the units, long_name, and standard_name); and some netCDF group attributes, which include global attributes in the root group, such as history and institution."

@JonathanGregory
Copy link
Contributor

JonathanGregory commented Apr 27, 2021 via email

@davidhassell
Copy link
Contributor Author

Hello - There have been no further comments for a while - is this good to be merged?
Thanks,
David

@JonathanGregory
Copy link
Contributor

Since this is an enhancement, it requires the support of another committee member to satisfy the rules. Could someone else please check it?

@JonathanGregory
Copy link
Contributor

In case other committee members are reading this in email without the context, perhaps it's useful to advertise that this change looks bigger than it really is. It affects Appendix I, which describes the CF data model. It is mostly concerned with the figures, which appear as large textual changes in GitHub because they are svg files, but you only have to look at them as pictures! The most useful view is the "rich diff" of Appendix I. There are actually very few changes of substance.

Would suit someone who'd like to have a look at the CF data model! 😄

Jonathan

@dblodgett-usgs
Copy link
Contributor

All looks good to me. The new figures and inclusion of source code is 👍 !!

@JonathanGregory
Copy link
Contributor

Thanks for reviewing, Dave @dblodgett-usgs. I think you're right that history.adoc has not been updated yet.

@taylor13
Copy link

Yes, thanks for your prompt review. Much appreciated since I wouldn't be able to get to it for some time.

@davidhassell
Copy link
Contributor Author

Thanks Dave, Jonathan and Karl. I'll update history.adoc, and unless anything else crops up we can merge this in two weeks.

David

davidhassell added a commit to davidhassell/cf-conventions that referenced this issue Jul 28, 2021
davidhassell added a commit to davidhassell/cf-conventions that referenced this issue Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Proposals to add new capabilities, improve existing ones in the conventions, improve style or format
Projects
None yet
4 participants