Ejemplo n.º 1
0
def main():
    #    folders = [phy_folder, dyn_folder] #gem
    #    folders = ['../../hs_and_flake_integrated']
    # folders = ['/home/san/Fortran/oda', ]

    ##NEMO
    # folders = ["/gs/project/ugh-612-aa/huziy/Coupling_CRCM_NEMO/NEMO/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/COUPLED/WORK",]
    folders = ["nemo_src"]
    create_relations(folders)
    write_gv_file("nemo_gcm")

    showTreeUsingTkinter = False  # set true only if you have tkinter installed
    if showTreeUsingTkinter:
        from gui.test_tkinter import show_source_tree

        show_source_tree(get_node_by_name("readdyn"))
Ejemplo n.º 2
0
def main():
    #    folders = [phy_folder, dyn_folder] #gem
    #    folders = ['../../hs_and_flake_integrated']
    # folders = ['/home/san/Fortran/oda', ]

    # NEMO
    # folders = ["/gs/project/ugh-612-aa/huziy/Coupling_CRCM_NEMO/NEMO/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/COUPLED/WORK",]
    # folders = ["nemo_src"]

    # Hostetler offline
    # folders = ["/home/san/Fortran/hostetler_offline"]

    # NEMO 1
    folders = ["/Users/san/Downloads/WORK"]
    nemo_ignore_nodes = ["abort", "timing_start", "timing_stop", "prt_ctl", "ctl_stop"]
    create_relations(folders, ignore_nodes=nemo_ignore_nodes)
    write_gv_file("stp", depth=1)

    showTreeUsingTkinter = False  # set true only if you have tkinter installed
    if showTreeUsingTkinter:
        from gui.test_tkinter import show_source_tree

        show_source_tree(get_node_by_name("readdyn"))