Skip to content

Commit bb29347

Browse files
Merge pull request #51 from pangeo-data/fix-34
Fix 34
2 parents b9af3da + a3afd71 commit bb29347

File tree

4 files changed

+18
-29
lines changed

4 files changed

+18
-29
lines changed

doc/index.rst

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -70,32 +70,22 @@ Contents
7070
How to ask for help
7171
-------------------
7272

73-
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:
73+
The `GitHub issue tracker <https://github.com/pangeo-data/xESMF/issues>`_ is the primary place for bug reports. If you hit any issues, I recommend the following steps:
7474

75-
- 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.
75+
- 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. You might also want to search issues in the original repository `<https://github.com/JiaweiZhuang/xESMF/issues>`_.
7676

7777
- 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.
7878

79-
- 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.
79+
- For platform-dependent problems (such as kernel dying and installation error), please also show how to reproduce your system environment, otherwise we 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.
8080

81-
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_>`_.
82-
83-
84-
**The "Don'ts"**:
85-
86-
- 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.
87-
- Do not only show the error/problem without providing the steps to reproduce it.
88-
- Do not take screenshots of your code, as they are not copy-pastable.
81+
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>`_).
8982

9083

9184
How to support xESMF
9285
--------------------
86+
Your support in any form will be appreciated. The easy ways (takes several seconds):
9387

94-
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.
95-
96-
The easy ways (takes several seconds):
97-
98-
- `Give a star <https://help.github.com/en/articles/saving-repositories-with-stars>`_ to its `GitHub repository <https://github.com/JiaweiZhuang/xESMF>`_.
88+
- `Give a star <https://help.github.com/en/articles/saving-repositories-with-stars>`_ to its `GitHub repository <https://github.com/pangeo-data/xESMF>`_.
9989
- Share it via social media like Twitter; introduce it to your friends/advisors/students.
10090

10191
More advanced ways:

doc/installation.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ Installation
66
Try on Binder without local installation
77
----------------------------------------
88

9-
The `Binder project <https://mybinder.readthedocs.io>`_ provides pre-configured environment in the cloud. You just need a web browser to access it. Please follow the Binder link on `xESMF's GitHub page <https://github.com/JiaweiZhuang/xESMF>`_.
9+
The `Binder project <https://mybinder.readthedocs.io>`_ provides pre-configured environment in the cloud. You just need a web browser to access it. Please follow the Binder link on `xESMF's GitHub page <https://github.com/pangeo-data/xESMF>`_.
1010

1111
Install on local machine with Conda
1212
-----------------------------------
1313

14-
xESMF requires Python>=3.5. The major dependencies are xarray and ESMPy. The best way to install them is using Conda_.
14+
xESMF requires Python>=3.6. The major dependencies are xarray and ESMPy. The best way to install them is using Conda_.
1515

16-
First, `install miniconda <https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html>`_. Then, I recommend creating a new, clean environment:
16+
First, `install miniconda <https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html>`_. Then, we recommend creating a new, clean environment:
1717

1818
.. code-block:: bash
1919
@@ -28,9 +28,9 @@ Getting xESMF is as simple as:
2828
2929
.. warning::
3030

31-
One some platforms you might get :code:`ImportError: Regrid(filename) requires PIO and does not work if ESMF has not been built with MPI support`. (see `this comment <https://github.com/JiaweiZhuang/xESMF/issues/47#issuecomment-582421822>`_). A quick workaround is to constrain ESMPy version :code:`conda install -c conda-forge xesmf esmpy=7.1.0`.
31+
One some platforms you might get :code:`ImportError: Regrid(filename) requires PIO and does not work if ESMF has not been built with MPI support`. (see `this comment <https://github.com/JiaweiZhuang/xESMF/issues/47#issuecomment-582421822>`_). A quick workaround is to constrain ESMPy version :code:`conda install -c conda-forge xesmf esmpy=8.0.0`.
3232

33-
I also highly recommend those extra packages for full functionality:
33+
We also highly recommend those extra packages for full functionality:
3434

3535
.. code-block:: bash
3636
@@ -82,11 +82,11 @@ Install development version from GitHub repo
8282

8383
To get the latest version that is not uploaded to PyPI_ yet::
8484

85-
$ pip install --upgrade git+https://github.com/JiaweiZhuang/xESMF.git
85+
$ pip install --upgrade git+https://github.com/pangeo-data/xESMF.git
8686

8787
Developers can track source code change::
8888

89-
$ git clone https://github.com/JiaweiZhuang/xESMF.git
89+
$ git clone https://github.com/pangeo-data/xESMF.git
9090
$ cd xESMF
9191
$ pip install -e .
9292

doc/other_tools.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Other geospatial regridding tools
44
=================================
55

6-
Here is a brief overview of other regridding tools that the author is aware of
6+
Here is a brief overview of other regridding tools that the authors are aware of
77
(for geospatial data on the sphere, excluding traditional image resizing functions).
88
They are all great tools and have helped the author a lot in both scientific research
99
and xESMF development. Check them out if xESMF cannot suit your needs.
@@ -31,10 +31,9 @@ the daunting compiling process on your own.
3131

3232
However, ESMPy is a complicated Python API that controls a huge Fortran beast
3333
hidden underneath. It is not as intuitive as native Python packages, and even
34-
a simple regridding task requires more than 10 lines of arcane code. That's why
35-
I made xESMF. If you want to involve in xESMF development you need to know ESMPy.
36-
Check out this nice
37-
`tutorial <https://github.com/nawendt/esmpy-tutorial>`_
34+
a simple regridding task requires more than 10 lines of arcane code. The
35+
purpose of xESMF is to provide a friendlier interface to the xarray community.
36+
Check out this nice `tutorial <https://github.com/nawendt/esmpy-tutorial>`_
3837
before going to the
3938
`official doc <http://www.earthsystemmodeling.org/esmf_releases/last_built/esmpy_doc/html/index.html>`_.
4039

doc/why.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For usability and simplicity
4040

4141
:ref:`Current geospatial regridding tools <other_tools-label>` tend to have non-trivial learning curves.
4242
xESMF tries to be simple and intuitive.
43-
Instead of inventing a new data structure, it relies on well-estabilished standards
43+
Instead of inventing a new data structure, it relies on well-established standards
4444
(numpy and xarray), so users don't need to learn a bunch of new syntaxes or even a new software stack.
4545

4646
xESMF can track metadata in ``xarray.DataArray`` / ``xarray.Dataset``, and

0 commit comments

Comments
 (0)