SimPEG.utils.io_utils.write_dcipoctree_ubc#
- SimPEG.utils.io_utils.write_dcipoctree_ubc(file_name, data_object, data_type, file_type, format_type='general', comment_lines='')[source]#
- Write UBC-GIF DCIP OcTree formatted survey or data files. - This function can write survey locations, predicted data or observations files formatted for the UBC-GIF DCIP OcTree coding package. For more, see the UBC-GIF DCIP OcTree online manual. - Parameters
- file_namestr
- file path for output file 
- data_object
- SimPEG.data.Data object. The survey attribute of this data object must be an instance of :class`SimPEG.electromagnetics.static.resistivity.survey.Survey` or :class`SimPEG.electromagnetics.static.induced_polarization.survey.Survey` 
- data_type{‘volt’, ‘apparent_chargeability’, ‘secondary_potential’}
- file_type{‘survey’, ‘dpred’, ‘dobs’}
- format_type{‘general’, ‘surface’}
- comment_linesstr
- Comments added to beginning of output file 
 
- file_name