Skip to content

Call coord.core_bounds() instead of coord.bounds in check.py - #2146

Merged
bouweandela merged 1 commit into
mainfrom
dev_core_bounds
Sep 21, 2023
Merged

Call coord.core_bounds() instead of coord.bounds in check.py#2146
bouweandela merged 1 commit into
mainfrom
dev_core_bounds

Conversation

@sloosvel

@sloosvel sloosvel commented Jul 24, 2023

Copy link
Copy Markdown
Contributor

Description

This PR avoids the realisation of bounds for auxiliary coordinates, by calling coord.core_bounds() instead of coord.bounds()

Closes #2145

Link to documentation:


Before you get started

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.


To help with the number pull requests:

@sloosvel sloosvel added the bug Something isn't working label Jul 24, 2023
@sloosvel sloosvel added this to the v2.10.0 milestone Jul 24, 2023
@codecov

codecov Bot commented Jul 24, 2023

Copy link
Copy Markdown

Codecov Report

Merging #2146 (1fa92b7) into main (f00b6c6) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2146   +/-   ##
=======================================
  Coverage   93.09%   93.09%           
=======================================
  Files         237      237           
  Lines       12795    12795           
=======================================
  Hits        11911    11911           
  Misses        884      884           
Impacted Files Coverage Δ
esmvalcore/cmor/check.py 97.61% <100.00%> (ø)

@valeriupredoi valeriupredoi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice one, cheers @sloosvel 🍺

@bouweandela bouweandela added cmor Related to the CMOR standard dask related to improvements using Dask and removed bug Something isn't working cmor Related to the CMOR standard labels Sep 21, 2023
@bouweandela
bouweandela merged commit 09e20d4 into main Sep 21, 2023
@bouweandela
bouweandela deleted the dev_core_bounds branch September 21, 2023 10:00
@zklaus zklaus added cmor Related to the CMOR standard and removed cmor Related to the CMOR standard labels Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dask related to improvements using Dask

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check.py still calls coord.bounds() instead of coord.core_bounds() in some cases

4 participants