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 | 68 | 8367 | 11949 | 29558 | 40 % |
C/C++ Header | 16 | 376 | 265 | 1320 | 20 % |
C++ | 1 | 12 | 17 | 41 | 41 % |
C | 1 | 2 | 6 | 21 | 28 % |
SUM | 86 | 8757 | 12237 | 30940 | 39 % |
src/saber/bump
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 34 | 6240 | 8899 | 22219 | 40 % |
C/C++ Header | 1 | 6 | 7 | 40 | 17 % |
C | 1 | 2 | 6 | 21 | 28 % |
SUM | 36 | 6248 | 8912 | 22280 | 40 % |
src/saber/external
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 5 | 352 | 431 | 1449 | 29 % |
SUM | 5 | 352 | 431 | 1449 | 29 % |
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 | 221 | 325 | 704 | 46 % |
C/C++ Header | 2 | 23 | 19 | 56 | 33 % |
C++ | 1 | 12 | 17 | 41 | 41 % |
SUM | 5 | 256 | 361 | 801 | 45 % |
src/saber/model
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 14 | 539 | 940 | 1977 | 47 % |
SUM | 14 | 539 | 940 | 1977 | 47 % |
src/saber/oops
language | files | blank | comment | code | comment/code ratio |
C/C++ Header | 13 | 347 | 239 | 1224 | 19 % |
SUM | 13 | 347 | 239 | 1224 | 19 % |
src/saber/util
language | files | blank | comment | code | comment/code ratio |
Fortran 90 | 9 | 893 | 1177 | 2246 | 52 % |
SUM | 9 | 893 | 1177 | 2246 | 52 % |
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 % |