Skip to content

Commit

Permalink
guide on asking for help and providing support
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiZhuang committed Aug 6, 2019
1 parent 6fda4b2 commit 0a3d391
Showing 1 changed file with 41 additions and 10 deletions.
51 changes: 41 additions & 10 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ It is
- **Fast**: It is faster than ESMPy's original Fortran regridding engine in serial case
(surprise! here's :doc:`benchmark <./Backend>`), and also supports dask_ for `out-of-core, parallel computation <http://xarray.pydata.org/en/stable/dask.html>`_.

.. note::

xESMF is at early stage of development and will keep improving in the future.
The major regridding API should be quite stable,
but minor ultilities could change in the next version.
If you find any bugs or would like to request any enhancements,
please `raise an issue on GitHub <https://github.com/JiaweiZhuang/xESMF/issues>`_.
.. _ESMF: https://www.earthsystemcog.org/projects/esmf/
.. _ESMPy: https://www.earthsystemcog.org/projects/esmpy/
.. _xarray: http://xarray.pydata.org
.. _dask: https://dask.org/


Contents
--------
Expand Down Expand Up @@ -63,7 +62,39 @@ Contents
user_api
internal_api

.. _ESMF: https://www.earthsystemcog.org/projects/esmf/
.. _ESMPy: https://www.earthsystemcog.org/projects/esmpy/
.. _xarray: http://xarray.pydata.org
.. _dask: https://dask.org/

How to ask for help
-------------------

The `GitHub issue tracker <https://github.com/JiaweiZhuang/xESMF/issues>`_ is the primary place for bug reports. If you hit any issues, I recommend the following steps:

- First, `search for existing issues <https://help.github.com/en/articles/searching-issues-and-pull-requests>`_. Other people are likely to hit the same problem and probably have already found the solution.

- For a new bug, please `craft a minimal bug report <https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports>`_ with reproducible code. Use synthetic data or `upload <https://help.github.com/en/articles/file-attachments-on-issues-and-pull-requests>`_ a small sample of input data (~1 MB) so I can quickly reproducible your error.

- For platform-dependent problems (such as kernel dying and installation error), please also show how to reproduce your system environment, otherwise I have no way to diagnose the issue. The best approach is probably finding an `official Docker image <https://docs.docker.com/docker-hub/official_images/>`_ that is closest to your OS (such as `Ubuntu <https://hub.docker.com/_/ubuntu/>`_ or `CentOS <https://hub.docker.com/_/centos/>`_), and build your Python environment starting with such image, to see whether the error still exists. Alternatively you can select from public cloud images, such as `Amazon Machine Images <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html>`_ or `Google Cloud Images <https://cloud.google.com/compute/docs/images>`_. If the error only happens on your institution's HPC cluster, please contact the system administrator for help.

For general "how-to" questions that are not bugs, you can also post on `StackOverflow <https://stackoverflow.com/>`_ (ref: `xarray questions <https://stackoverflow.com/questions/tagged/python-xarray>`_) and send me the link. For small questions also feel free to @ me `on Twitter <https://twitter.com/Jiawei_Zhuang_>`_.


**The "Don'ts"**:

- Do not describe your problem in a private email, as this would require me to reply similar emails many times. `Keep all discussions in public places <https://matthewrocklin.com/blog/2019/02/28/slack-github>`_ like GitHub or StackOverflow.
- Do not only show the error/problem without providing the steps to reproduce it.
- Do not take screenshots of your code, as they are not copy-pastable.


How to support xESMF
--------------------

xESMF is so far my personal unfunded project; most development happens during my (very limited) free time at graduate school. Your support in any form will be appreciated.

The easy ways (takes several seconds):

- `Give a star <https://help.github.com/en/articles/saving-repositories-with-stars>`_ to its `GitHub repository <https://github.com/JiaweiZhuang/xESMF>`_.
- Share it via social media like Twitter; introduce it to your friends/advisors/students.

More advanced ways:

- Cite xESMF in your scientific publications. Currently the best way is to cite the DOI: https://doi.org/10.5281/zenodo.1134365.
- If you'd like to contribute code, see this `preliminary contributor guide <https://github.com/JiaweiZhuang/xESMF/issues/28>`_. Also see `Contributing to xarray <http://xarray.pydata.org/en/stable/contributing.html>`_ for more backgrounds.

0 comments on commit 0a3d391

Please sign in to comment.