-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move util docs, install instructions into top level docs #380
Conversation
$ python3 -m venv venv_name | ||
$ source venv_name/bin/activate | ||
|
||
Inside of your pace `venv` or conda environment pip install the Python requirements, GT4Py, and Pace: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also mention installing lint and docs with just different requirement name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added.
Communication | ||
============= | ||
|
||
As mentioned when discussing :ref:`State`, each process or "rank" on a cubed sphere is responsible for a subset of the cubed sphere grid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reference to State is not showing up when I build it locally, is something missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, fixed by adding manual anchors to the missing pages.
docs/util/communication.rst
Outdated
|
||
.. doctest:: | ||
|
||
>>> quantity.view[:] = np.arange(4)[None, :] + np.arange(4)[:, None] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do something like np.arange(4)[None, :] + 2*np.arange(4)[:, None]
so that there isn's two repeated [3,4,5,6]
for the example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switched to ones and tens.
docs/util/utilities.rst
Outdated
State can be persisted to disk using either :py:func:`pace.util.write_state` (described below) | ||
or :py:class:`pace.util.ZarrMonitor`. The latter will coordinate between ranks to | ||
write state to a unified Zarr store. Initializing it requires passing grid information. | ||
State can be persisted to disk using either :py:func:`pace.util.write_state` (described below) or :py:class:`pace.util.ZarrMonitor`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add netcdf monitor too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
launch jenkins |
Purpose
This PR moves the documentation for pace-util into the top level of the repo, and copies install instructions from the README into the sphinx docs (to be deleted from the README later when we can link to the sphinx docs).
Changes: