Skip to content

Commit

Permalink
Docs improvements (#117)
Browse files Browse the repository at this point in the history
* remove mike for versioning and remove edit_uri

* use absolute link

* mention explorer

* newline

* add link for land cover

* remove mike

* fix changelog link in pyproject
  • Loading branch information
ejm714 committed Oct 11, 2023
1 parent 7488130 commit a56a3c6
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 9 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,19 @@ severity moderate
```

To see all of the available options, run `cyfi predict-point --help`.

### A note on severity levels

Severity levels are based on World Health Organization (WHO) cyanobacteria density thresholds.

- Low: 0 - 20,000 cells/ml
- Moderate: 20,000 - 100,000 cells/ml
- High: > 100,000 cells/ml

However users should feel free to to use their own thresholds as makes sense for their needs.

### Visualizing predictions

Launch the [CyFi Explorer](https://cyfi.drivendata.org/explorer/) to view the Sentinel-2 imagery used to generate each cyanobacteria estimate!

![Screenshot of CyFi explorer showing the predictions table along with the Sentinel-2 imagery.](docs/docs/images/explorer_screenshot_2.jpg)
6 changes: 5 additions & 1 deletion docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ Severity levels are based on World Health Organization (WHO) cyanobacteria densi

However users should feel free to to use their own thresholds as makes sense for their needs.

### Visualizing predictions

Launch the [CyFi Explorer](explorer.md) to view the Sentinel-2 imagery used to generate each cyanobacteria estimate!

------

## About the model
Expand All @@ -164,7 +168,7 @@ CyFi relies on two data sources as input:

**Land cover map**

* The Climate Research Data Package (CRDP) Land Cover Gridded Map (2020) classifies land surface into 22 classes, which have been defined using the United Nations Food and Agriculture Organization's Land Cover Classification System (LCCS). This map is based on data from the Medium Resolution Imaging Spectrometer (MERIS) sensor on board the polar-orbiting Envisat-1 environmental research satellite by the European Space Agency. This data comes from the CCI-LC database hosted by the ESA Climate Change Initiative's Land Cover project.
* The Climate Research Data Package (CRDP) Land Cover Gridded Map (2020) classifies land surface into 22 classes, which have been defined using the United Nations Food and Agriculture Organization's Land Cover Classification System (LCCS). This map is based on data from the Medium Resolution Imaging Spectrometer (MERIS) sensor on board the polar-orbiting Envisat-1 environmental research satellite by the European Space Agency. This data comes from the CCI-LC database hosted by the [ESA Climate Change Initiative's Land Cover project](https://www.esa-landcover-cci.org/?q=node/164).

### Overview of the model

Expand Down
7 changes: 2 additions & 5 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ site_name: cyfi
site_url: https://cyfi.drivendata.org/
site_description: A python package to predict cyanobacteria density based on Sentinel-2 satellite imagery
repo_url: https://github.com/drivendataorg/cyfi
edit_uri: ""
theme:
name: flatly

nav:
- Installation: "installation.md"
- Quickstart: "./#quickstart"
- Quickstart: "index.md/#quickstart"
- Visualize: "explorer.md"
- Background: "about.md"
- Changelog: "changelog.md"
Expand All @@ -17,10 +18,6 @@ markdown_extensions:
permalink: True
toc_depth: 3

extra:
version:
provider: mike

extra_css:
- style.css

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ dev = [
"black",
"flake8",
"jupyter",
"mike",
"mkdocs",
"mkdocs-bootswatch",
"pytest",
Expand All @@ -73,7 +72,7 @@ dev = [
"Repository" = "https://github.com/drivendataorg/cyfi"
"Documentation" = "https://cyfi.drivendata.org/"
"Bug Tracker" = "https://github.com/drivendataorg/cyfi/issues"
"Changelog" = "https://cyfi.drivendata.org/stable/changelog/"
"Changelog" = "https://cyfi.drivendata.org/changelog/"

[tool.black]
line-length = 99
Expand Down
1 change: 0 additions & 1 deletion requirements_docs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
mike
mkdocs
mkdocs-bootswatch

0 comments on commit a56a3c6

Please sign in to comment.