Modidy some Decks:

1.  Where to find the source code:

in your experiment directory, after you create the executable, there is .exper_cour, inside it there is RCSPATH
following that path, you can find the source code

2. Extract the function or comdeck you want, i.e. the main program of 3D-Var:

omd_exp cnt0.ftn

3. Use your favorite text editor to have a look at and modify it

4. In case you include a new comdeck or change function calls you need to recreate the make file:

r.make_exp

    Compile the modified (or unmodified) program (create *.f and *.o):

make cnt0.o

    If you modify a comdeck or want to compile all the routines you have in the directory you should instead use:

make objloc

5. To create new executable:

make var3d

6. To clean up the directory:
    After you compile the subroutines, there are related comdecks and other subroutines staying in the directory, use:

make clean
    
   to move them away.