You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: energyml-utils/README.md
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,3 +27,52 @@ or with poetry:
27
27
```console
28
28
poetry add energyml-utils
29
29
```
30
+
31
+
32
+
Features
33
+
--------
34
+
35
+
### Supported packages versions
36
+
37
+
This package supports read/write in xml/json the following packages :
38
+
- EML (common) : 2.0, 2.1, 2.2, 2.3
39
+
- RESQML : 2.0.1, 2.2dev3, 2.2
40
+
- WITSMl : 2.0, 2.1
41
+
- PRODML : 2.0, 2.2
42
+
43
+
/!\\ By default, these package are not installed and are published independently.
44
+
You can install only the versions you need by adding the following lines in the .toml file :
45
+
```toml
46
+
energyml-common2-0 = "^1.12.0"
47
+
energyml-common2-1 = "^1.12.0"
48
+
energyml-common2-2 = "^1.12.0"
49
+
energyml-common2-3 = "^1.12.0"
50
+
energyml-resqml2-0-1 = "^1.12.0"
51
+
energyml-resqml2-2-dev3 = "^1.12.0"
52
+
energyml-resqml2-2 = "^1.12.0"
53
+
energyml-witsml2-0 = "^1.12.0"
54
+
energyml-witsml2-1 = "^1.12.0"
55
+
energyml-prodml2-0 = "^1.12.0"
56
+
energyml-prodml2-2 = "^1.12.0"
57
+
```
58
+
59
+
### Content of the package :
60
+
61
+
- Support EPC + h5 read and write
62
+
-*.rels* files are automatically generated, but it is possible to add custom Relations.
63
+
- You can add "raw files" such as PDF or anything else, in your EPC instance, and it will be package with other files in the ".epc" file when you call the "export" function.
64
+
- You can work with local files, but also with IO (BytesIO). This is usefull to work with cloud application to avoid local storage.
65
+
- Supports xml / json read and write (for energyml objects)
66
+
-*Work in progress* : Supports the read of 3D data inside the "AbstractMesh" class (and sub-classes "PointSetMesh", "PolylineSetMesh", "SurfaceMesh"). This gives you a instance containing a list of point and a list of indices to easily re-create a 3D representation of the data.
67
+
- These "mesh" classes provides *.obj*, *.off*, and *.geojson* export.
68
+
- Introspection : This package includes functions to ease the access of specific values inside energyml objects.
69
+
- Functions to access to UUID, object Version, and more generic functions for any other attributes with regex like ".Citation.Title" or "Cit\\.*.Title" (regular dots are used as in python object attribute access. To use dot in regex, you must escape them with a '\\')
70
+
- Functions to parse, or generate from an energyml object the "ContentType" or "QualifiedType"
71
+
- Generation of random data : you can generate random values for a specific energyml object. For example, you can generate a WITSML Tubular object with random values in it.
72
+
- Objects correctness validation :
73
+
- You can verify if your objects are valid following the energyml norm (a check is done on regex contraint attributes, maxCount, minCount, mandatory etc...)
74
+
- The DOR validation is tested : check if the DOR has correct information (title, ContentType/QualifiedType, object version), and also if the referenced object exists in the context of the EPC instance (or a list of object).
75
+
- Abstractions done to ease use with *ETP* (Energistics Transfer Protocol) :
76
+
- The "EnergymlWorkspace" class allows to abstract the access of numerical data like "ExternalArrays". This class can thus be extended to interact with ETP "GetDataArray" request etc...
77
+
- ETP URI support : the "Uri" class allows to parse/write an etp uri.
0 commit comments