Skip to content

Commit

Permalink
update script for checkerboard
Browse files Browse the repository at this point in the history
  • Loading branch information
xumi1993 committed Nov 20, 2024
1 parent 0be468b commit 2252fcd
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pytomoatt/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,7 @@ def create_checkerboard(self):
parser.add_argument('-y', help='Upper and low bound for latitude direction', default=None, metavar='ymin/ymax')
parser.add_argument('-z', help='Upper and low bound for depth direction', default=None, metavar='zmin/zmax')
args = parser.parse_args(sys.argv[2:])
para = ATTPara(args.input_params)
cb = Checker(args.i)
cb.init_axis(
para.input_params['domain']['min_max_dep'],
para.input_params['domain']['min_max_lat'],
para.input_params['domain']['min_max_lon'],
para.input_params['domain']['n_rtp'],
)
cb = Checker(args.i, para_fname=args.input_params)
n_period = [float(v) for v in args.n.split('/')]
pert = [float(v) for v in args.p.split('/')]
if args.x is not None:
Expand Down

0 comments on commit 2252fcd

Please sign in to comment.