reader

OMF Project Reader

class PVGeo.gmggroup.reader.OMFReader[source]

Bases: ReaderBaseBase

Handles reading an OMF Project

GetDataSelection()[source]

Return the current user selection of data elements

Modified(read_again=False)[source]

Ensure default is overridden to be false so array selector can call.

RequestData(request, inInfo, outInfo)[source]

Used by pipeline to get data for current timestep and populate the output data object.

_get_raw_data()[source]

Converts OMF data to VTK data objects.

_read_up_front()[source]

Internal functiona to read all data at the start

description = 'PVGeo: Open Mining Format Project'
extensions = 'omf'
get_file_name()[source]

Super class has file names as a list but we will only handle a single project file. This provides a convenient way of making sure we only access that single file. A user could still access the list of file names using get_file_names().

modified(read_again=False)[source]

Ensure default is overridden to be false so array selector can call.