forked from pydata/xarray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into corr-bug
* upstream/main: (86 commits) Fixed a mispelling of dimension in dataarray documentation for from_dict (pydata#6020) [pre-commit.ci] pre-commit autoupdate (pydata#6014) [pre-commit.ci] pre-commit autoupdate (pydata#5990) Use set_options for asv bottleneck tests (pydata#5986) Fix module name retrieval in `backend.plugins.remove_duplicates()`, plugin tests (pydata#5959) Check for py version instead of try/except when importing entry_points (pydata#5988) Add "see also" in to_dataframe docs (pydata#5978) Alternate method using inline css to hide regular html output in an untrusted notebook (pydata#5880) Fix mypy issue with entry_points (pydata#5979) Remove pre-commit auto update (pydata#5958) Do not change coordinate inplace when throwing error (pydata#5957) Create CITATION.cff (pydata#5956) Add groupby & resample benchmarks (pydata#5922) Fix plot.line crash for data of shape (1, N) in _title_for_slice on format_item (pydata#5948) Disable unit test comments (pydata#5946) Publish test results from workflow_run only (pydata#5947) Generator for groupby reductions (pydata#5871) whats-new dev whats-new for 0.20.1 (pydata#5943) Docs: fix URL for PTSA (pydata#5935) ...
- Loading branch information
Showing
137 changed files
with
7,059 additions
and
1,612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: Benchmark | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize, labeled] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
benchmark: | ||
if: ${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }} | ||
name: Linux | ||
runs-on: ubuntu-20.04 | ||
env: | ||
ASV_DIR: "./asv_bench" | ||
|
||
steps: | ||
# We need the full repo to avoid this issue | ||
# https://github.com/actions/checkout/issues/23 | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Miniconda | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
# installer-url: https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh | ||
installer-url: https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh | ||
|
||
- name: Setup some dependencies | ||
shell: bash -l {0} | ||
run: | | ||
pip install asv | ||
sudo apt-get update -y | ||
- name: Run benchmarks | ||
shell: bash -l {0} | ||
id: benchmark | ||
env: | ||
OPENBLAS_NUM_THREADS: 1 | ||
MKL_NUM_THREADS: 1 | ||
OMP_NUM_THREADS: 1 | ||
ASV_FACTOR: 1.5 | ||
ASV_SKIP_SLOW: 1 | ||
run: | | ||
set -x | ||
# ID this runner | ||
asv machine --yes | ||
echo "Baseline: ${{ github.event.pull_request.base.sha }} (${{ github.event.pull_request.base.label }})" | ||
echo "Contender: ${GITHUB_SHA} (${{ github.event.pull_request.head.label }})" | ||
# Use mamba for env creation | ||
# export CONDA_EXE=$(which mamba) | ||
export CONDA_EXE=$(which conda) | ||
# Run benchmarks for current commit against base | ||
ASV_OPTIONS="--split --show-stderr --factor $ASV_FACTOR" | ||
asv continuous $ASV_OPTIONS ${{ github.event.pull_request.base.sha }} ${GITHUB_SHA} \ | ||
| sed "/Traceback \|failed$\|PERFORMANCE DECREASED/ s/^/::error::/" \ | ||
| tee benchmarks.log | ||
# Report and export results for subsequent steps | ||
if grep "Traceback \|failed\|PERFORMANCE DECREASED" benchmarks.log > /dev/null ; then | ||
exit 1 | ||
fi | ||
working-directory: ${{ env.ASV_DIR }} | ||
|
||
- name: Add instructions to artifact | ||
if: always() | ||
run: | | ||
cp benchmarks/README_CI.md benchmarks.log .asv/results/ | ||
working-directory: ${{ env.ASV_DIR }} | ||
|
||
- uses: actions/upload-artifact@v2 | ||
if: always() | ||
with: | ||
name: asv-benchmark-results-${{ runner.os }} | ||
path: ${{ env.ASV_DIR }}/.asv/results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
cff-version: 1.2.0 | ||
message: "If you use this software, please cite it as below." | ||
authors: | ||
- family-names: "Hoyer" | ||
given-names: "Stephan" | ||
orcid: "https://orcid.org/0000-0002-5207-0380" | ||
- family-names: "Roos" | ||
given-names: "Maximilian" | ||
- family-names: "Joseph" | ||
given-names: "Hamman" | ||
orcid: "https://orcid.org/0000-0001-7479-8439" | ||
- family-names: "Magin" | ||
given-names: "Justus" | ||
- family-names: "Cherian" | ||
given-names: "Deepak" | ||
orcid: "https://orcid.org/0000-0002-6861-8734" | ||
- family-names: "Fitzgerald" | ||
given-names: "Clark" | ||
orcid: "https://orcid.org/0000-0003-3446-6389" | ||
- family-names: "Hauser" | ||
given-names: "Mathias" | ||
orcid: "https://orcid.org/0000-0002-0057-4878" | ||
- family-names: "Fujii" | ||
given-names: "Keisuke" | ||
orcid: "https://orcid.org/0000-0003-0390-9984" | ||
- family-names: "Maussion" | ||
given-names: "Fabien" | ||
orcid: "https://orcid.org/0000-0002-3211-506X" | ||
- family-names: "Imperiale" | ||
given-names: "Guido" | ||
- family-names: "Clark" | ||
given-names: "Spencer" | ||
orcid: "https://orcid.org/0000-0001-5595-7895" | ||
- family-names: "Kleeman" | ||
given-names: "Alex" | ||
- family-names: "Nicholas" | ||
given-names: "Thomas" | ||
orcid: "https://orcid.org/0000-0002-2176-0530" | ||
- family-names: "Kluyver" | ||
given-names: "Thomas" | ||
orcid: "https://orcid.org/0000-0003-4020-6364" | ||
- family-names: "Westling" | ||
given-names: "Jimmy" | ||
- family-names: "Munroe" | ||
given-names: "James" | ||
orcid: "https://orcid.org/0000-0001-9098-6309" | ||
- family-names: "Amici" | ||
given-names: "Alessandro" | ||
orcid: "https://orcid.org/0000-0002-1778-4505" | ||
- family-names: "Barghini" | ||
given-names: "Aureliana" | ||
- family-names: "Banihirwe" | ||
given-names: "Anderson" | ||
orcid: "https://orcid.org/0000-0001-6583-571X" | ||
- family-names: "Bell" | ||
given-names: "Ray" | ||
orcid: "https://orcid.org/0000-0003-2623-0587" | ||
- family-names: "Hatfield-Dodds" | ||
given-names: "Zac" | ||
orcid: "https://orcid.org/0000-0002-8646-8362" | ||
- family-names: "Abernathey" | ||
given-names: "Ryan" | ||
orcid: "https://orcid.org/0000-0001-5999-4917" | ||
- family-names: "Bovy" | ||
given-names: "Benoît" | ||
- family-names: "Omotani" | ||
given-names: "John" | ||
orcid: "https://orcid.org/0000-0002-3156-8227" | ||
- family-names: "Mühlbauer" | ||
given-names: "Kai" | ||
orcid: "https://orcid.org/0000-0001-6599-1034" | ||
- family-names: "Roszko" | ||
given-names: "Maximilian K." | ||
orcid: "https://orcid.org/0000-0001-9424-2526" | ||
- family-names: "Wolfram" | ||
given-names: "Phillip J." | ||
orcid: "https://orcid.org/0000-0001-5971-4241" | ||
title: "xarray" | ||
doi: 10.5281/zenodo.598201 | ||
url: "https://github.com/pydata/xarray" | ||
preferred-citation: | ||
type: article | ||
authors: | ||
- family-names: "Hoyer" | ||
given-names: "Stephan" | ||
orcid: "https://orcid.org/0000-0002-5207-0380" | ||
- family-names: "Joseph" | ||
given-names: "Hamman" | ||
orcid: "https://orcid.org/0000-0001-7479-8439" | ||
doi: "10.5334/jors.148" | ||
journal: "Journal of Open Research Software" | ||
month: 4 | ||
title: "xarray: N-D labeled Arrays and Datasets in Python" | ||
volume: 5 | ||
issue: 1 | ||
year: 2017 |
Oops, something went wrong.