File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1111 Use option --save_animation to save the animation (no slider) to a movie file
1212
1313Example:
14- $ python prof3d.py --with_slider
14+ $ python prof3d.py --with-slider
1515"""
1616
1717import sys
2424import argparse
2525
2626parser = argparse .ArgumentParser ()
27- parser .add_argument ('--with_slider ' , action = 'store_true' , help = 'Control animation with a time slider' )
28- parser .add_argument ('--save_animation ' , action = 'store_true' , help = 'Save animation' )
27+ parser .add_argument ('--with-slider ' , action = 'store_true' , help = 'Control animation with a time slider' )
28+ parser .add_argument ('--save-animation ' , action = 'store_true' , help = 'Save animation' )
2929
3030args = parser .parse_args ()
3131
4141
4242tmpa = 20.
4343scalar_min = 20.
44- scalar_max = 60 .
44+ scalar_max = 360 .
4545
46- filenames = ['pine_21O2_40_1C_cat_prof_1.csv' ,
47- 'pine_21O2_40_1C_cat_prof_5.csv' ,
48- 'pine_21O2_40_1C_cat_prof_9.csv' ,
49- 'pine_21O2_40_1C_cat_prof_13.csv' ]
46+ filenames = ['./my_prof_1.csv' ,
47+ './my_prof_2.csv' ,
48+ './ my_prof_3 .csv ]
5049
5150# create lists to store information about each profile
5251IOR = []
You can’t perform that action at this time.
0 commit comments