Module Import alias Import alias Import alias Import alias identifier Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Dict Num ListLoad ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Index TupleLoad NameLoad Num AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr orelse Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword NameLoad Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword NameLoad Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad BinOpDiv BinOpSub BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad UnaryOpUSub NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Str keyword Str keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr ExtSlice Index Num Slice Slice Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword TupleLoad Num Num keyword Str keyword NameLoad Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword TupleLoad Num Num keyword Str keyword NameLoad Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword TupleLoad Num Num keyword Str keyword NameLoad Index Num Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Dict TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num ListLoad Str Str Str ListLoad ListLoad Str Str Str ListLoad ListLoad Str Str Str ListLoad ListLoad Str Str Str ListLoad ListLoad Str Str Str ListLoad ListLoad Str Str Str ListLoad ListLoad Str Str Str ListLoad ListLoad Str Str Str ListLoad ListLoad Str Str Str ListLoad ListLoad Str Str Str ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore BinOpFloorDiv NameLoad NameLoad Assign NameStore BinOpFloorDiv NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad Str attr NameLoad Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Num NameLoad NameLoad body Assign NameStore Num For NameStore Call NameLoad Num NameLoad NameLoad body If CompareLt SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Assign NameStore Call AttributeLoad Str attr BinOpAdd NameLoad Num NameLoad BinOpAdd NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Num NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad BinOpSub NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd NameStore Num If BoolOpAnd CompareLt NameLoad NameLoad CompareLt NameLoad NameLoad body Assign SubscriptStore NameLoad ExtSlice Slice Index NameLoad Index NameLoad Call AttributeLoad NameLoad attr AugAssignAdd NameStore Num AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr BinOpDiv NameLoad Num Call AttributeLoad Str attr BinOpDiv NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Str attr NameLoad BinOpAdd NameLoad Num Print Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Slice keyword Str
N/A N/A os N/A sys N/A time N/A numpy np N/A flopy N/A base_pth N/A N/A N/A os path join data uspb flopy N/A cf_pth N/A N/A N/A os path join data uspb cf N/A res_pth N/A N/A N/A os path join data uspb results cf_model N/A N/A model k i j base Q N/A -100 N/A N/A wd N/A 1 N/A N/A k i j Q N/A N/A N/A model remove_package WEL N/A wel N/A N/A N/A flopy modflow ModflowWel model model stress_period_data wd N/A N/A N/A wel write_file N/A N/A N/A model run_model silent True N/A hedObj N/A N/A N/A flopy utils HeadFile N/A N/A N/A os path join cf_pth DG.hds precision double N/A cbcObj N/A N/A N/A flopy utils CellBudgetFile N/A N/A N/A os path join cf_pth DG.cbc precision double N/A kk N/A N/A hedObj get_kstpkper N/A v N/A N/A np zeros N/A len kk dtype N/A np float N/A h N/A N/A hedObj get_ts N/A k i j N/A N/A idx kon N/A enumerate kk N/A N/A N/A N/A h N/A N/A idx 1 N/A N/A model lpf hdry N/A N/A N/A v N/A idx N/A np nan N/A N/A v1 N/A N/A N/A cbcObj get_data kstpkper kon text DRAINS full3D True N/A 0 N/A v2 N/A N/A N/A cbcObj get_data kstpkper kon text STREAM LEAKAGE full3D True N/A 0 N/A v3 N/A N/A N/A cbcObj get_data kstpkper kon text ET full3D True N/A 0 N/A N/A v N/A idx N/A N/A N/A N/A N/A N/A v1 sum N/A N/A v2 sum N/A N/A v3 sum base N/A Q N/A v N/A N/A ml N/A N/A N/A N/A flopy modflow Modflow load DG.nam version mf2005 exe_name mf2005dbl verbose True model_ws base_pth N/A N/A nrow ncol N/A N/A N/A ml dis nrow N/A N/A ml dis ncol N/A ibound N/A N/A N/A ml bas6 ibound N/A N/A 3 N/A N/A N/A N/A ml model_ws cf_pth N/A N/A N/A ml write_input N/A N/A N/A ml run_model N/A cbcObj N/A N/A N/A flopy utils CellBudgetFile N/A N/A N/A os path join cf_pth DG.cbc precision double N/A v1 N/A N/A N/A cbcObj get_data kstpkper N/A 0 0 text DRAINS full3D True N/A 0 N/A v2 N/A N/A N/A cbcObj get_data kstpkper N/A 0 0 text STREAM LEAKAGE full3D True N/A 0 N/A v3 N/A N/A N/A cbcObj get_data kstpkper N/A 0 0 text ET full3D True N/A 0 N/A baseQ N/A N/A N/A N/A v1 sum N/A N/A v2 sum N/A N/A v3 sum N/A N/A N/A ml remove_package OC N/A stress_period_data N/A N/A 1 9 N/A 1 10 N/A 1 19 N/A 1 20 N/A 1 29 N/A 1 30 N/A 1 39 N/A 1 40 N/A 1 49 N/A 1 50 N/A 1 59 N/A 1 60 N/A 1 69 N/A 1 70 N/A 1 79 N/A 1 80 N/A 1 89 N/A 1 90 N/A 1 99 N/A 1 100 N/A save head save budget print budget N/A N/A save head save budget print budget N/A N/A save head save budget print budget N/A N/A save head save budget print budget N/A N/A save head save budget print budget N/A N/A save head save budget print budget N/A N/A save head save budget print budget N/A N/A save head save budget print budget N/A N/A save head save budget print budget N/A N/A save head save budget print budget N/A N/A oc N/A N/A N/A flopy modflow ModflowOc ml stress_period_data stress_period_data N/A N/A N/A oc write_file N/A nstep 4 N/A nrow2 N/A nrow nstep N/A ncol2 N/A ncol nstep N/A fs N/A open N/A N/A N/A os path join data uspb N/A N/A uspb_capture_{}.out format nstep w 0 N/A N/A N/A fs write N/A N/A Problem size: {} rows and {} columns.
 format nrow ncol N/A N/A N/A fs write N/A N/A Capture fraction analysis performed every {} rows and columns.
 format nstep N/A N/A N/A fs write N/A N/A Maximum number of analyses: {} rows and {} columns.
 format nrow2 ncol2 N/A cf_array N/A N/A np empty N/A 10 nrow2 ncol2 dtype N/A np float N/A N/A N/A cf_array fill N/A np nan N/A start N/A N/A time time N/A icnt 0 N/A jcnt 0 N/A idx 0 N/A i N/A range 0 nrow nstep N/A N/A jcnt 0 N/A j N/A range 0 ncol nstep N/A N/A N/A N/A ibound N/A N/A i j 1 N/A N/A N/A N/A N/A sys stdout write . N/A N/A line N/A N/A 
row {} of {} - col {} of {}
 format N/A icnt 1 nrow2 N/A jcnt 1 ncol2 N/A N/A N/A fs write line N/A N/A N/A N/A sys stdout write line N/A s0 N/A N/A time time N/A cf N/A cf_model ml 3 i j baseQ N/A s1 N/A N/A time time N/A line N/A N/A   model {} run time: {} seconds
 format idx N/A s1 s0 N/A N/A N/A fs write line N/A N/A N/A N/A sys stdout write line N/A idx 1 N/A N/A N/A icnt nrow2 N/A jcnt ncol2 N/A N/A N/A cf_array N/A N/A N/A icnt N/A jcnt N/A N/A cf copy N/A jcnt 1 N/A icnt 1 N/A end N/A N/A time time N/A ets N/A end start N/A line N/A N/A N/A N/A N/A streamflow capture analysis took {} seconds.
 format ets N/A N/A streamflow capture analysis took {} minutes.
 format N/A ets 60.0 N/A N/A streamflow capture analysis took {} hours.
 format N/A ets 3600.0 N/A N/A N/A fs write line N/A N/A N/A N/A sys stdout write line N/A N/A N/A fs close N/A filelist N/A f N/A f N/A N/A os listdir cf_pth N/A f filelist N/A N/A N/A N/A os remove N/A N/A N/A os path join cf_pth f N/A N/A N/A N/A N/A os path exists res_pth N/A N/A N/A N/A os makedirs res_pth N/A idx N/A range 10 N/A N/A fn N/A N/A N/A os path join res_pth N/A N/A USPB_capture_fraction_{:02d}_{:02d}.dat format nstep N/A idx 1 N/A N/A N/A saving capture fraction data to...{} format N/A N/A N/A os path basename fn N/A N/A N/A np savetxt fn N/A cf_array N/A N/A idx N/A N/A delimiter