Skip to content

Commit dfd2bda

Browse files
committed
Merge branch 'master' into fix-requirements-comments
2 parents c75fc35 + 57da40a commit dfd2bda

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1506
-546
lines changed

.github/workflows/cache_data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
# Setup Miniconda
1818
- name: Setup Miniconda
19-
uses: conda-incubator/[email protected].0
19+
uses: conda-incubator/[email protected].1
2020
with:
2121
channels: conda-forge
2222
miniconda-version: "latest"

.github/workflows/ci_tests.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
steps:
3838
# Cancel previous runs that are not completed
3939
- name: Cancel Previous Runs
40-
uses: styfle/cancel-workflow-action@0.4.1
40+
uses: styfle/cancel-workflow-action@0.8.0
4141
with:
4242
access_token: ${{ github.token }}
4343

@@ -50,7 +50,7 @@ jobs:
5050

5151
# Setup Miniconda
5252
- name: Setup Miniconda
53-
uses: conda-incubator/[email protected].0
53+
uses: conda-incubator/[email protected].1
5454
with:
5555
python-version: ${{ matrix.python-version }}
5656
channels: conda-forge
@@ -76,7 +76,7 @@ jobs:
7676

7777
# Download cached remote files (artifacts) from GitHub
7878
- name: Download remote data from GitHub
79-
uses: dawidd6/action-download-artifact@v2.10.0
79+
uses: dawidd6/action-download-artifact@v2.11.0
8080
with:
8181
workflow: cache_data.yaml
8282
workflow_conclusion: success
@@ -89,7 +89,9 @@ jobs:
8989
run: |
9090
mkdir -p ~/.gmt
9191
mv .gmt/* ~/.gmt
92-
ls -lh ~/.gmt
92+
# Change modification times of the two files, so GMT won't refresh it
93+
touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt
94+
ls -lhR ~/.gmt
9395
9496
# Install the package that we want to test
9597
- name: Install the package

.github/workflows/ci_tests_dev.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
steps:
3838
# Cancel previous runs that are not completed
3939
- name: Cancel Previous Runs
40-
uses: styfle/cancel-workflow-action@0.4.1
40+
uses: styfle/cancel-workflow-action@0.8.0
4141
with:
4242
access_token: ${{ github.token }}
4343

@@ -71,7 +71,7 @@ jobs:
7171

7272
# Setup Miniconda
7373
- name: Setup Miniconda
74-
uses: conda-incubator/[email protected].0
74+
uses: conda-incubator/[email protected].1
7575
with:
7676
python-version: ${{ matrix.python-version }}
7777
channels: conda-forge
@@ -95,7 +95,7 @@ jobs:
9595

9696
# Download cached remote files (artifacts) from GitHub
9797
- name: Download remote data from GitHub
98-
uses: dawidd6/action-download-artifact@v2.10.0
98+
uses: dawidd6/action-download-artifact@v2.11.0
9999
with:
100100
workflow: cache_data.yaml
101101
workflow_conclusion: success
@@ -108,14 +108,20 @@ jobs:
108108
run: |
109109
mkdir -p ~/.gmt
110110
mv .gmt/* ~/.gmt
111-
ls -lh ~/.gmt
111+
# Change modification times of the two files, so GMT won't refresh it
112+
touch ~/.gmt/server/gmt_data_server.txt ~/.gmt/server/gmt_hash_server.txt
113+
ls -lhR ~/.gmt
112114
113115
# Install the package that we want to test
114116
- name: Install the package
115117
run: |
116118
python setup.py sdist --formats=zip
117119
pip install dist/*
118120
121+
- name: Add GMT's bin to PATH (Linux/macOS)
122+
run: echo ${GITHUB_WORKSPACE}/gmt-install-dir/bin >> $GITHUB_PATH
123+
if: runner.os != 'Windows'
124+
119125
# Run the tests
120126
- name: Test with pytest (Linux/macOS)
121127
run: make test PYTEST_EXTRA="-r P"

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
# Drafts your next Release notes as Pull Requests are merged into "master"
14-
- uses: release-drafter/release-drafter@v5.8.0
14+
- uses: release-drafter/release-drafter@v5.14.0
1515
with:
1616
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
1717
config-name: release-drafter.yml

AUTHORS.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ during [an NSF funded postdoc](http://www.leouieda.com/blog/hawaii-gmt-postdoc.h
55
with [Paul Wessel](http://www.soest.hawaii.edu/wessel) at the University of Hawaii at
66
Manoa.
77

8-
The following people have contributed code to the project (alphabetical by last name)
9-
and are considered the "PyGMT Developers":
8+
The following people have contributed code and/or documentation to the project
9+
(alphabetical by name) and are considered to be "PyGMT Developers":
1010

11-
* [Michael Grund](https://github.com/michaelgrund)
12-
* [Wei Ji Leong](https://github.com/weiji14)
13-
* [Tyler Newton](http://www.tnewton.com/)
14-
* [William Schlitzer](https://github.com/willschlitzer)
15-
* [Dongdong Tian](https://seisman.info/)
16-
* [Liam Toney](https://liam.earth/)
17-
* [Leonardo Uieda](http://www.leouieda.com/)
11+
* [Dongdong Tian](https://seisman.info/) | [0000-0001-7967-1197](https://orcid.org/0000-0001-7967-1197) | Department of Earth and Environmental Sciences, Michigan State University, East Lansing, MI, USA
12+
* [Leonardo Uieda](http://www.leouieda.com/) | [0000-0001-6123-9515](https://orcid.org/0000-0001-6123-9515) | Department of Earth, Ocean and Ecological Sciences, University of Liverpool, Liverpool, United Kingdom
13+
* [Liam Toney](https://liam.earth/) | [0000-0003-0167-9433](https://orcid.org/0000-0003-0167-9433) | Alaska Volcano Observatory and Wilson Alaska Technical Center, Geophysical Institute, University of Alaska Fairbanks, Fairbanks, AK, USA
14+
* [Malte Ziebarth](https://github.com/mjziebarth) | [0000-0002-5190-4478](https://orcid.org/0000-0002-5190-4478) | GFZ German Research Centre for Geosciences, Potsdam, Germany
15+
* [Michael Grund](https://github.com/michaelgrund) | [0000-0001-8759-2018](https://orcid.org/0000-0001-8759-2018)
16+
* [Tyler Newton](http://www.tnewton.com/) | [0000-0002-1560-6553](https://orcid.org/0000-0002-1560-6553) | Department of Earth Sciences, University of Oregon, Eugene, OR, USA
17+
* [Wei Ji Leong](https://github.com/weiji14) | [0000-0003-2354-1988](https://orcid.org/0000-0003-2354-1988) | Antarctic Research Centre, Victoria University of Wellington, Wellington, New Zealand
18+
* [William Schlitzer](https://github.com/willschlitzer) | [0000-0002-5843-2282](https://orcid.org/0000-0002-5843-2282) | Unaffiliated

AUTHORSHIP.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ be invited to be an author on the Zenodo archive of new releases.
3636
To be included as an author, you *must* add the following to the `AUTHORS.md`
3737
file of the repository:
3838

39-
1. Full name
40-
2. Affiliation (if omitted, we will use "Unaffiliated")
41-
3. ORCID (optional)
39+
1. Full name (and a link to your website or GitHub page)
40+
2. [ORCID](https://orcid.org) (optional)
41+
3. Affiliation (if omitted, we will use "Unaffiliated")
4242

4343
The order of authors will be defined by the number of commits to the repository
4444
(`git shortlog -sne`). The order can also be changed on a case-by-case basis.
@@ -54,18 +54,21 @@ there are a few options:
5454
## Scientific publications (papers)
5555

5656
We aim to write academic papers for most of our software packages. Ideally, we
57-
will publish updated papers for major changes or significant new components of the
58-
package.
57+
will publish updated papers for major changes or significant new components of
58+
the package.
5959

6060
To be included as an author on the paper, you *must* satisfy the following
6161
criteria:
6262

63-
1. Have made multiple and regular contributions to the repository, or the GMT repository, in numerous facets, such as wrapping functions, testing, and/or writing documentation.
64-
2. Have made non-coding contributions, including project administration and decision making.
63+
1. Have made multiple and regular contributions to the repository, or the GMT
64+
repository, in numerous facets, such as wrapping functions, testing, and/or
65+
writing documentation.
66+
2. Have made non-coding contributions, including project administration and
67+
decision making.
6568
3. Have participated in the writing and reviewing of the paper.
66-
2. Add your full name, affiliation, and (optionally) ORCID to the paper. These
69+
4. Add your full name, affiliation, and (optionally) ORCID to the paper. These
6770
can be submitted on pull requests to the corresponding paper repository.
68-
3. Write and/or read and review the manuscript in a timely manner and provide
71+
5. Write and/or read and review the manuscript in a timely manner and provide
6972
comments on the paper (even if it's just an "OK", but preferably more).
7073

7174
The order of authors will be defined by the number of commits made since the

doc/api/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,17 @@ Plotting data and laying out the map:
3636
Figure.meca
3737
Figure.plot
3838
Figure.plot3d
39+
Figure.set_panel
3940
Figure.shift_origin
41+
Figure.subplot
4042
Figure.text
4143

4244
Color palette table generation:
4345

4446
.. autosummary::
4547
:toctree: generated
4648

49+
grd2cpt
4750
makecpt
4851

4952
Saving and displaying the figure:

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
tutorials/earth-relief.rst
4040
tutorials/3d-perspective-image.rst
4141
tutorials/inset.rst
42+
tutorials/subplots.rst
4243
tutorials/configuration.rst
4344

4445
.. toctree::

0 commit comments

Comments
 (0)