Skip to content

Commit 8e73be5

Browse files
committed
fixed typos and made minor improvement to documentation
1 parent 5001cc9 commit 8e73be5

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: documentation
1+
name: docs
22

33
on: [push, pull_request, workflow_dispatch]
44

@@ -18,7 +18,6 @@ jobs:
1818
python-version: '3.10.5'
1919
- name: Install dependencies
2020
run: |
21-
pip install --upgrade pip
2221
pip install -r requirements.txt
2322
pip install sphinx furo sphinx-changelog
2423
- name: Sphinx build

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<a href="https://github.com/ray-chew/spec_appx/actions/workflows/documentation.yml">
1212
<img alt="GitHub Actions: docs" src=https://github.com/ray-chew/spec_appx/actions/workflows/documentation.yml/badge.svg>
1313
</a>
14-
<a href="https://www.gnu.org/licenses/agpl-3.0">
15-
<img alt="License: GNU GPL v3" src=https://img.shields.io/badge/License-AGPL_v3-blue.svg>
14+
<a href="https://www.gnu.org/licenses/gpl-3.0">
15+
<img alt="License: GPL v3" src=https://img.shields.io/badge/License-GPLv3-blue.svg>
1616
</a>
1717
<a href="https://github.com/psf/black">
1818
<img alt="Code style: black" src=https://img.shields.io/badge/code%20style-black-000000.svg>
@@ -32,7 +32,7 @@ This method is primarily used to represent terrain for weather forecasting purpo
3232

3333
---
3434

35-
**[Read the documentation here.](https://ray-chew.github.io/spec_appx/index.html)**
35+
**[Read the documentation here](https://ray-chew.github.io/spec_appx/index.html)**
3636

3737
---
3838

@@ -47,7 +47,7 @@ See [`requirements.txt`](https://github.com/ray-chew/spec_appx/blob/main/require
4747

4848
### Installation
4949

50-
Make a fork and clone your remote forked repository.
50+
Fork this repository and clone your remote fork.
5151

5252
### Configuration
5353

@@ -61,7 +61,7 @@ A simple setup can be found in [`runs.idealised_isosceles`](https://github.com/r
6161
python3 ./runs/idealised_isosceles.py
6262
```
6363

64-
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.
64+
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](https://ray-chew.github.io/spec_appx/api.html).
6565

6666
## License
6767

docs/source/quick_start.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Quickstart
22
==========
3-
A quick and dirty guide to using the CSAM codebase.
3+
A quick and dirty guide to using the CSAM codebase
44

55
Requirements
66
^^^^^^^^^^^^
@@ -15,7 +15,7 @@ Overview
1515
^^^^^^^^
1616
The CSAM codebase is structured modularly, see :numref:`structure` for a graphical overview.
1717

18-
The package :mod:`wrappers` provides interfaces to the core code components in :mod:`src` and :mod:`vis`. For example, it defines the First and Second Approximation steps in the CSAM algorithm and applies the tapering of the physical data. Refer to the APIs for more details.
18+
The package :mod:`wrappers` provides interfaces to the core code components in :mod:`src` and :mod:`vis`. For example, it defines the First and Second Approximation steps in the CSAM algorithm and applies the tapering of the physical data. Refer to the :doc:`APIs <api>` for more details.
1919

2020
Helper functions and data structures are provided for the processing of user-defined topographies (:mod:`src.var.topo`), grids (:mod:`src.var.grid`), and input parameters (:mod:`src.var.params`).
2121

@@ -199,7 +199,7 @@ To reproduce the coarse grid study (*Coarse Delaunay triangulation (approximatel
199199
200200
run_case = "R2B4"
201201
202-
2. Execute the run script :mod:`runs.delaunay_runs`. Make sure to import the correct user-defined input file:
202+
2. Make sure to import the correct user-defined input file. Then execute the run script :mod:`runs.delaunay_runs`:
203203

204204
.. code-block:: console
205205

src/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ def get_lat_lon_segments(
448448
number of data points in the padded region, by default 0
449449
topo_mask : array-like, optional
450450
tapering mask, by default None
451-
mask : _type_, optional
452-
mask to select for data points inside the non-quadrilateral grid cell, by default None
451+
mask : array-like, optional
452+
2D Boolean mask to select for data points inside the non-quadrilateral grid cell, by default None
453453
load_topo : bool, optional
454454
explicitly replaces the topography attribute in the cell ``cell.topo`` with the data given in ``topo``, by default False
455455
"""

0 commit comments

Comments
 (0)