Counter

Search

Another NASA/GISS ModelE Code Fragment

January 7th, 2008 by Dan Hughes

Using the NASA/GISS ModelE code browser I ran across the MODULE CONSTANT in which several constants are setup as parameters.

Read the rest of this entry »

Posted in Code Documentation, Code Verification, Coding standards, GISS ModelE Coding | 13 Comments »

Coding Guidelines and Inline Documentation: GISS ModelE

August 9th, 2007 by Dan Hughes

Here’s an example of what a lack on coding guidelines (or ignoring them) can lead to. From the NASA/GISS ModelE online source code browser:

SUBROUTINE SURFCE 1,30
!@sum SURFCE calculates the surface fluxes which include
!@+ sensible heat, evaporation, thermal radiation, and momentum
!@+ drag. It also calculates instantaneous surface temperature,
!@+ surface specific humidity, and surface wind components.
!@auth Nobody will claim responsibilty

This is the entire header information for a 1228-line routine.

The last line says it all.

Posted in Code Documentation, Code Verification, Coding standards, GISS ModelE Coding | 1 Comment »

A GISS ModelE code fragment

December 11th, 2006 by Dan Hughes

The several Global Climate Model or General Circulation Model (GCM) codes around the world are the work horses for the ‘what-if’ studies relative to the Global Average Temperature (and many, many other things) that appear in the IPCC Assessment Reports. There are about 20 of these codes, more or less. The actual models in the codes vary considerably from code-to-code and as a function of time with a given code. The GISS ModelE code is the NASA versions of GCMs.

Some GISS/NASA information about the ModelE GCM code is available here. There you will find information about the documentation of the model and code along with access to download the source and and an online HTML-based code viewer.

Read the rest of this entry »

Posted in GISS ModelE Coding | 21 Comments »