January 10th, 2009 by Dan Hughes
While pursing the NASA/GISS ModelE coding as part of getting back to the dissipation questions that have come up on Lucia’s Blog in this thread, I ran across yet even more interesting coding. The thread at Lucia’s is related to the posts on this Blog here, here, and here. The dissipation questions come up now and then in several Blogs.
But first, a short diversion.
Read the rest of this entry »
Posted in Code Verification, Coding standards, GISS ModelE Coding, Verification | No Comments »
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 »
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 »