Introduction
Welcome to the documentation for the System Agnostic Background Error Representation (SABER)
Directory structure
The SABER repository is organized as follows:
- CI: continuous integration setup files and scripts
- cmake: SABER-specific compiler flags
- docs: documentation
- src: source code
- saber: SABER source code
- bump: BUMP core and interfaces
- external: external tools
- gaugrid: Gaussian grid tools
- interpolation: interpolation interface
- model: model-specific interfaces for the BUMP executable
- oops: OOPS interface
- util: shared tools
- test: testing tools and source code
- mains: executables sources
- testinput: input YAML files
- testlist: lists of tests, data and reference files
- tools: useful bash and python scripts
Code size and characteristics
Code report obtained with CLOC.
src/saber
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 69 | 9736 | 13558 | 33273 | 40 % |
C/C++ Header | 17 | 452 | 319 | 1706 | 18 % |
C++ | 1 | 12 | 17 | 41 | 41 % |
C | 1 | 2 | 6 | 21 | 28 % |
SUM | 88 | 10202 | 13900 | 35041 | 39 % |
src/saber/bump
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 34 | 7145 | 10072 | 24558 | 41 % |
C/C++ Header | 1 | 6 | 7 | 51 | 13 % |
C | 1 | 2 | 6 | 21 | 28 % |
SUM | 36 | 7153 | 10085 | 24630 | 40 % |
src/saber/external
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 5 | 408 | 504 | 1571 | 32 % |
SUM | 5 | 408 | 504 | 1571 | 32 % |
src/saber/gaugrid
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 1 | 98 | 128 | 145 | 88 % |
SUM | 1 | 98 | 128 | 145 | 88 % |
src/saber/interpolation
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 2 | 225 | 327 | 721 | 45 % |
C/C++ Header | 2 | 23 | 19 | 56 | 33 % |
C++ | 1 | 12 | 17 | 41 | 41 % |
SUM | 5 | 260 | 363 | 818 | 44 % |
src/saber/model
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 14 | 547 | 808 | 2208 | 36 % |
SUM | 14 | 547 | 808 | 2208 | 36 % |
src/saber/oops
language | files | blank | comment | code | comment/code ratio |
C/C++ Header | 14 | 423 | 293 | 1599 | 18 % |
SUM | 14 | 423 | 293 | 1599 | 18 % |
src/saber/util
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 10 | 1289 | 1670 | 3051 | 54 % |
SUM | 10 | 1289 | 1670 | 3051 | 54 % |
test/mains
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 1 | 33 | 69 | 137 | 50 % |
C++ | 6 | 13 | 46 | 77 | 59 % |
SUM | 7 | 46 | 115 | 214 | 53 % |