Skip to content

Conversation

@pp-mo
Copy link
Member

@pp-mo pp-mo commented Jun 5, 2020

WIP: DO NOT MERGE
We will eventually do this...

It seems we have gained a test failure somehow
Otherwise, nearly ready to go.

@pp-mo pp-mo added this to the v3.0.0 milestone Jun 5, 2020
stephenworsley and others added 23 commits June 11, 2020 11:10
* Remove file-format interoperability tests (gone to iris-grib).

* Don't install iris-grib for 'full' travis tests.

* Remove 'stock cube' loaded from grib (unused).

* Remove unused CMLs

* Remove grib from system filetypes testing.

* Remove grib-specific test support.

* Install grib support for docs+examples only.

* Update example code to use iris-grib.

* Remove iris-grib check from test runner.

* Remove intersphinx mapping to iris-grib docs (unused).

* Remove flake8 excludes for sourcefiles no longer existing.

* Reinstate 'stop' code, removed in error.
…data (#3746)

* Replace grib file with netcdf in polar_stereo example.

* Remove iris-grib from Travis testing.

* New image hash for new version of test_polar_stereo.
overhaul to use readthedocs theme and service and added whatsnew contribution for readthedocs
ensure rounding is numpy like (maintains type)
* enabled pdf creation

* removed pdf target as it is replaced by Read The Docs service feature
Tidy up gallery code
* whatsnew overhaul

* corrected link

* various corrections

* typo fix

* Update docs/iris/src/developers_guide/documenting/whats_new_contributions.rst

Co-authored-by: Patrick Peglar <[email protected]>

* Âwording improvements

Co-authored-by: Patrick Peglar <[email protected]>
* PI-3478: Common metadata API (#3583)

* common metadata api

* rationalise _cube_coord_common into common

* move state into metadata

* MetadataFactory test coverage

* temporarily pin back iris-grib

* test coverage for iris.common.metadata._BaseMeta

* test coverage for iris.common.mixin.LimitedAttributeDict

* remove temporary iris-grib pin

* review actions

* Update lib/iris/tests/unit/common/metadata/test_BaseMetadata.py

Co-Authored-By: lbdreyer <[email protected]>

* [FB] [PI-3478] Lenient metadata (#3739)

* add lenient infra-structure

* add metadata lenient __eq__ support

* complete __eq__, combine and difference support

* explicit inherited lenient_service + support equal convenience

* fix attributes difference + lenient kwargs

* make lenient public + minor tidy

* rename MetadataManagerFactory to metadata_manager_factory

* extend lenient_client decorator to support services registration

* add lenient test coverage

* purge qualname usage in metadata.py

* support global enable for lenient services

* support partial mapping metadata assignment

* purge Lenient.__setattr__ from api

* add BaseMetadata compare test coverage

* metadata rationalisation

* add BaseMetadata difference test coverage

* added context manager ephemeral comment clarification

* add BaseMetadata __ne__ test coverage

* standardise lenient decorator closure names

* add BaseMetadata equal test coverage

* half dunder context

* add AncillaryVariableMetadata test coverage

* add additional AncillaryVariableMetadata test coverage

* add CellMeasureMetadata test coverage

* Clarify lenient_service operation + simplify code.

* add CoordMetadata test coverage

* add CubeMetadata test coverage

* metadata tests use self.cls

* fix typo

* fix context manager ephemeral services

* add logging

* Pin pillow to make graphics tests work again. (#3630)

* Fixed tests since Numpy 1.18 deprecation of non-int num arguments for linspace. (#3655)

* Switched use of datetime.weekday() to datetime.dayofwk. (#3687)

* New image hashes for mpl 3x2 (#3682)

* New image hash for iris.test.test_plot.TestSymbols.test_cloud_cover with matplotlib 3.2.0.

* Further images changes for mpl3x2.

* Yet more updated image results.

* fix sentinel uniqueness test failure

* remove redundant cdm mapping test

* difference returns None for no difference

* protect Lenient and LENIENT private

* privitise lenient framework and add API veneer

* add explicit maths feature default

* review actions

* review actions

* trexfeathers review actions

* stephenworsley review actions

Co-authored-by: Patrick Peglar <[email protected]>
Co-authored-by: Martin Yeo <[email protected]>

* [FB] [PI-3478] Lenient cube arithmetic (#3774)

* initial cube arithmetic

* support in-place cube resolve

* fix non in-place broadcasting

* remove temporary resolve scenario test

* lenient/strict support for attributes dicts with numpy arrays

* lenient/strict treatment of scalar coordinates

* strict points/bounds matching

* lenient/strict prepare local dim/aux/scalar coordinates

* support extended broadcasting

* always raise exception on points/bounds mismatch

* ignore scalar points/bounds mismatches, lenient only

* remove todos

* tidy logger debugs

* qualify src/tgt cube references in debug

* Numpy rounding fix (#3758)

ensure rounding is numpy like (maintains type)

* avoid unittest.mock.sentinel copy issue

* fast load np.int32

* fix cube maths doctest

* fix iris.common.resolve logging configuration

* fix prepare points/bounds + extra metadata cml

* support mapping reversal based on free dims

* var_name fix for lenient equality

* add support for DimCoordMetadata

* fix circular flag + support CoordMetadata and DimCoordMetadata exchange

* fix circular issue for concatenate DimCoord->AuxCoord demotion

* fix concatenate._CubeSignature sorted

* minor tweaks

* keep lenient_client private in maths

* tidy maths

* tidy iris.analysis.maths.IFunc

* refactor IFunc test

* polish in-place support

* tidy metadata_resolve

Co-authored-by: stephenworsley <[email protected]>

* rebase master fix-up for cube arithmetic

* add missing new dependency to readthedocs.yml requirements

Co-authored-by: lbdreyer <[email protected]>
Co-authored-by: Patrick Peglar <[email protected]>
Co-authored-by: Martin Yeo <[email protected]>
Co-authored-by: stephenworsley <[email protected]>
* Used ref syntax for links

* Tweaked image link
bjlittle and others added 6 commits August 15, 2020 17:43
* Put in place but not enabled yet, a spell checker for the sphinx documentation (sphinxcontrib-spelling).  Includes all the spelling corrections.

* Reverted to US spelling
…its_merge

* upstream/default_units:
  fix test (#3732)
  Unify saving behaviour of "unknown" and "no_unit" (#3711)
  Change default loading unit from "1" to "unknown" (correct branch) (#3709)
  Change default units to "unknown" for all DimensionalMetadata (#3713)
@abooton abooton changed the title Mergeback "default_units" feature branch Merge "default_units" feature branch (to master) Aug 19, 2020
[FB] default_units: Update merge-base to commit 1873ce1
@abooton
Copy link
Contributor

abooton commented Aug 20, 2020

Resolving conflict in #3794

@abooton abooton closed this Aug 20, 2020
@abooton abooton deleted the default_units branch August 20, 2020 08:22
@abooton abooton restored the default_units branch August 20, 2020 08:22
@abooton abooton reopened this Aug 20, 2020
@abooton
Copy link
Contributor

abooton commented Aug 20, 2020

Superseded by #3795

@abooton abooton closed this Aug 20, 2020
@bjlittle bjlittle deleted the default_units branch September 11, 2020 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants