-
Notifications
You must be signed in to change notification settings - Fork 5
/
__init__.py
86 lines (60 loc) · 1.99 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
"""
.. module:: cim.v2.__init__.py
:license: MIT
:platform: Unix, Windows
:synopsis: CIM v2 ontology schema (first post CMIP6 update)
"""
from . import activity_classes
from . import data_classes
from . import designing_classes
from . import drs_entities
from . import platform_classes
from . import science_classes
from . import science_enums
from . import shared_classes
from . import shared_classes_doc
from . import software_classes
from . import software_enums
from . import cmip_classes
from . import iso_classes
from . import iso_enums
from . import time as time_classes
# Ontology name.
NAME = "cim"
# Ontology version.
VERSION = "2"
# Ontology doc string.
DOC = "ESDOC CIM ontology schema - version 2.2"
def activity():
"""Types that describe context against which climate models are run."""
return {activity_classes}
def cmip():
"""Extensions for CMIP6."""
return {cmip_classes}
def data():
"""Types that describe output that climate models emit."""
return {data_classes}
def designing():
"""Types that describe project design features."""
return {designing_classes}
def drs():
"""Types that describe the directory structures to which climate model output is written."""
return {drs_entities}
def iso():
"""Types that implement ISO classes used in other packages."""
return {iso_classes, iso_enums}
def platform():
"""Types that describe hardware upon which climate models are run."""
return {platform_classes}
def science():
"""Types that describe the science being performed."""
return {science_classes, science_enums}
def shared():
"""Shared types that might be imported from other packages within the ontology."""
return {shared_classes, shared_classes_doc}
def software():
"""Types that describe the software that constitutes a climate model."""
return {software_classes, software_enums}
def time():
"""Types that describe the software that constitutes a climate model."""
return {time_classes}