Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b723b92
initial cube arithmetic
bjlittle Jul 16, 2020
03d84de
support in-place cube resolve
bjlittle Jul 17, 2020
17c52f0
fix non in-place broadcasting
bjlittle Jul 17, 2020
3dd72c8
remove temporary resolve scenario test
bjlittle Jul 17, 2020
1d43315
lenient/strict support for attributes dicts with numpy arrays
bjlittle Jul 22, 2020
197fea0
lenient/strict treatment of scalar coordinates
bjlittle Jul 24, 2020
26934f0
strict points/bounds matching
bjlittle Jul 24, 2020
d658619
lenient/strict prepare local dim/aux/scalar coordinates
bjlittle Jul 27, 2020
98f7875
support extended broadcasting
bjlittle Aug 4, 2020
389d617
always raise exception on points/bounds mismatch
bjlittle Aug 4, 2020
407f301
ignore scalar points/bounds mismatches, lenient only
bjlittle Aug 5, 2020
0b64a7f
remove todos
bjlittle Aug 5, 2020
f9f4a2e
tidy logger debugs
bjlittle Aug 5, 2020
7a74615
qualify src/tgt cube references in debug
bjlittle Aug 5, 2020
d56650d
Numpy rounding fix (#3758)
stephenworsley Jul 23, 2020
52a39e9
avoid unittest.mock.sentinel copy issue
bjlittle Aug 5, 2020
b143e4c
fast load np.int32
bjlittle Aug 5, 2020
c9156fe
fix cube maths doctest
bjlittle Aug 6, 2020
2f80637
fix iris.common.resolve logging configuration
bjlittle Aug 6, 2020
a304bf8
fix prepare points/bounds + extra metadata cml
bjlittle Aug 8, 2020
5f1c984
support mapping reversal based on free dims
bjlittle Aug 8, 2020
14a3bfb
var_name fix for lenient equality
bjlittle Aug 10, 2020
d19a7f3
add support for DimCoordMetadata
bjlittle Aug 11, 2020
7ca2223
fix circular flag + support CoordMetadata and DimCoordMetadata exchange
bjlittle Aug 12, 2020
2eada82
fix circular issue for concatenate DimCoord->AuxCoord demotion
bjlittle Aug 12, 2020
1c25997
fix concatenate._CubeSignature sorted
bjlittle Aug 12, 2020
fe98ed0
minor tweaks
bjlittle Aug 12, 2020
246921b
keep lenient_client private in maths
bjlittle Aug 12, 2020
8e564fa
tidy maths
bjlittle Aug 12, 2020
99852d2
tidy iris.analysis.maths.IFunc
bjlittle Aug 13, 2020
f3e682e
refactor IFunc test
bjlittle Aug 13, 2020
4ae36ae
polish in-place support
bjlittle Aug 13, 2020
6720540
tidy metadata_resolve
bjlittle Aug 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ ignore =
E402,
# E501: line too long
E501,
# E731: do not assign a lambda expression, use a def
E731,
# W503: line break before binary operator
W503,
# W504: line break after binary operator
Expand Down
4 changes: 4 additions & 0 deletions docs/iris/src/userguide/cube_maths.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ but with the data representing their difference:
Scalar coordinates:
forecast_reference_time: 1859-09-01 06:00:00
height: 1.5 m
Attributes:
Conventions: CF-1.5
Model scenario: E1
source: Data from Met Office Unified Model 6.05


.. note::
Expand Down
7 changes: 5 additions & 2 deletions lib/iris/_concatenate.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,11 @@ def __init__(self, cube):
axes = dict(T=0, Z=1, Y=2, X=3)

# Coordinate sort function - by guessed coordinate axis, then
# by coordinate metadata, then by dimensions, in ascending order.
# by coordinate name, then by dimensions, in ascending order.
def key_func(coord):
return (
axes.get(guess_coord_axis(coord), len(axes) + 1),
coord.metadata,
coord.name(),
cube.coord_dims(coord),
)

Expand Down Expand Up @@ -859,6 +859,9 @@ def _build_aux_coordinates(self):
points, bounds=bnds, **kwargs
)
except ValueError:
# Ensure to remove the "circular" kwarg, which may be
# present in the defn of a DimCoord being demoted.
_ = kwargs.pop("circular", None)
coord = iris.coords.AuxCoord(
points, bounds=bnds, **kwargs
)
Expand Down
Loading