Skip to content

Commit de7b7e9

Browse files
committed
give up trying to make restructuredtext behave well with the readme, switched to markdown
1 parent d120a31 commit de7b7e9

File tree

2 files changed

+71
-82
lines changed

2 files changed

+71
-82
lines changed

README.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
[![CSAM Logo](https://ray-chew.github.io/spec_appx/_static/logo.png)](https://ray-chew.github.io/spec_appx/index.html)
2+
3+
<h2 align="center">Constrained Spectral Approximation Method</h2>
4+
5+
6+
<p align="center">
7+
<a href="https://github.com/ray-chew/spec_appx/actions/workflows/documentation.yml">
8+
<img alt="GitHub Actions: docs" src=https://github.com/ray-chew/spec_appx/actions/workflows/documentation.yml/badge.svg>
9+
</a>
10+
<a href="https://www.gnu.org/licenses/agpl-3.0">
11+
<img alt="License: GNU GPL v3" src=https://img.shields.io/badge/License-AGPL_v3-blue.svg>
12+
</a>
13+
<a href="https://github.com/psf/black">
14+
<img alt="Code style: black" src=https://img.shields.io/badge/code%20style-black-000000.svg>
15+
</a>
16+
</p>
17+
18+
19+
The Constrained Spectral Approximation Method (CSAM) is a physically sound and robust method for approximating the spectrum of subgrid-scale orography. It operates under the following constraints:
20+
21+
* Utilises a limited number of spectral modes (no more than 100)
22+
* Significantly reduces the complexity of physical terrain by over 500 times
23+
* Maintains the integrity of physical information to a large extent
24+
* Compatible with unstructured geodesic grids
25+
* Inherently scale-aware
26+
27+
This method is primarily used to represent terrain for weather forecasting purposes, but it also shows promise for broader data analysis applications.
28+
29+
---
30+
31+
**[Read the documentation here.](https://ray-chew.github.io/spec_appx/index.html)**
32+
33+
---
34+
35+
## Requirements
36+
37+
See [`requirements.txt`](https://github.com/ray-chew/spec_appx/blob/main/requirements.txt)
38+
39+
> **NOTE:** The Sphinx dependencies can be found in [`docs/conf.py`](https://github.com/ray-chew/spec_appx/blob/main/docs/source/conf.py).
40+
41+
42+
## Usage
43+
44+
### Installation
45+
46+
Make a fork and clone your remote forked repository.
47+
48+
### Configuration
49+
50+
The user-defined input parameters are in the [`inputs`](https://github.com/ray-chew/spec_appx/tree/main/inputs) subpackage. These parameters are imported into the run scripts in [`runs`](https://github.com/ray-chew/spec_appx/tree/main/runs).
51+
52+
### Execution
53+
54+
A simple setup can be found in [`runs.idealised_isosceles`](https://github.com/ray-chew/spec_appx/blob/main/runs/idealised_isosceles.py). To execute this run script:
55+
56+
```console
57+
python3 ./runs/idealised_isosceles.py
58+
```
59+
60+
However, the codebase is structured such that the user can easily assemble a run script to define their own experiments. Refer to the documentation for the available APIs.
61+
62+
## License
63+
64+
GNU GPL v3 (tentative)
65+
66+
## Contributions
67+
68+
Refer to the open issues that require attention.
69+
70+
Any changes, improvements, or bug fixes can be submitted to upstream via a pull request.
71+

README.rst

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)