cimread(source,
packageMap={'ACLineSegment': 'CIM15.IEC61970.Wires', 'AcceptanceTest': 'C...,
nsURI='http://iec.ch/TC57/2010/CIM-schema-cim15')
|
|
CIM RDF/XML parser.
- Parameters:
source (File-like object or a path to a file.) - CIM RDF/XML file.
packageMap - Map of class name to PyCIM package name. All CIM classes are
under the one namespace, but are arranged into sub-packages so a
map from class name to package name is required. Defaults to the
latest CIM version, but may be set to a map from a profile to
return a profile model.
nsURI - CIM namespace URI used in the RDF/XML file. For example:
http://iec.ch/TC57/2010/CIM-schema-cim15
profile (dict)
- Returns: dict
- Map of UUID to CIM object.
Author:
Richard Lincoln <r.w.lincoln@gmail.com>
|