SimPEG.utils.io_utils.write_dcip2d_ubc#
- SimPEG.utils.io_utils.write_dcip2d_ubc(file_name, data_object, data_type, file_type, format_type='general', comment_lines=None)[source]#
- Write UBC-GIF DCIP2D formatted survey or data files. - This function can write survey locations, predicted data or observations files formatted for the UBC-GIF DCIP2D coding package. For more, see the UBC-GIF DCIP2D 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’}
- The type of data. 
- file_type{‘survey’, ‘dpred’, ‘dobs’}
- Whether to include predicted data/observed data in the file. 
- format_type{‘general’, ‘surface’, ‘simple’}
- The format of the file to write. 
- comment_lines
- Comment lines printed to beginning of the file 
 
- file_name
 
 
