Skip to content

view: add --faultline option#964

Merged
yunjunz merged 1 commit intoinsarlab:mainfrom
yunjunz:fault
Feb 22, 2023
Merged

view: add --faultline option#964
yunjunz merged 1 commit intoinsarlab:mainfrom
yunjunz:fault

Conversation

@yunjunz
Copy link
Member

@yunjunz yunjunz commented Feb 22, 2023

Description of proposed changes

Add view.py --faultline --faultline-linewidth options to plot faults using GMT lonlat file.

  • utils.arg_utils.add_map_argument(): add --faultline and --faultline-lw options

  • utils.plot: add plot_faultline()

  • view.plot_slice: call pp.plot_faultline()

  • cli.view: add example usage

Reminders

  • Pass Pre-commit check (green)
  • Pass Codacy code review (green)
  • Pass Circle CI test (green)
  • Make sure that your code follows our style. Use the other functions/files as a basis.
  • If modifying functionality, describe changes to function behavior and arguments in a comment below the function declaration.
  • If adding new functionality, add a detailed description to the documentation and/or an example.

+ utils.arg_utils.add_map_argument(): add `--faultline` and `--faultline-lw` options

+ utils.plot: add `plot_faultline()`

+ view.plot_slice: call `pp.plot_faultline()`

+ cli.view: add example usage
@yunjunz yunjunz merged commit fde8089 into insarlab:main Feb 22, 2023
@yunjunz yunjunz deleted the fault branch February 22, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant