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_name
str
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
Galleries and Tutorials using simpeg.utils.io_utils.write_dcip2d_ubc
#
2.5D Forward Simulation of a DCIP Line
DC Resistivity Forward Simulation in 2.5D