Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into comment_rendering
Browse files Browse the repository at this point in the history
* upstream/main:
  Implement Pydata theme (SciTools#4661)
  tweak whatsnew (SciTools#4682)
  Bump peter-evans/create-pull-request from 4.0.0 to 4.0.1 (SciTools#4675)
  Reorder Constraints sections of user guide, add time bounds example (SciTools#4656)
  Updated environment lockfiles (SciTools#4678)
  Updated environment lockfiles (SciTools#4677)
  Automatic reversal of DimCoord bounds (SciTools#4466)
  'Deep' benchmarks to catch scaling with field count (SciTools#4654)
  Updated environment lockfiles (SciTools#4655)
  Fixed cube arithmetic for cubes with meshes. (SciTools#4651)
  update black (SciTools#4668)
  Include note to strip out Artifactory (SciTools#4666)
  Fix nearest_neighbour_index for edge case where requested point is float and bounds are int (SciTools#4245)
  Lazy Percentile Aggregator (SciTools#3901)
  Preserve position when replacing Axes with GeoAxes (SciTools#4273)
  • Loading branch information
tkknight committed Apr 10, 2022
2 parents af282bb + 591c9f4 commit 0b2ab82
Show file tree
Hide file tree
Showing 100 changed files with 7,553 additions and 1,292 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
# Increment the build number to force new conda cache upload.
CONDA_CACHE_BUILD: "0"
# Increment the build number to force new nox cache upload.
NOX_CACHE_BUILD: "0"
NOX_CACHE_BUILD: "2"
# Increment the build number to force new pip cache upload.
PIP_CACHE_BUILD: "0"
# Pip packages to be upgraded/installed.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/refresh-lockfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@d6d5519d05f5814158ef015b8448f2f74648c421
uses: peter-evans/create-pull-request@f1a7646cead32c950d90344a4fb5d4e926972a8f
with:
commit-message: Updated environment lockfiles
committer: "Lockfile bot <noreply@github.com>"
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:
- id: no-commit-to-branch

- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
pass_filenames: false
Expand Down
8 changes: 5 additions & 3 deletions benchmarks/benchmarks/load/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@


class LoadAndRealise:
# For data generation
timeout = 600.0
params = [
[(2, 2, 2), (1280, 960, 5)],
[(2, 2, 2), (1280, 960, 5), (2, 2, 1000)],
[False, True],
["FF", "PP", "NetCDF"],
]
Expand Down Expand Up @@ -68,7 +70,7 @@ def time_realise(self, _, __, ___, ____) -> None:

class STASHConstraint:
# xyz sizes mimic LoadAndRealise to maximise file re-use.
params = [[(2, 2, 2), (1280, 960, 5)], ["FF", "PP"]]
params = [[(2, 2, 2), (1280, 960, 5), (2, 2, 1000)], ["FF", "PP"]]
param_names = ["xyz", "file_format"]

def setup_cache(self) -> dict:
Expand Down Expand Up @@ -155,7 +157,7 @@ class StructuredFF:
avoiding the cost of merging.
"""

params = [[(2, 2, 2), (1280, 960, 5)], [False, True]]
params = [[(2, 2, 2), (1280, 960, 5), (2, 2, 1000)], [False, True]]
param_names = ["xyz", "structured_loading"]

def setup_cache(self) -> dict:
Expand Down
2 changes: 2 additions & 0 deletions docs/gallery_code/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _gallery_index:

Gallery
=======

Expand Down
1 change: 1 addition & 0 deletions docs/gallery_code/general/README.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
General
-------

144 changes: 144 additions & 0 deletions docs/src/_static/icon_api.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions docs/src/_static/icon_development.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0b2ab82

Please sign in to comment.