Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error when writing to disk coordinates with a computed_standard_name #254

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

davidhassell
Copy link
Contributor

Fixes #253

@davidhassell davidhassell added this to the 1.10.1.0 milestone Mar 29, 2023
@codecov
Copy link

codecov bot commented Mar 29, 2023

Codecov Report

Merging #254 (875a8ab) into main (538d869) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #254   +/-   ##
=======================================
  Coverage   87.55%   87.55%           
=======================================
  Files         124      124           
  Lines       12804    12804           
=======================================
  Hits        11209    11209           
  Misses       1595     1595           
Flag Coverage Δ
unittests 87.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cfdm/read_write/netcdf/netcdfwrite.py 87.07% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@sadielbartholomew sadielbartholomew left a comment

Choose a reason for hiding this comment

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

I am struggling to reproduce the original error (AttributeError as per the attached Issue) here. Could you provide a code snippet that produces it for you so I can check it throws it in my environment? (I intend to add as a review comment that we should really add some testing to capture the bug that has been fixed, as well as just the fix itself, so that can go towards that hopefully!)

Copy link
Member

@sadielbartholomew sadielbartholomew left a comment

Choose a reason for hiding this comment

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

Discussed offline, with my previous question answered. All good.

@davidhassell davidhassell merged commit 91f751c into NCAS-CMS:main Apr 14, 2023
@davidhassell davidhassell deleted the computed-standard-name branch April 14, 2023 16:44
@davidhassell davidhassell added the netCDF write Relating to writing netCDF datasets label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
netCDF write Relating to writing netCDF datasets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when writing to disk coordinates with a computed_standard_name
2 participants