Skip to content

Commit 5ae05b4

Browse files
authored
Documentation website updates (earth-system-radiation#179)
More substantive content in the Jekyll pages, RTE kernels in-line documentation complete (merging from develop)
1 parent 85f5233 commit 5ae05b4

22 files changed

+361
-343
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ examples/*/*/*.nc
3535

3636
# gh-pages directory
3737
public
38+
39+
# Ruby stuff
40+
Gemfile.lock

doc/ford_site/pages/Organized_Listing.md

-22
This file was deleted.

doc/ford_site/pages/Tutorial.md

-31
This file was deleted.

doc/ford_site/pages/index.md

-12
This file was deleted.
+8-11
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
project: RRTMGP-Fortran
33
summary: RRTMGP is a correlated k-distribution for computing fluxes in earth's atmosphere.
4-
54
preprocessor: gfortran -E
65
display: public
76
sort: permission-alpha
87
graph: true
98
md_extensions: markdown.extensions.toc
9+
author: The RTE+RRTTMGP consortium
10+
github: https://github.com/earth-system-radiation/
11+
license: by
1012
title: RRTMGP Fortran interfaces
1113
src_dir: ../../rrtmgp
1214
exclude_dir: ../../rrtmgp/kernels
@@ -16,16 +18,11 @@ output_dir: ../../public/reference/rrtmgp-fortran-interface
1618

1719
These pages describe the Fortran user interface to RTE.
1820

19-
## How to Read This Documentation
20-
21-
Start with the [README] and the [Tutorial](./page/Tutorial.html).
22-
Additionally, there is a page that provides a higher level organizational overview that you can find [here](./page/Organized_Listing.html).
23-
24-
The listings below are not exhaustive.
21+
The listings below may not be exhaustive.
2522
To see the full listings use the links at the top of the page.
26-
Also, if you know what you're looking for, there is a search bar in the top right.
23+
There is a search bar in the top right.
2724

28-
Take me back to the [User Documentation].
25+
Return to the [Documentation overview] or the [reference overview].
2926

30-
[README]: https://github.com/earth-system-radiation/rte-rrtmgp/blob/main/README.md
31-
[User Documentation]: ../../index.html
27+
[Documentation overview]: ../../index.html
28+
[reference overview]: ../../reference.html

doc/ford_site/rrtmgp-kernels.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
11
---
22
project: RRTMGP kernels
33
summary: RRTMGP is a correlated k-distribution for computing fluxes in earth's atmosphere.
4-
54
preprocessor: gfortran -E
65
display: public
76
sort: permission-alpha
87
graph: true
98
md_extensions: markdown.extensions.toc
9+
author: The RTE+RRTTMGP consortium
10+
github: https://github.com/earth-system-radiation/
11+
license: by
1012
title: RRTMGP kernels
1113
src_dir: ../../rrtmgp/kernels
1214
output_dir: ../../public/reference/rrtmgp-kernels
1315
...
1416

1517
These pages document the low-level computational kernels used by RRTMGP.
1618

17-
## How to Read This Documentation
18-
19-
Start with the [README] and the [Tutorial](./page/Tutorial.html).
20-
Additionally, there is a page that provides a higher level organizational overview that you can find [here](./page/Organized_Listing.html).
21-
2219
The listings below may not be exhaustive.
2320
To see the full listings use the links at the top of the page.
24-
If you know what you're looking for, there is a search bar in the top right.
21+
There is a search bar in the top right.
2522

26-
Take me back to the [User Documentation].
23+
Return to the [Documentation overview] or the [reference overview].
2724

28-
[README]: https://github.com/earth-system-radiation/rte-rrtmgp/blob/main/README.md
29-
[User Documentation]: ../../index.html
25+
[Documentation overview]: ../../index.html
26+
[reference overview]: ../../reference.html

doc/ford_site/rte-fortran-interface.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
project: RTE-Fortran
33
summary: RTE describes radiation problems in planetary atmospheres and computes radiative fluxes.
4-
54
preprocessor: gfortran -E
65
display: public
76
sort: permission-alpha
87
graph: true
98
md_extensions: markdown.extensions.toc
9+
author: The RTE+RRTTMGP consortium
10+
github: https://github.com/earth-system-radiation/
11+
license: by
1012
title: RTE Fortran interfaces
1113
src_dir: ../../rte
1214
exclude_dir: ../../rte/kernels
@@ -22,17 +24,6 @@ along with boundary conditions and/or [internal sources](./module/mo_source_func
2224
The reduction of spectrally- and spatially-detailed calculations that specifies the output
2325
is defined in a [flux output type](./module/mo_fluxes.html)
2426

25-
RTE aspires to follow a set of coding conventions:
26-
27-
- Module names start with `mo_`, class/type names with `ty_`.
28-
- Real variables are defined with working precision `wp`; logical variables with `wl`.
29-
Both Fortran KIND parameters are set in [mo_rte_kind.F90]
30-
- Most procedures in RTE and RRTMGP are functions which return a string. A non-empty string indicates an error of some kind.
31-
- RTE and RRTMGP operate on multiple columns (profiles) at once. Problems are dimensioned by column, layer,
32-
and spectral quadrature point.
33-
- RTE and RRTMGP are agnostic to vertical ordering
34-
- Units are MKS
35-
3627
The optical properties module provides a way to specify the spectrally-dependent
3728
optical properties of the atmosphere consistent with calculations neglecting scattering,
3829
using two-stream scattering, or using n-stream scattering.
@@ -42,7 +33,16 @@ using two-stream scattering, or using n-stream scattering.
4233
- `alloc()` routines to allocate memory once the problem size is known
4334
- `finalize()` routines to reset variables to an un-initialized state
4435
- Some classes have `get_ncol()` and `get_nlay()` methods to report the problem size
45-
- Some classes have get_subset() methods to extract values along the column dimension
36+
- Some classes have `get_subset()` methods to extract values along the column dimension
37+
38+
The listings below may not be exhaustive.
39+
To see the full listings use the links at the top of the page.
40+
There is a search bar in the top right.
41+
42+
Return to the [Documentation overview] or the [reference overview].
43+
44+
[Documentation overview]: ../../index.html
45+
[reference overview]: ../../reference.html
4646

4747
<!---
4848
## How to Read This Documentation

doc/ford_site/rte-kernels.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
11
---
22
project: RTE kernels
33
summary: RTE describes radiation problems in planetary atmospheres and computes radiative fluxes.
4-
54
preprocessor: gfortran -E
65
display: public
76
sort: permission-alpha
87
graph: true
98
md_extensions: markdown.extensions.toc
9+
author: The RTE+RRTTMGP consortium
10+
github: https://github.com/earth-system-radiation/
11+
license: by
1012
title: RTE kernels
1113
src_dir: ../../rte/kernels
1214
output_dir: ../../public/reference/rte-kernels
1315
...
1416

1517
These pages document the low-level computational kernels used by RRTMGP.
1618

17-
## How to Read This Documentation
18-
19-
Start with the [README] and the [Tutorial](./page/Tutorial.html).
20-
Additionally, there is a page that provides a higher level organizational overview that you can find [here](./page/Organized_Listing.html).
21-
2219
The listings below are not exhaustive.
2320
To see the full listings use the links at the top of the page.
24-
Also, if you know what you're looking for, there is a search bar in the top right.
21+
There is a search bar in the top right.
2522

26-
Take me back to the [User Documentation].
23+
Return to the [Documentation overview] or the [reference overview].
2724

28-
[README]: https://github.com/earth-system-radiation/rte-rrtmgp/blob/main/README.md
29-
[User Documentation]: ../../index.html
25+
[Documentation overview]: ../../index.html
26+
[reference overview]: ../../reference.html

doc/jekyll_site/Tutorials.md

-6
This file was deleted.

doc/jekyll_site/_config.yml

+12-8
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# For technical reasons, this file is *NOT* reloaded automatically when you use
99
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
1010
#
11-
# If you need help with YAML syntax, here are some quick references for you:
11+
# If you need help with YAML syntax, here are some quick references for you:
1212
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
1313
# https://learnxinyminutes.com/docs/yaml/
1414
#
@@ -19,15 +19,19 @@
1919
# in the templates via {{ site.myvariable }}.
2020

2121
title: RTE-RRTMGP
22-
email: your-email@example.com
22+
email: rrtmgp@aer.com
2323
description: >- # this means to ignore newlines until "baseurl:"
24-
Write an awesome description for your new site here. You can edit this
25-
line in _config.yml. It will appear in your document head meta (for
26-
Google search results) and in your feed.xml site description.
24+
RTE+RRTMGP is a set of codes for computing radiative fluxes in
25+
planetary atmospheres. RRTMGP uses a k-distribution to provide an optical
26+
description (absorption and possibly Rayleigh optical depth) of the gaseous
27+
atmosphere, along with the relevant source functions, on a pre-determined
28+
spectral grid given temperatures, pressures, and gas concentration.
29+
RTE computes fluxes given spectrally-resolved optical descriptions and
30+
source functions.
2731
baseurl: "/rte-rrtmgp" # the subpath of your site, e.g. /blog
28-
url: "https://sourceryinstitute.github.io/rte-rrtmgp/" # the base hostname & protocol for your site, e.g. http://example.com
32+
url: "https://earth-system-radiation.github.io/" # the base hostname & protocol for your site, e.g. http://example.com
2933
twitter_username: #jekyllrb
30-
github_username: #jekyll
34+
github_username: earth-system-radiation
3135

3236
# Build settings
3337
theme: minima
@@ -52,4 +56,4 @@ theme: minima
5256
# - vendor/bundle/
5357
# - vendor/cache/
5458
# - vendor/gems/
55-
# - vendor/ruby/
59+
# - vendor/ruby/

doc/jekyll_site/_posts/2022-01-05-welcome-to-RTE.markdown

-7
This file was deleted.

doc/jekyll_site/_posts/2022-01-05-welcome-to-jekyll.markdown

-6
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
layout: post
3+
title: "2022-06-02: Release notes"
4+
categories: Release-notes
5+
---
6+
7+
Commit [a4fe30c](https://github.com/earth-system-radiation/rte-rrtmgp/commit/a4fe30cf4dab2e5fd8d3ab6f11683a82ae584475)
8+
to branch `main` makes the following changes:
9+
10+
- Solar zenith angle can vary with height, allowing for calculations on a pseudo-spherical earth
11+
- New documentation site, partly hand-written (still essentially empty) and partly auto-generated from comments in code (partly complete).
12+
- Workaround for Intel compilers on specific AMD processors
13+
- Python dependencies made explicit in environment.yml files
14+
- Move from wget to Python for downloading files in testing
15+
- Public visibility and C-bindings restricted to just a few kernels
16+
- Assorted consistency and prettifying

doc/jekyll_site/about.markdown

-18
This file was deleted.

doc/jekyll_site/discussions.md

-6
This file was deleted.

doc/jekyll_site/explanations.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
layout: "page"
3+
title: "Explanations"
4+
---
5+
6+
# Explanations will live here
7+
8+
### Spectral discretization
9+
10+
The spectral properties of the atmosphere and the source functions depend on electromagnetic wavelength (or frequency or wavenumber). RTE treats this spectral dependence by dividing the spectrum into one or more _bands_, each of which represents a continuous set of wavelengths/frequencies. Bands may be further sub-divided into _g-points_ (the language is borrowed from _k_-distributions). Each _g_-point is treated as a independent psudo-monchromatic calculation but there is no inherent mapping between _g_-points and wavelengths; the sum over _g_-points is the band-average value.
11+
12+
The bands defined by RRTMGP cover the full spectrum of radiation emitted by the Sun and Earth: these are _broadband_ calculations. In RRTMGP the bands are continuous so that the ending wavelength of one band is the starting wavelength of the next.

doc/jekyll_site/howtos.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: "page"
3-
title: "How To's"
3+
title: "How-to guides"
44
---
55

6-
# This is a site for How To's
6+
# How-to guides will live here

0 commit comments

Comments
 (0)