Skip to Content

Download output files for plotting

Users can directly run the following codes to download TomoATT output files for plotting

python prepare_files.py # download the files for plotting tar -xf files_for_plotting.tar.gz # extract the files

These files can be generated by setting true for all output options in the YAML file.

############################################ # output file setting # ############################################ output_setting: output_dir: OUTPUT_FILES/OUTPUT_FILES_inv # path to output director (default is ./OUTPUT_FILES/) output_source_field: true # True: output the traveltime field and adjoint field of all sources at each iteration. Default: false. File: 'out_data_sim_group_X'. output_kernel: true # True: output sensitivity kernel and kernel density. Default: false. File: 'out_data_sim_group_X'. output_final_model: true # True: output merged final model. This file can be used as the input model for TomoATT. Default: true. File: 'model_final.h5'. output_middle_model: true # True: output merged intermediate models during inversion. This file can be used as the input model for TomoATT. Default: false. File: 'middle_model_step_XXXX.h5' output_in_process: true # True: output at each inv iteration, otherwise, only output step 0, Niter-1, Niter. Default: true. File: 'out_data_sim_group_0'. output_in_process_data: true # True: output src_rec_file at each inv iteration, otherwise, only output step 0, Niter-2, Niter-1. Default: true. File: 'src_rec_file_step_XXXX.dat' single_precision_output: true # True: output results in single precision. Default: false. verbose_output_level: 0 # output internal parameters, (to do). output_file_format: 0 # 0: hdf5, 1: ascii

The following options may cause extensive I/O cost and storage burden, thus, are typically set as false in large-scale inversion tasks:

  • output_source_field: true will store all traveltime fields (3D array) from all sources
  • output_in_process: true will output all intermediate models and/or kernels and/or source fields (3D arrays) at each iteration.
  • output_in_process_data: true will output all intermediate DATA files at each iteration.
Last updated on