forked from ES-DOC/esdoc-cim-v2-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsoftware_enums.py
45 lines (37 loc) · 1.31 KB
/
software_enums.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
# -*- coding: utf-8 -*-
"""
.. module:: software_enums.py
:synopsis: Set of CIM v2 ontology type definitions.
necessary to enumerate characteristics of software.
"""
def coupling_framework():
"""The set of terms which define known coupling frameworks.
"""
return {
'type': 'enum',
'is_open': True,
'members': [
("OASIS", "The OASIS coupler - prior to OASIS-MCT"),
("OASIS3-MCT", "The MCT variant of the OASIS coupler"),
("ESMF", "Vanilla Earth System Modelling Framework"),
("NUOPC", "National Unified Operational Prediction Capability variant of ESMF"),
("Bespoke", "Customised coupler developed for this model"),
("Unknown", "It is not known what/if-a coupler is used"),
("None", "No coupler is used")
]
}
def programming_language():
"""The set of terms which define programming languages used for earth
system simulation.
"""
return {
'type': 'enum',
'is_open': True,
'members': [
("Fortran", "Fortran Programming Language"),
("C", "C Programming Language"),
("C++", "C++ Programming Language"),
("Julia", "Julia Programming Language"),
("Python", "Python Programming Language"),
]
}