Skip to content

Commit abbfd14

Browse files
authored
Merge pull request #43 from PCMDI/lee1043-patch-1
Update docs for the package and installation
2 parents 4f06179 + 902ba53 commit abbfd14

File tree

2 files changed

+59
-4
lines changed

2 files changed

+59
-4
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
[![Formatted with black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
1313

1414

15+
| Name | Downloads | Version | Platforms |
16+
| --- | --- | --- | --- |
17+
| [![Conda Recipe](https://img.shields.io/badge/recipe-esmbenchmarkviz-green.svg)](https://anaconda.org/conda-forge/esmbenchmarkviz) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/esmbenchmarkviz.svg)](https://anaconda.org/conda-forge/esmbenchmarkviz) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/esmbenchmarkviz.svg)](https://anaconda.org/conda-forge/esmbenchmarkviz) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/esmbenchmarkviz.svg)](https://anaconda.org/conda-forge/esmbenchmarkviz) |
18+
1519
ESMBenchmarkViz is a Python-based interactive visualization toolkit built with Bokeh, designed to facilitate the collective evaluation, intercomparison, and benchmarking of Earth System Models (ESMs). The tool provides a user-friendly interface for analyzing model performance, enabling researchers to make informed comparisons and insights into ESM behavior.
1620

1721
## Developer

docs/installation.rst

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,60 @@
11
.. _installation:
22

3-
Installation
4-
============
3+
Installation using conda (recommended)
4+
======================================
55

6-
The **ESMBenchmarkViz** package is not yet available on the conda-forge channel. To install it, you will need to clone the repository and install it locally using `pip`. The following steps will guide you through the process.
6+
Installing `esmbenchmarkviz` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with:
7+
8+
.. code-block:: bash
9+
10+
conda config --add channels conda-forge
11+
conda config --set channel_priority strict
12+
13+
Once the `conda-forge` channel has been enabled, `esmbenchmarkviz` can be installed with `conda`:
14+
15+
.. code-block:: bash
16+
17+
conda install esmbenchmarkviz
18+
19+
or with `mamba`:
20+
21+
.. code-block:: bash
22+
23+
mamba install esmbenchmarkviz
24+
25+
26+
It is possible to list all of the versions of `esmbenchmarkviz` available on your platform with `conda`:
27+
28+
.. code-block:: bash
29+
30+
conda search esmbenchmarkviz --channel conda-forge
31+
32+
33+
or with `mamba`:
34+
35+
.. code-block:: bash
36+
37+
mamba search esmbenchmarkviz --channel conda-forge
38+
39+
40+
Alternatively, `mamba repoquery` may provide more information:
41+
42+
.. code-block:: bash
43+
44+
# Search all versions available on your platform:
45+
mamba repoquery search esmbenchmarkviz --channel conda-forge
46+
47+
# List packages depending on `esmbenchmarkviz`:
48+
mamba repoquery whoneeds esmbenchmarkviz --channel conda-forge
49+
50+
# List dependencies of `esmbenchmarkviz`:
51+
mamba repoquery depends esmbenchmarkviz --channel conda-forge
52+
53+
54+
Installation from the source code
55+
=================================
56+
57+
To install from the source code, you will need to clone the repository and install it locally using `pip`. The following steps will guide you through the process.
758

859
Prerequisites
960
-------------
@@ -60,4 +111,4 @@ If you encounter any issues during installation, please check that you have the
60111

61112
----
62113

63-
For more information, visit the project repository: https://github.com/PCMDI/ESMBenchmarkViz
114+
For more information, visit the project repository: https://github.com/PCMDI/ESMBenchmarkViz

0 commit comments

Comments
 (0)