Hosted by CU logo University of Colorado
Powered by ESGF-CoG logo
Welcome, Guest. | Login | Create Account
ESMF logo
You are at the CoG-CU node

Code Change Metrics

The table below shows the lines of code changed to adapt codes for ESMF. The last code in the table, the Hakamada-Akasofu-Fry (HAF) solar wind model, was parallelized at the same time that it was ESMF-ized, so it was subject to more code changes than the others.

  Number of non-comment lines of code
Model Total Deleted Added % Increase
ADCIRC 19782 462 826 1.8
COAMPS 95815 5992 7295 1.4
HYCOM 27422 727 1114 1.4
NCOM 36996 775 1553 2.1
WASH 28716 18 434 1.4
SWAN 33146 67 1252 3.6
HAF 12306 1320 2516 21.3

Script for Calculating

A perl script is available from BEI that will calculate your code changes. Users need to have old and new copies of their codes e.g. B.ESMF and A.ESMF. The script works better if these versions are in separate directories. To invoke the script:

./ dir1 dir2 > summary_changes.txt

Access and questions related to this script should be directed to Lucy Smedstad at the Naval Research Laboratory.


Last Update: Dec. 31, 2014, 10:15 a.m. by deleted user
Read News
ESMF 7.0.1 Released
Download it from the Software tab, under Download / Releases: http://www.earths.... This release ...
ESMF v7.0.0 Released
Download it from the Software tab, under Download / Releases: http://www.earths...
ESMF v6.3.0r Released
Read more and download at: http://www.earths...
Browse Projects
Start typing, or use the 'Delete' key to show all available tags.
ESMF Tags: Model framework