Module Import alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list Expr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list If CompareEq NameLoad Str body Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad Expr Call NameLoad
N/A N/A os N/A flopy N/A pthtest N/A N/A N/A os path join .. examples data mt3d_test N/A pth2005 N/A N/A N/A os path join pthtest mf2005mt3d N/A pth2000 N/A N/A N/A os path join pthtest mf2kmt3d N/A newpth N/A N/A N/A os path join . temp test_mf2005_p07 N/A N/A N/A N/A N/A pth N/A N/A N/A os path join pth2005 P07 N/A namfile p7mf2005.nam N/A mf N/A N/A N/A N/A flopy modflow Modflow load namfile model_ws pth verbose True N/A namfile p7mt.nam N/A mt N/A N/A N/A N/A N/A flopy mt3d mt Mt3dms load namfile model_ws pth verbose True N/A N/A mt model_ws newpth N/A N/A N/A mt write_input N/A N/A test_mf2000_p07 N/A N/A N/A N/A N/A pth N/A N/A N/A os path join pth2000 P07 N/A namfile p7mf2k.nam N/A mf N/A N/A N/A N/A flopy modflow Modflow load namfile model_ws pth verbose True N/A namfile p7mt.nam N/A mt N/A N/A N/A N/A N/A flopy mt3d mt Mt3dms load namfile model_ws pth verbose True N/A N/A mt model_ws newpth N/A N/A N/A mt write_input N/A N/A test_mf2000_HSSTest N/A N/A N/A N/A N/A pth N/A N/A N/A os path join pth2000 HSSTest N/A namfile hsstest_mf2k.nam N/A mf N/A N/A N/A N/A flopy modflow Modflow load namfile model_ws pth verbose True N/A namfile hsstest_mt.nam N/A mt N/A N/A N/A N/A N/A flopy mt3d mt Mt3dms load namfile model_ws pth verbose True N/A N/A mt model_ws newpth N/A N/A N/A mt write_input N/A N/A N/A 
This problem doesn't work.  File looks messed up.
def test_mf2000_mnw():
    pth = os.path.join(pth2000, 'mnw')
    namfile = 't5mf2k.nam'
    mf = flopy.modflow.Modflow.load(namfile, model_ws=pth, verbose=True)
    namfile = 't5mt.nam'
    mt = flopy.mt3d.mt.Mt3dms.load(namfile, model_ws=pth, verbose=True)
    mt.change_model_ws(newpth)
    mt.write_input()
    return
 test_mf2000_MultiDiffusion N/A N/A N/A N/A N/A pth N/A N/A N/A os path join pth2000 MultiDiffusion N/A namfile p7mf2k.nam N/A mf N/A N/A N/A N/A flopy modflow Modflow load namfile model_ws pth verbose True N/A namfile P7MT.NAM N/A mt N/A N/A N/A N/A N/A flopy mt3d mt Mt3dms load namfile model_ws pth verbose True N/A N/A mt model_ws newpth N/A N/A N/A mt write_input N/A N/A test_mf2000_P07 N/A N/A N/A N/A N/A pth N/A N/A N/A os path join pth2000 P07 N/A namfile p7mf2k.nam N/A mf N/A N/A N/A N/A flopy modflow Modflow load namfile model_ws pth verbose True N/A namfile p7mt.nam N/A mt N/A N/A N/A N/A N/A flopy mt3d mt Mt3dms load namfile model_ws pth verbose True N/A N/A mt model_ws newpth N/A N/A N/A mt write_input N/A N/A test_mf2000_reinject N/A N/A N/A N/A N/A pth N/A N/A N/A os path join pth2000 reinject N/A namfile P3MF2K.NAM N/A mf N/A N/A N/A N/A flopy modflow Modflow load namfile model_ws pth verbose True N/A namfile P3MT.NAM N/A mt N/A N/A N/A N/A N/A flopy mt3d mt Mt3dms load namfile model_ws pth verbose True N/A N/A mt model_ws newpth N/A N/A N/A mt write_input N/A N/A test_mf2000_SState N/A N/A N/A N/A N/A pth N/A N/A N/A os path join pth2000 SState N/A namfile SState_mf2k.nam N/A mf N/A N/A N/A N/A flopy modflow Modflow load namfile model_ws pth verbose True N/A namfile SState_mt.nam N/A mt N/A N/A N/A N/A N/A flopy mt3d mt Mt3dms load namfile model_ws pth verbose True N/A N/A mt model_ws newpth N/A N/A N/A mt write_input N/A N/A test_mf2000_tob N/A N/A N/A N/A N/A pth N/A N/A N/A os path join pth2000 tob N/A namfile p7mf2k.nam N/A mf N/A N/A N/A N/A flopy modflow Modflow load namfile model_ws pth verbose True N/A namfile p7mt.nam N/A mt N/A N/A N/A N/A N/A flopy mt3d mt Mt3dms load namfile model_ws pth verbose True N/A N/A mt model_ws newpth N/A N/A N/A mt write_input N/A N/A test_mf2000_zeroth N/A N/A N/A N/A N/A pth N/A N/A N/A os path join pth2000 zeroth N/A namfile z0mf2k.nam N/A mf N/A N/A N/A N/A flopy modflow Modflow load namfile model_ws pth verbose True N/A namfile z0mt.nam N/A mt N/A N/A N/A N/A N/A flopy mt3d mt Mt3dms load namfile model_ws pth verbose True N/A N/A mt model_ws newpth N/A N/A N/A mt write_input N/A N/A N/A N/A __name__ __main__ N/A N/A N/A test_mf2005_p07 N/A N/A test_mf2000_p07 N/A N/A test_mf2000_HSSTest N/A N/A test_mf2000_MultiDiffusion N/A N/A test_mf2000_P07 N/A N/A test_mf2000_reinject N/A N/A test_mf2000_SState N/A N/A test_mf2000_tob N/A N/A test_mf2000_zeroth