+ All Categories
Home > Documents > A data model of the CF metadata conventions...A data model of the CF metadata conventions David...

A data model of the CF metadata conventions...A data model of the CF metadata conventions David...

Date post: 26-Jul-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
21
A data model of the CF metadata conventions David Hassell 1 , Jonathan Gregory 1,2 , Jon Blower 3 , Bryan Lawrence 1 , Karl Taylor 4 + the CF community 1 National Centre for Atmospheric Science (NCAS), University of Reading, UK 2 Met Office Hadley Centre, U.K. 3 Institute for Environmental Analytics, University of Reading, U.K. 4 PCMDI, Lawrence Livermore National Laboratory, U.S. EarthCube advancing netCDF-CF, Boulder, 2017-09-06
Transcript
Page 1: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

A data model of the CF metadata conventions

David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4

+ the CF community

1National Centre for Atmospheric Science (NCAS), University of Reading, UK2Met Office Hadley Centre, U.K.3Institute for Environmental Analytics, University of Reading, U.K.4PCMDI, Lawrence Livermore National Laboratory, U.S.

EarthCube advancing netCDF-CF, Boulder, 2017-09-06

Page 2: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

• Evolved from work by Jonathan Gregory that was subsequently discussed in various CF trac tickets

– #68, #88, #95, #107

• The CF data model has been written up and is currently under review and openly available as a GMD discussion paper

– www.geosci­model­dev­discuss.net/gmd­2017­154

– key elements of the CF conventions are described and how they are encoded in netCDF files

– the proposed CF data model

– the CF data model is compared with other data models

– a software implementation

History

Page 3: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The Unidata netCDF classic data model

0..*

Page 4: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

• To achieve a better understanding the CF

• To write better software

• To create better enhancements to the CF

Motivation for a CF data model

Page 5: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

• The data model should be for CF-1.6

• The data model should be what CF is rather than what CF ought to be

• The data model should be composed of a minimal set of elements that are sufficient for accommodating all aspects of the CF

• The data model should not introduce additional elements not presently needed or used by CF

• The data model should be independent of any encoding

Design criteria for a CF data model

Page 6: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

Elements of CF-netCDF

0..*

netCDF classic

Page 7: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

Elements of CF-netCDF

0..*

netCDF classic

Page 8: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The CF data model

Page 9: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The CF data model: field

Page 10: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The CF data model: field ancillary and cell method

Page 11: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The CF data model: domain

Page 12: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The CF data model: cell measure

Page 13: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The CF data model: domain axis, coordinates

Page 14: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The CF data model: domain axis, coordinates

Page 15: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The CF data model: domain axis, coordinates

Page 16: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The CF data model: coordinate reference

Page 17: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

The CF data model

Page 18: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

• To be useful, a data model needs to be accepted as part of CF

Making use of a CF data model

Page 19: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

• A CF data model can present the CF conventions in a manner that will lead to their being better understood

Making use of a CF data model

Page 20: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

• A CF data model can allow software developers to design CF-compliant data processing applications

– Using the CF data model for the software’s internal data storage ought to guarantee CF-compliance

• Data model implementation: cf-python

– https://cfpython.bitbucket.io

– described in chapter 6 in the paper

– The actual data model implementation is currently embedded in an API with higher-level functionality, but is in the process of being pulled out as a stand alone library

Making use of a CF data model

Page 21: A data model of the CF metadata conventions...A data model of the CF metadata conventions David Hassell1, Jonathan Gregory1,2, Jon Blower3, Bryan Lawrence1, Karl Taylor4 + the CF community

• A CF data model can provide guidance during the development of future extensions to the CF conventions

• A CF data model can be used to ensure that an enhancement to CF fits in a logically, rather than just pragmatically

• If it can not be represented by the CF data model, then

– the enhancement could be modified so it does

– the data model could be extended/generalized (backwards compatible)

– the data model could be changed in backwards incompatible ways

Making use of a CF data model

www.geosci­model­dev­discuss.net/gmd­2017­154


Recommended