The software architecture of climate models: a graphical comparison of CMIP5 and EMICAR5 configurations
Paper · 2015 · Kaitlin Alexander and Steve Easterbrook
Summary
Climate simulations can produce similar results for different reasons. They may represent physical processes in similar ways, inherit software from the same institution, or reuse substantial parts of one another’s implementation. Comparing their outputs reveals some of these relationships, but it leaves the machinery behind them largely hidden. Kaitlin Alexander and Steve Easterbrook investigate that machinery. Their paper examines how climate simulation software is divided into components, how those components exchange information, and where the implementation effort appears to be concentrated.
The study covers eight configurations associated with the CMIP5 and EMICAR5 intercomparison projects. The authors first remove code that the selected configuration does not use, as far as preprocessing permits. They then inspect dependencies between source files, identify the routines that control major physical domains, and classify the code beneath those routines. Their diagrams represent components with ellipses whose areas correspond to source-line counts, excluding comments and empty lines. Arrows describe exchanges found in the coupling code. This produces a common visual language for comparing systems that had previously been described through mostly separate, institution-specific diagrams.
Several structural patterns emerge. CESM and GISS give their major components considerable independence and connect them through a central coupler. HadGEM, IPSL, and MPI organize coupling primarily around an atmosphere–ocean division, with other domains nested inside those larger components. UVic and Loveclim occupy intermediate positions. GFDL provides another distinctive arrangement: its sea-ice component acts as the interface through which exchanges reach the ocean, including where ice is absent. These arrangements expose different compromises between component independence, ease of coupling, interpolation, and execution organization.
The distribution of code also differs substantially. The atmosphere is the largest component in every GCM examined, whereas the ocean exceeds the atmosphere in both EMICs. Some configurations devote substantial code to atmospheric chemistry; others place greater emphasis on vegetation or ocean biogeochemistry. Total source size varies by a factor of 20 across the complete sample and by a factor of 7 among the GCMs. The authors interpret component size as an approximate indicator of the range and sophistication of represented physical processes. They also show why that interpretation requires care: bundled utilities, inherited components, configuration choices, and incomplete preprocessing can affect the counts.
The contribution is a comparative view of implementation structure, rather than a ranking of predictive performance. The diagrams show that separately named climate systems need not be independent software developments. They also suggest that institutional interests and accumulated expertise leave visible traces in architecture. These are preliminary explanations for relationships observed in earlier output-based studies, not demonstrated causal accounts. The paper argues that a consistent architectural view can complement performance comparisons and make complex scientific software easier to discuss across research groups and with the public.
Interesting ideas
Analyze the configuration actually used. A software distribution can contain many alternative implementations, optional features, and inactive branches. Counting everything together measures the breadth of the distribution as much as the system being studied. The authors instead attempt to isolate the code selected for particular intercomparison configurations. The same principle applies when comparing compilers, simulation packages, data pipelines, or language-processing systems: first establish what participates in the execution under discussion.
Recover responsibilities from dependencies. Directory names and conceptual diagrams do not necessarily reveal how software is controlled. Starting from component drivers and following their dependencies gives a reproducible basis for assigning implementation responsibilities. Expert interpretation remains necessary, especially around cycles, but the resulting explanation is tied to executable structure. This approach is useful when documentation has fallen behind a long-lived scientific codebase.
Separate implementation dependencies from meaningful exchanges. A shared file reader and a transfer of ocean heat are different relationships. The paper uses dependency analysis to classify code, then examines coupling logic to describe physical exchanges. Maintaining that distinction prevents an architectural diagram from treating every technical connection as an interaction between scientific processes. Similar care helps when visualizing services, research workflows, or language pipelines, where library reuse and transfer of interpreted information should remain distinguishable.
Make visual size carry a declared measurement. The ellipses encode source-line counts through area, giving readers a common basis for comparing the relative implementation size of components. This is more informative than arbitrarily sized boxes, provided the measurement and scale are explicit. The reusable lesson concerns disciplined visualization: decide what a shape means, apply that meaning consistently, and explain where the picture stops supporting comparison.
Read infrastructure as a scientific constraint. A coupler is more than administrative machinery. Its design influences how easily components can be replaced, which execution arrangements are practical, and how interactions across domains can be investigated. The broader lesson is that infrastructure shapes the questions a research system can conveniently address. Workflow engines, shared representations, and module interfaces deserve analysis alongside the algorithms they coordinate.
Track ancestry before claiming diversity. Different system names can conceal shared components, common utilities, or substantial inherited code. The paper treats component origins as part of architectural comparison because reuse can help explain relationships between outputs. This idea transfers to ensemble evaluation and comparative software studies: record shared implementation and development history before treating every participant as an independent source of evidence.
Use a proxy with an explicit boundary. Source size offers a practical way to inspect large systems, but the authors define the aspect of scientific complexity they hope it approximates and exclude grid resolution from that definition. They also discuss reasons the proxy can mislead. This combination is reusable whenever an accessible measurement stands in for a harder concept: define the target, identify confounders, and keep observations separate from the interpretation placed on them.
Deep dive: The software architecture of climate models: a graphical comparison of CMIP5 and EMICAR5 configurations
How source-code diagrams reveal climate simulation architecture, component sharing, and the limits of code size as scientific evidence. · about 37 minutes to read
How Mova uses it
Mova is a small, transparent language system implemented in Rust. Its documented architecture already separates language analysis, structured interpretation, world state, compiled knowledge, and bounded operational capabilities. That makes the paper relevant as a way to examine whether an architectural description matches a particular implementation and execution configuration. The connections below are proposals assessed against the documented mechanisms. They are not evidence that this paper has already changed Mova or improved its results. A mark of “нове” identifies a proposed addition whose implementation is unestablished; the available architectural account cannot prove that no related mechanism exists elsewhere.
Idea: Analyze the selected configuration. Where: Methods, preprocessing discussion. Area: software analysis and evaluation. Mova: частково є (README.md and docs/architecture.md distinguish CPU execution, optional GPU execution, and separate workspaces). An architectural comparison could identify the code selected by a particular build and runtime configuration before counting components. This would make claims about the native CPU path distinguishable from claims about optional GPU stages or standalone workers. Why Mova: configuration-specific evidence would help explain what was actually present in a measured run, without attributing inactive capabilities to it.
Idea: Bind an architecture report to its source identity. Where: Methods, selection of specific intercomparison configurations. Area: provenance. Mova: частково є (tools/dictindex/README.md requires versioned sources, and tools/enrich/README.md describes source fingerprints). The proposed extension is to attach a source version and configuration identity to an architectural report, just as corpus-derived artifacts retain their source identity. A diagram would then describe an identified implementation instead of an indefinitely changing project. Why Mova: this would make architecture comparisons reviewable when code, seeds, optional features, and deployment settings evolve separately.
Idea: Identify component responsibilities through drivers. Where: Classification of source code, section 3.1. Area: software architecture. Mova: нове. A proposed analyzer could start from documented entry points for parsing, pragmatic interpretation, retained reading, and worker execution, then inspect their dependencies. The aim would be to compare declared responsibilities with the implementation they actually invoke. The digest does not establish such an analyzer or its accuracy. Why Mova: a dependency-backed map could reveal when a supposedly narrow logical module relies on a broader subsystem than its interface suggests.
Idea: Reapply classification within components. Where: Section 3.1, identification of chemistry, biogeochemistry, and vegetation subcomponents. Area: hierarchical analysis. Mova: частково є (docs/architecture.md presents crates and internal responsibilities at several levels). Mova could extend a coarse architectural comparison into selected subcomponents, such as frame extraction within pragmatics or retained reading within the world subsystem. The paper supports selective refinement, not a requirement to expose every routine. Why Mova: this would let reviewers investigate a crowded component while preserving an understandable view of the whole pipeline.
Idea: Keep control infrastructure distinct from domain computation. Where: Section 3.1, classification of coupler files. Area: operational architecture. Mova: частково є (docs/hybrid-system.md separates operational execution from linguistic and combinatorial responsibilities). A source-based report could distinguish task admission, routing, worker coordination, and result inspection from the native interpretation or mathematical operation they invoke. This is an architectural accounting proposal, not a new claim of general task understanding. Why Mova: it would make the amount and role of orchestration visible without confusing successful coordination with successful reasoning.
Idea: Identify shared utilities explicitly. Where: Section 3.1, code reached by multiple components. Area: dependency analysis. Mova: нове. A proposed classification could mark routines shared by several major capabilities rather than assigning their entire implementation to whichever component first encounters them. The classification would require explicit rules for code generated from seeds and for common storage or numerical facilities. Why Mova: it could prevent component-size comparisons from repeatedly attributing the same support machinery to independent capabilities.
Idea: Review exceptional dependency edges. Where: Section 3.1, circular file dependencies. Area: graph analysis and auditability. Mova: нове. If a dependency-based architectural classification requires ignoring a connection, Mova could preserve the original edge, the reason for excluding it from classification, and the affected result. The paper describes selective edge removal but does not establish an automated criterion suitable for Rust. Why Mova: a reviewable exception record would keep a convenient architectural picture from silently replacing the implementation graph.
Idea: Distinguish code dependencies from semantic transfers. Where: Sections 3.1 and 4.2. Area: interpretation and interfaces. Mova: частково є (docs/architecture.md distinguishes the text pipeline, frame roles, and interfaces between logic levels). An architectural view could separately represent code calls and transfers such as dependency trees, frames, world updates, mathematical queries, and tool receipts. A common library call would not imply that the calling components exchange the same kind of evidence. Why Mova: this distinction would support clearer explanations of how information changes meaning as it moves through the system.
Idea: Preserve direction in exchanges. Where: Section 4.2, runoff and exchanges between adjacent domains. Area: dataflow. Mova: частково є (docs/hybrid-system.md describes explicit inputs, observations, and outcomes at layer transitions). A proposed diagram could make one-way paths visible, including the separation between assessment output and admitted training material. It would need to reflect actual interfaces rather than infer direction from a conceptual sequence. Why Mova: directional evidence could make it easier to inspect whether protected evaluation information has an unintended route into learning.
Idea: Represent a mediator according to its actual role. Where: Section 4.2, GFDL sea ice as the ocean interface. Area: interface design. Mova: частково є (docs/hybrid-system.md describes native adapters and configured worker capabilities). Mova could examine adapters that remain active even when a particular optional behavior is absent, and name them according to the boundary they manage. This is a proposed design review, not evidence that any existing adapter is misnamed. Why Mova: clearer interface roles would help explain why a component participates in an execution even when its most familiar task is inactive.
Idea: Measure visual area consistently. Where: Software diagrams, section 3.2. Area: visualization. Mova: нове. A proposed architecture report could size components by a declared implementation measurement and use consistent visual categories. Source lines would describe implementation extent, not linguistic competence or reasoning quality. Generated tables and handwritten Rust would require separate treatment if combining them distorted the intended interpretation. Why Mova: a measured visual overview could make large differences in implementation emphasis visible without relying on arbitrary box sizes.
Idea: Declare whether diagrams share a scale. Where: Section 3.2, comparison between individual diagrams. Area: measurement communication. Mova: нове. Architectural views of different execution modes or releases could state whether their areas are directly comparable. If each view uses its own scale, the legend would need to make that explicit. No such publication convention is established by the digest. Why Mova: it would prevent readers from interpreting similarly sized drawings as evidence of similarly sized implementations.
Idea: Treat implementation size as a limited proxy. Where: Distribution of scientific complexity, section 4.3. Area: evaluation methodology. Mova: нове. Mova could use source size to describe where implementation resides while explicitly withholding claims that more code means better understanding. For a rule-based system, tables, generated code, compact rules, and support infrastructure can differ sharply in what their size represents. Why Mova: the paper’s caution would help keep architectural statistics separate from measured task performance.
Idea: Keep implementation size separate from execution cost. Where: Section 4.3, exclusion of resolution from the complexity definition. Area: performance analysis. Mova: частково є (docs/architecture.md describes measured execution modes, and tools/twin records predicted and observed costs). Architecture reports could present source extent separately from runtime, memory use, corpus scale, and graph size. An unchanged implementation may process a much larger input without becoming a larger codebase. Why Mova: this would prevent a convenient static metric from standing in for the resource bounds that matter to operational use.
Idea: Account for bundled and external utilities. Where: Shared utilities, section 4.4. Area: reproducibility and measurement boundaries. Mova: частково є (README.md distinguishes repository code, downloaded artifacts, and independent workspaces). A proposed accounting policy could state whether dependencies, generated artifacts, models, and external programs are included in each architectural measurement. The climate study shows why packaging choices can change apparent component proportions. Why Mova: explicit boundaries would make comparisons between native code and externally supported paths more informative.
Idea: Examine the tradeoff between independent modules and simpler coordination. Where: Architectural designs, section 4.1. Area: module design. Mova: частково є (docs/architecture.md defines the Domain interface, while separately built, signed, replaceable domains remain direction). Mova could compare the practical cost of keeping a capability independent with the convenience of nesting it inside an existing subsystem. The paper does not identify a universally preferable arrangement. Why Mova: this would give concrete criteria for developing Mova as a logical module without assuming that maximum separation always produces the simplest system.
Idea: Group work according to operational compatibility. Where: Section 4.1, UVic’s temporal basis for nesting sea ice. Area: scheduling. Mova: частково є (retention/mice.rs shares a document graph across bounded specialist profiles). A proposed review could ask whether tasks belong together because they share a representation, execution rhythm, or resource requirement, rather than merely a topic name. This transfers the architectural reasoning, not a climate-specific scheduling rule. Why Mova: it could help organize cheap native observations around shared work while preserving explicit limits and evidence identities.
Idea: Evaluate the coordinator as an enabler of future work. Where: Background and section 4.1, coupler effects on development pathways. Area: infrastructure evaluation. Mova: частково є (docs/hybrid-system.md describes configured capabilities and bounded execution). Beyond checking whether current tasks complete, Mova could assess how difficult it is to introduce a new handler, representation, or review step. Such assessment would remain separate from claims about automatic general composition. Why Mova: coordination interfaces can determine which future experiments are practical even when they contribute little to current benchmark scores.
Idea: Inspect phenomena that cross component boundaries. Where: Background, discussion of feedbacks and large-scale processes. Area: integration evaluation. Mova: частково є (the documented pipeline connects parsing, frames, world state, and answers). A proposed analysis could trace a failure across these boundaries rather than assigning it immediately to the final reader. The retained-reading analysis already distinguishes several sources of error; an architectural view could show where the relevant information should have crossed an interface. Why Mova: this could expose missing transfers that isolated component checks overlook.
Idea: Record component ancestry. Where: Origin of components, section 4.5. Area: provenance and software reuse. Mova: частково є (groupants retain source-bound evidence, and dictionary indexing preserves source credit). Mova could extend source provenance into an architectural account of reused libraries, imported algorithms, generated tables, and adapted workers. A shared name would not establish identical behavior, and a renamed component would not establish independence. Why Mova: ancestry records would support more careful comparisons between capabilities assembled from overlapping implementation material.
Idea: Record divergence after reuse. Where: Section 4.5, discussion of software forks. Area: version analysis. Mova: частково є (tools/dictindex/README.md requires separately identified versions when indexed sources change). A software-oriented extension could distinguish an imported implementation from the locally modified descendant used in a particular configuration. Its validation history would travel with that descendant. Why Mova: a component’s origin alone cannot explain its present behavior after substantial adaptation.
Idea: Check structural dependence before treating agreement as independent evidence. Where: Background and Conclusions, discussion of ensemble diversity. Area: evaluation and statistics. Mova: частково є (treeagree combines parser evidence through written rules and reports agreement statistics). Mova could document shared implementation or training ancestry among witnesses alongside their observed agreement. The climate paper does not supply a statistical correction for parser dependence, so no weighting rule follows automatically. Why Mova: it would make agreement easier to interpret without treating differently named witnesses as necessarily independent.
Idea: Combine structural and behavioral evidence. Where: Conclusions, comparison with output-based genealogy studies. Area: evaluation. Mova: частково є (the digest documents native traces, component measurements, and task benchmarks). A proposed report could pair observed answer behavior with the architecture responsible for it. Structural resemblance could generate a hypothesis about similar failures, which would then require behavioral testing. Why Mova: architecture can suggest explanations, while task results determine whether the suspected relationship appears in practice.
Idea: Interpret implementation emphasis through development history. Where: Section 4.3 and Conclusions. Area: research planning. Mova: нове. A proposed longitudinal review could examine whether sustained work on a subsystem changes its implementation footprint and observed coverage. It would avoid equating code size with expertise or success, especially when generated knowledge or shared infrastructure dominates a component. Why Mova: this could help distinguish a deliberate research priority from an accidental concentration of maintenance work.
Idea: Use maintainer knowledge to validate recovered structure. Where: Methods and Acknowledgements. Area: review methodology. Mova: частково є (reviewed groupants and teacher-separated proposals already distinguish evidence from admission). Architectural recovery could produce a reviewable draft whose component assignments and exceptional edges are checked by people familiar with the relevant code. Agreement would establish a reviewed description, not prove every runtime path. Why Mova: explicit review can capture knowledge that source analysis alone cannot reliably recover.
Idea: Disclose access-driven selection. Where: Methods, selection of institutions and configurations. Area: evaluation design. Mova: частково є (tools/sources and tools/dictindex retain missing sources and classification limits). An architectural comparison could state which workspaces, optional dependencies, and deployment components were unavailable or excluded. It would avoid extending conclusions about inspected public components to uninspected private arrangements. Why Mova: visible coverage limits make a partial analysis useful without letting it imply complete system knowledge.
Idea: Make diagrams useful for communication without turning them into proofs. Where: Conclusions, scientific communication and outreach. Area: interpretability. Mova: частково є (README.md and docs/architecture.md already provide pipeline diagrams). A proposed source-backed visual report could connect a readable overview to explicit configuration and measurement boundaries. It should still distinguish an illustrative architecture from a verified execution trace or a proof of correctness. Why Mova: this would strengthen transparent explanation while preserving the different meanings of diagrams, receipts, reasons, and formal evidence.
The problem and its context
Comparing predictions leaves part of the explanation hidden
Climate intercomparison usually begins with behavior. Participating groups run agreed experiments, and researchers compare the resulting fields with observations or with one another. This is necessary work: a climate simulation must ultimately be assessed through what it produces. Yet behavioral comparison does not directly reveal how the implementation divides responsibilities or which participants share substantial software.
The paper places its architectural analysis beside this established practice. It describes intercomparison projects as coordinated experimental frameworks, with common conditions and sometimes observational data prepared for comparison. The World Climate Research Programme catalogue cited by the authors listed 45 active projects. CMIP5 and EMICAR5 receive particular attention because their simulations contributed to the assessment process discussed in the paper.
One earlier approach combines errors across selected climate variables into an overall skill measure. The authors describe Reichler and Kim’s analysis of 14 annually averaged variables, with adjustments for differences in grid-point mass and area. Such a score answers a question about agreement with observed climate. It does not explain which organizational or implementation choices produced that agreement.
Another approach studies resemblance among simulated climates. The paper discusses work by Masson and Knutti, and by Knutti and colleagues, using monthly temperature and precipitation fields to investigate relationships among systems. Those analyses found similarities associated with institutional origin and with the reuse of atmosphere or ocean components. This raises an architectural question: what exactly is shared, and how deeply does that sharing shape a coupled implementation?
The issue matters for ensembles. Combining several systems can compensate for individual weaknesses, but the value of the combination depends in part on how their errors and assumptions relate. A collection assembled from available participants may contain less diversity than its number of names suggests. Architecture cannot settle the diversity question by itself, but it can expose dependencies that an output-only comparison leaves unexplained.
Conceptual diagrams were difficult to compare
The paper also responds to a representational problem. Climate science had familiar pictures of the Earth system, including the Bretherton diagram, as well as architectural illustrations for particular implementations. These pictures served useful purposes, but they were not produced through a common procedure tied consistently to source code.
A conceptual account can show that atmosphere, ocean, land, and ice interact. It may say little about which component controls another, whether data pass through an intermediary, or how much implementation resides in a particular domain. Separate diagrams can also give equal visual prominence to components with very different code sizes.
The authors therefore seek a standardized comparison. Their goal is not to replace scientific descriptions of physical processes. It is to add a view that connects physical domains with actual software organization. A reader should be able to ask the same questions of each diagram and receive answers expressed through the same visual conventions.
This is especially valuable in long-lived software. The paper describes implementations that have accumulated modifications over years or decades. Their present structure reflects many interacting decisions. A current boundary may owe as much to an earlier development path as to a clean decomposition chosen afresh.
Coupling is part of the scientific system
The coordinator connecting components is scientifically consequential. A coupler must arrange exchanges between domains, frequently across different grids and execution schedules. Its design affects the effort needed to introduce a replacement component and the practical options for distributing computational work.
These effects can reach beyond software convenience. If a component is difficult to connect, researchers may be less likely to investigate questions requiring it. If the execution arrangement limits feasible simulations, it can influence which experiments a group pursues. Architecture therefore participates indirectly in the development of scientific capability.
The paper emphasizes that physical phenomena do not respect software boundaries. Heat transport and feedbacks cross them. A decomposition that makes individual components manageable still has to preserve the interactions that motivate coupled simulation.
There is a corresponding social dimension. Component boundaries frequently align with communities of expertise. Atmospheric researchers and ocean researchers need implementations that remain useful within their own specialties, while coupled research requires those implementations to cooperate. Independence and integration are both legitimate goals, and they can pull architecture in different directions.
Institutional memory is difficult to export
The authors describe substantial practical knowledge held within development groups. Researchers familiar with a particular codebase understand its history, exceptions, and local conventions. That knowledge is harder to convey through an intercomparison exercise centered on agreed runs and submitted outputs.
An architectural comparison can make some of it explicit. It cannot reconstruct every historical decision, and the paper does not attempt to do so. Instead, it examines the upper levels of organization: major drivers, component boundaries, selected subcomponents, and exchanges.
This limited scope is deliberate. The same dependency-based procedure could be applied more deeply, but the resulting diagrams would become much larger and harder to read. The study offers an entry point into the implementation, with enough structure to support comparison without claiming to explain every routine.
The method, step by step
Choose identifiable configurations
The unit of analysis is a selected configuration, instead of an entire software family. A configurable climate package may contain alternatives for physical parameterizations, greenhouse-gas treatment, or ice-sheet calculations. Those alternatives do not all participate in every simulation.
The authors examine CESM1-BGC, GFDL-ESM2M, and GISS-E2-R-TCADI among the GCM configurations. Their GCM sample also includes HadGEM2-ES, IPSL-CM5A-LR, and MPI-ESM-LR. The EMIC configurations are UVic ESCM 2.9 and Loveclim 1.3.
GCM and EMIC distinguish the broad complexity classes used in the study. An EMIC makes simplifications intended to support faster or otherwise more tractable simulations. The classification does not imply that every component is uniformly smaller or simpler; the diagrams are useful partly because they show how simplification is distributed.
Selection depended on access. The authors needed complete source code and a contact able to assist with preprocessing and interpretation. They mainly worked through existing contacts, so the sample was not geographically representative. They nevertheless considered its architectural variety sufficient to expose several substantially different arrangements.
This access requirement is part of the method’s evidential boundary. A code-based comparison needs material that output repositories alone cannot supply. It also needs configuration knowledge that may not be apparent from a source archive.
Remove inactive alternatives
Preprocessing comes before architectural measurement. Build preparation selects code according to the chosen configuration, removing branches that do not apply. The paper discusses software such as CPP in this role.
The reason is straightforward. Suppose a package contains several implementations of a process, but the intercomparison run selects only one. Counting the entire package would attribute all those alternatives to the selected configuration. The resulting number would partly describe configurability rather than the implementation used in the experiment.
The authors had encountered this problem in an earlier analysis. Their previous treatment used whole codebases, and the counts reflected the number of available options. The revised procedure attempts to make source size correspond more closely to active scientific implementation.
Preprocessing was not complete for every participant. CESM and MPI retained some material that could inflate their counts. The authors judge the resulting bias unlikely to change the broad conclusions, but they do not provide a numerical correction.
That qualification matters because configuration-specific counting is an aspiration with documented exceptions. The study does not claim that every source line has been proven reachable in a particular execution. It uses preprocessing to remove known inactive options before carrying out the structural analysis.
From selected configuration to architectural comparison
The steps in order.
Build a directed dependency graph
The authors use Understand to extract relationships between source files. The relevant dependencies arise through function and subroutine calls. A directed connection indicates that code in one file invokes code associated with another.
This graph supplies the vocabulary of parents, children, ancestors, and descendants. A child is reached by a direct call relationship; descendants extend the relationship through further calls. These terms describe implementation reachability in the extracted graph, rather than physical descent or component ownership by themselves.
The graph is constructed at file level. That choice makes the analysis manageable, but it also matters when interpreting cycles. A file may contain routines with different responsibilities, so a connection to one routine can make the entire file appear involved.
The dependency graph is therefore an analytical representation, not an automatically correct architectural partition. It gives the authors evidence from which to recover component structure. Their classification rules and exceptional decisions remain necessary parts of the method.
Find the drivers for each physical domain
Classification begins with the files responsible for controlling a major component. An ocean component, for example, may have drivers for initialization, repeated calculations, and diagnostic output. The authors identify these entry points and classify the files below them in the dependency structure.
The central rule assigns descendants of a component’s drivers to that component. This connects an architectural label to a set of implementation files through a declared relation. It is stronger than relying only on filenames or directory placement, though it still depends on identifying appropriate drivers.
Some files sit above the individual physical components. The overall time-stepping loop and routines governing intercomponent exchanges belong to the coupling machinery. Their role is to coordinate the simulation and move information between its major parts.
Other files are reached from several components. These become shared utilities. Examples include numerical routines, parameter definitions, and input readers.
The distinction avoids pretending that every file belongs exclusively to a physical domain. A tridiagonal solver used by atmosphere and ocean code is a technical resource supporting both. Classifying it as shared preserves that implementation relationship without turning it into a physical exchange between the domains.
Repeat the process for selected subcomponents
Within major components, the authors apply the same reasoning to scientifically meaningful subdivisions. They identify atmospheric chemistry, ocean biogeochemistry, and vegetation where those processes are present.
This recursive step allows the diagram to show more than a broad atmosphere–ocean split. A large atmospheric implementation may contain a substantial chemistry contribution, while a land component may devote considerable code to vegetation. These distinctions support the later interpretation of differing scientific emphases.
The method also preserves nesting between major domains when the implementation requires it. Land may be controlled inside the atmosphere component, and sea ice may sit within the ocean. These are not merely choices about where to place labels on a drawing; they describe control relationships recovered from the implementation.
UVic illustrates why domain names alone cannot determine the hierarchy. Its sea ice is nested within the atmosphere, and its sediment code forms a separate component. The resulting structure differs from an arrangement based only on familiar spatial associations.
The authors stop at selected upper levels. They do not exhaustively partition every subroutine. This keeps the comparison focused on major architectural choices, at the cost of leaving finer internal differences unexplored.
Handle cycles without letting them erase the structure
Source-file dependencies can form cycles. A low-level reader may call a function stored alongside a top-level program. If classification follows that edge without interpretation, it can reach the program’s entire descendant graph.
In the example discussed by the authors, this would make nearly the whole implementation appear to be shared utility code. The classification would be formally consistent with unrestricted traversal but unhelpful as an account of architecture.
The authors therefore disregard selected dependencies. They report that the number removed is very small relative to the full graph. The purpose is to recover a sensible component partition rather than let an incidental file-level relationship dominate it.
This intervention introduces judgment. It does not invalidate the analysis, but it means that reproducibility requires more than access to a dependency extractor. A fully repeatable reconstruction would also need the chosen drivers and the exceptional edges.
The paper gives the rationale through concrete examples rather than a formal algorithm for every possible cycle. Readers should consequently understand the result as source-based architectural recovery with expert interpretation.
Measure source extent
After classification, the authors use SLOCCount to measure source lines. Comments and blank lines are excluded. The resulting counts describe the implementation assigned to each component and subcomponent.
The paper contains no mathematical derivation or formal equation for the method. Its main quantitative rule is expressed through the visualization: component area corresponds proportionally to the relevant line count. No training procedure is involved; the evidence comes from static source analysis, classification, counting, and inspection of coupling logic.
The measured quantity must remain distinct from the interpretation. Source extent is directly counted. Scientific complexity is inferred from that extent under the authors’ argument that, in comparable scientific software, representing additional or more sophisticated processes generally requires more implementation.
The authors also exclude spatial and temporal resolution from their definition of scientific complexity. A grid can become finer or a timestep smaller without requiring additional source code. The metric therefore cannot be treated as a measure of computational expense or numerical detail.
Construct a common visual language
Each component becomes an ellipse. Its area encodes source size, and nesting shows the component hierarchy. The authors apply the same color assignments across diagrams: atmosphere is purple, ocean blue, and land orange; ice categories, sediment, and common infrastructure receive their own consistent colors.
Arrows represent physical exchanges identified in coupling code. Their color indicates the component from which the exchange originates. Direction is meaningful: some relationships involve exchanges both ways, while others represent a transfer in only one direction.
This creates a layered visual explanation. Area describes implementation extent, containment describes hierarchy, and arrows describe exchanges. None of these should be substituted for another. A large ellipse does not imply many outgoing exchanges, and a component placed inside another is not thereby scientifically unimportant.
Each diagram includes an area reference for 1000 lines. The diagrams are internally scaled, but they do not all use a common scale. A reader can compare the proportions within a diagram directly; comparison of absolute areas across diagrams requires consulting the scale reference.
That decision favors readability when total sizes differ substantially. It also imposes a responsibility on interpretation: the visible size of the complete drawing cannot be used as a direct ranking of total implementation size.
Experiments and results
An observational comparison rather than a performance contest
The study does not train a predictor, evaluate a held-out test split, or compare a proposed forecasting algorithm against a baseline. Its empirical material consists of selected source configurations and their recovered architectural structure.
The principal outputs are diagrams for the individual configurations and a comparison of total source size. The line-count metric excludes comments and empty lines. Architectural findings concern hierarchy, exchanges, distribution of code, shared utilities, and component origins.
The numerical range reported in the conclusions is substantial. Across the full sample, the ratio between the largest and smallest source totals is 20. Restricting attention to GCMs gives a ratio of 7. These are ranges within the analyzed sample, not estimates for all climate software.
Largest-to-smallest source-size ratio within the analyzed samples
The complete sample spans a wider range of source sizes than the GCM subset.
The numbers
| System or setting | largest-to-smallest source-line ratio |
|---|---|
| Complete architecture sample (this paper) | 20 |
| GCM subset | 7 |
The chart describes dispersion, not quality. Its direction indicates a larger numerical span; a wider span is not a claim of superior architecture. Nor does the ratio identify how much better any configuration simulates climate.
The detailed component counts are communicated through the original diagrams. The paper’s prose establishes relative patterns, but it does not provide a corresponding numerical table for every component. Those patterns should therefore remain qualitative rather than being converted into invented percentages.
Independent components and a central coupler
CESM and GISS exhibit the star-shaped arrangement emphasized by the authors. Their major components remain separate, and the central coupling machinery manages their communication.
This supports encapsulation. A component can change internally while preserving the interface expected by the coupled system. The authors also connect this arrangement with replacing components, noting that alternative ocean implementations are used at the institution responsible for GISS.
The benefit comes with coordination work. A coupler serving several independent components must manage the exchanges required by their particular combination. Encapsulation relocates complexity; it does not make the exchange problem disappear.
The paper does not measure replacement effort or coupler-development time. Its conclusion is architectural: the arrangement offers a favorable structure for substitution while making the central coupling task more demanding.
A primarily atmosphere–ocean organization
HadGEM, IPSL, and MPI use the two-sided arrangement. Atmosphere and ocean connect to the coupler, while land belongs inside the atmospheric side and sea ice inside the oceanic side.
Shared spatial discretization helps explain this nesting. When closely related components already use a common grid, passing their interactions through an external coupler can add work that direct internal coordination avoids.
The authors associate the arrangement with a simpler but less flexible parallelization scheme. They also interpret it as preserving an older atmosphere–ocean organizational pattern, even when the scientific content extends across a more comprehensive Earth system.
This observation separates scientific coverage from software shape. A two-sided architecture does not imply that land or ice processes are missing. It means those processes enter the coupled organization through larger parent components.
The contrast with the star-shaped systems therefore concerns the location of coordination responsibilities. It is not a binary distinction between complete and incomplete science.
Intermediate and unusual arrangements
UVic and Loveclim combine component independence with selective nesting. Both retain sea ice within a larger component, but they place it differently.
In Loveclim, sea ice belongs with the ocean. In UVic, it belongs with the atmosphere because their execution timescales are similar. The authors explain that UVic’s components share the same spatial discretization, so the nesting reflects timing instead of a need to reconcile different spatial grids.
This is a useful counterexample to a purely physical reading of architecture. Sea ice may be associated spatially with the ocean, yet the execution organization can favor a different parent. An architectural boundary can serve computational convenience as well as scientific categorization.
GFDL reveals another kind of distinction. Its sea-ice component spans the ocean interface, whether or not ice is locally present. Exchanges from atmosphere or land reach the ocean through this component.
The authors connect this design to interpolation. Ocean and sea ice share a grid, while the atmospheric and terrestrial sides may use others. The interface arrangement gives the coupled system a consistent route across that boundary.
Exchanges are not uniformly symmetric
The recovered arrows also distinguish physical relationships. Atmosphere exchanges with the components with which it shares a boundary. Ocean and sea ice communicate in both directions.
Land-to-ocean runoff is different. The represented transfer proceeds from land towards the ocean, so the diagram shows a directed relationship rather than a generic mutual connection.
GISS adds land ice, with runoff reaching the ocean directly or passing first through land. Direct transfer can include calving. This makes the exchange structure more specific than a picture that merely places all major domains around a central hub.
The result demonstrates why architecture needs both component boundaries and exchange semantics. Knowing that components are separate does not tell a reader which information they need from one another.
Scientific emphasis differs within the sample
The atmosphere is the largest component in every GCM examined. Both EMICs instead have more ocean code than atmosphere code.
The authors explain the EMIC pattern through the pursuit of speed. Atmospheric calculations usually require the shortest timesteps, so simplifying that domain can yield a particularly useful reduction in integration time. This is an interpretation of the observed distribution, not a timing experiment performed by the study.
HadGEM’s substantial atmospheric implementation is linked to its atmospheric system’s additional role in operational weather prediction. CESM and IPSL have comparatively substantial land components, which the authors relate to interest in terrestrial processes and carbon-cycle feedbacks.
At subcomponent level, CESM and HadGEM devote substantial implementation to atmospheric chemistry. IPSL and MPI emphasize vegetation and ocean biogeochemistry more strongly. The paper connects these emphases with different process families and timescales, rather than treating all additional code as scientifically interchangeable.
These observations support the central claim that overall size is only part of the story. Two coupled systems can devote their implementation effort differently even when both include the same broad physical domains.
Shared utilities change the picture
IPSL has no shared utility files under the study’s classification. Its atmospheric and oceanic components do not call common files. The authors note that this independence supports mixing components, while also suggesting possible duplication between implementations solving related fluid-dynamics problems.
GFDL and UVic show the opposite tendency, with substantial shared-utility code. GFDL includes a customized message-processing facility, and UVic includes a customized NetCDF implementation.
Other participants may rely on comparable facilities supplied by the computing environment. Because those external utilities are not stored and rebuilt with the analyzed source, they do not appear in the same way.
The architectural measurement consequently captures a packaging boundary as well as an implementation boundary. A larger utility region can indicate that support code is bundled locally, instead of that the scientific calculation intrinsically needs more infrastructure.
Reuse crosses institutional boundaries
The component-origin analysis shows that a coupled system’s home institution is not necessarily the origin of every major part. UVic’s ocean code descends from an earlier member of the family that also includes GFDL’s ocean implementation.
UVic also adopted substantial land code associated with the Hadley Centre, including vegetation functionality. CESM uses ocean and sea-ice components developed at Los Alamos rather than at its own host institution.
The paper also discusses organized collaboration around shared infrastructure. NEMO appears as an ocean component used across European systems, while IPSL and MPI share the OASIS coupling framework.
These relationships do not establish that outputs must coincide. Components can be adapted substantially after adoption, and their coupled context differs. They do establish that counting named systems is insufficient to establish independent development.
What the ablations show
The paper reports no formal ablation study; it offers an earlier methodological comparison and several structural contrasts that clarify the interpretation of its diagrams.
Preprocessing changes what source size means
The closest methodological comparison concerns the earlier analysis that counted whole distributions. That procedure included inactive alternatives and therefore mixed the size of a selected implementation with the number of options offered by its package.
Preprocessing changes the intended measurement target. The revised study seeks the code belonging to a particular intercomparison configuration. This is an important design improvement because the scientific interpretation depends on knowing what the counted material represents.
The paper does not report a paired numerical table showing counts before and after preprocessing. It therefore supports the rationale for the change, but not a numerical estimate of how much each participant’s apparent size changed.
The incomplete preprocessing of CESM and MPI also prevents treating the revised procedure as uniformly exact. The authors disclose this residual issue instead of presenting the selection step as fully solved.
Architectural families expose trade-offs
The star-shaped and two-sided arrangements serve as comparative cases. They show different locations for complexity: more independent components increase the responsibility of the central coupler, while nesting can simplify coordination between components with compatible grids.
This comparison does not isolate architecture experimentally. The systems differ in history, scientific content, institutional priorities, and implementation choices. As a result, the diagrams cannot establish that architecture alone causes a particular level of development effort or execution flexibility.
What they do establish is that similar broad scientific domains can be organized differently. This rules out the idea that the physical domain list uniquely determines the software hierarchy.
UVic strengthens that point. Its nesting decision uses temporal compatibility where other arrangements emphasize spatial compatibility. A reader can see an explicit case in which the same kind of component occupies a different architectural position for an operational reason.
Utility contrasts reveal an accounting confounder
The discussion of shared utilities is an analysis of measurement interpretation. A locally customized support library becomes part of the counted implementation, whereas an externally supplied equivalent can remain outside it.
This does not make either arrangement incorrect. It changes the scope of what the diagram measures. Without the explanation, a reader might mistakenly interpret the utility region as a direct indicator of scientific sophistication or architectural inefficiency.
The comparison also cautions against treating the absence of shared files as an uncomplicated advantage. Independent components may be easy to exchange, yet contain duplicated technical functionality. The source partition can expose that possibility without quantifying the duplication.
Component distributions support hypotheses, not causal estimates
The contrast between GCM and EMIC component sizes is consistent with deliberate atmospheric simplification for speed. Differences in chemistry, vegetation, and biogeochemistry are likewise consistent with distinct scientific priorities.
However, these are interpretations of existing implementations. The study does not remove atmospheric chemistry and measure a resulting change, nor does it compare the same implementation before and after a controlled architectural redesign.
The same qualification applies to institutional expertise. A large component may reflect a substantial community of specialists, but imported code complicates that inference. The authors explicitly recognize the need to account for external origins.
The analyses are therefore most useful for generating and refining explanations. They show where a more focused historical, performance, or output-based investigation could begin.
Limitations
Limits stated by the authors
The sample is constrained by access and cooperation. The authors required both code and help from someone familiar with it, and their existing contacts influenced which participants were included. They explicitly state that the resulting selection is not geographically representative.
The analysis also remains near the top of the architectural hierarchy. It identifies major components and selected subcomponents rather than tracing every low-level responsibility. The method could be applied recursively, but the authors did not pursue that expansion because of the volume of code.
Preprocessing is another stated limitation. CESM and MPI could not be reduced completely to the selected configuration. Their source totals may therefore be somewhat inflated. The authors consider the broad conclusions robust to that issue, but no quantified sensitivity analysis establishes the size of the residual effect.
The size metric has a declared conceptual boundary. Scientific complexity refers to the variety and sophistication of represented processes. It does not include resolution simply because finer grids or shorter timesteps may increase computation. Readers cannot use these diagrams to infer runtime or hardware requirements.
Finally, the authors describe the evidence about institutional specialization and output similarity as preliminary. The architecture offers a plausible explanation that complements earlier behavioral studies. It does not independently demonstrate the causal chain from expertise to source distribution to simulated climate.
Limits visible in the analytical setup
The dependency graph operates on files. When a file contains several routines, relationships associated with one routine can affect classification of the whole file. The need to remove selected edges demonstrates that implementation packaging can distort a naive reachability partition.
That removal also makes the process partly interpretive. The paper explains why exceptional treatment is necessary, but it does not present a complete formal decision procedure for resolving every ambiguous dependency. Different analysts would need to reproduce those choices, not merely rerun the same extraction software.
Source lines are an imperfect proxy even after preprocessing. Coding style, abstraction, generated material, and library boundaries can influence how much source represents a particular process. The authors defend consistent line counting as useful within comparable software, but usefulness does not establish a precise conversion between lines and scientific sophistication.
The shared-utility findings make the boundary problem concrete. A customized library stored within one distribution contributes to its count. A similar facility supplied externally may not. Total size therefore depends partly on where the analysis draws the implementation boundary.
Nor do the exchange arrows provide a complete dynamic account. They summarize transfers identified in coupling code. They do not quantify the volume of information, the frequency of every exchange, the numerical sensitivity to coupling choices, or the cost of carrying out those exchanges.
The diagrams cannot rank scientific quality
A larger atmosphere component may implement more processes, but it does not follow that its predictions are more accurate. Additional processes may be uncertain, and implementation extent says nothing by itself about calibration or numerical fidelity.
Likewise, a compact implementation is not necessarily incomplete for its intended purpose. An EMIC can deliberately simplify selected processes to make particular kinds of experiment feasible. Assessing that choice requires considering the scientific question and output behavior.
The architectural families should not be read as a league table. A central coupler supports independence and substitution while taking on coordination complexity. Nesting simplifies some interactions while reducing flexibility. The paper explains these tradeoffs without establishing a universal winner.
The geographic associations also require restraint. The observed North American and European patterns belong to the selected participants. Access-driven selection and the diversity of individual designs prevent turning them into general laws about regional software engineering.
Shared ancestry is evidence of relationship, not identity
Imported components can accumulate local changes. A shared origin therefore establishes a development relationship, but it does not establish identical current code or identical physical behavior.
Even unchanged components can participate in different coupled contexts. Other components, exchange arrangements, and scientific settings may alter the resulting simulation. The paper’s ancestry discussion should consequently inform the interpretation of diversity rather than replace output-based analysis.
The study also does not calculate ensemble weights from architectural similarity. It motivates better understanding of dependence, but provides no validated procedure for translating a shared component into a numerical adjustment of forecast confidence.
Communication benefits remain proposed
The authors suggest that their diagrams could support public explanation and scientific collaboration. That is plausible because the pictures expose otherwise obscure implementation relationships.
The study does not test those benefits through reader comprehension, communication experiments, or measured collaboration outcomes. The diagrams are demonstrated as analytical artifacts; their effectiveness for particular audiences remains an open empirical question.
This distinction preserves the value of the contribution. A source-grounded overview can be useful before every communication claim has been tested, provided its explanatory promise is not reported as an already measured result.
What came after
A documented account of subsequent work building on this study is not established here. The paper’s references describe its foundations and the scientific software it examines, rather than a later reception history.
It is especially important not to misclassify developments already discussed by the authors as consequences of their analysis. They note a subsequent HadGEM configuration incorporating OASIS, NEMO, and CICE, but the cited infrastructure work is part of the context they use to describe changing architecture. It is not evidence that their diagrams caused that development.
The clearest forward path comes from the paper’s own unresolved questions. One is deeper architectural recovery. Repeating the dependency-based classification below the selected subcomponents could show how numerical methods, process implementations, and technical services are organized internally. The tradeoff would be a more demanding classification problem and a less immediately readable visual result.
Another path is to connect architecture with behavioral similarity. Earlier genealogy studies examine simulated fields, while this study examines implementation. A combined investigation could ask whether particular shared components or distributions of scientific functionality correspond to specific patterns of output resemblance. Such a study would need to separate common ancestry from the effects of coupling context and later modifications.
The institutional-expertise hypothesis also invites direct examination. Component size might reflect available expertise, accumulated research priorities, or the adoption of mature external software. Distinguishing those explanations would require evidence beyond source counts. The paper identifies the relationship as worth investigating instead of resolving it.
A further question concerns infrastructure choices. The comparison makes clear that coupling arrangements influence substitution, nesting, and execution organization. Measuring those consequences would require focused evidence about development effort, integration work, or feasible experiments. The diagrams supply a vocabulary for such comparisons, but not the resulting measurements.
The lasting methodological proposition is therefore precise. Scientific software can be compared through its internal organization as well as its outputs. Recovering that organization from selected source configurations makes the comparison more concrete than an idealized schematic, while explicit measurement boundaries prevent the picture from claiming more than it shows. The paper demonstrates that approach across a varied sample and leaves its deeper explanatory hypotheses open for further investigation.
Cite
Cite as Kaitlin Alexander and Steve Easterbrook. 2015. The software architecture of climate models: a graphical comparison of CMIP5 and EMICAR5 configurations. Geoscientific model development.
@inproceedings{alexander2015software,
title = {{The software architecture of climate models: a graphical comparison of CMIP5 and EMICAR5 configurations}},
author = {Kaitlin Alexander and Steve Easterbrook},
booktitle = {Geoscientific model development},
year = {2015},
doi = {10.5194/gmd-8-1221-2015},
url = {https://doi.org/10.5194/gmd-8-1221-2015}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/alexander-2015-software-architecture-climate-models-graphical/