Fortran#

The CESM model is primarily written in Fortran. If you plan to modify the CESM code in any way, we strongly recommend you be able to navigate the Fortran code.

The 2-unit module listed below, from The COMET Program, introduces users to scientific programming structures and methods and the history, basic syntax and functionality of Fortran.

Recommendations for Module Use:

  • Users who have little to no programming experience should take both units in full.

  • Users that do have some programming experience, such as a web-based language like HTML, but have limited experience in scientific programming, such as a C-based languages, should start with unit 1 and may find they can complete it quickly. While unit 2, covering Fortran and CESM Fortran examples, should be taken in full.

  • Users that have significant scientific programming experience (C-based languages, for example) can safely start in unit 2, which covers Fortran and CESM Fortran examples.

  • Users that have significant programming experience in Fortran can likely begin at the “Fortran and CESM” subsection (near bottom of table of contents) in unit 2.