We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Before saving to pp-file, a user may have reason to modify or add a stash code. If the code is added in the string form, it is silently ignored.
Steps to reproduce the behaviour:
import iris fname = iris.sample_data_path('air_temp.pp') cube = iris.load_cube(fname) cube.attributes['STASH'] = 'm01s34i001' iris.save(cube, 'test.pp')
Inspect the file test.pp.
test.pp
The stash code in the file is zero.
Either the stash code in the file is 34001 or I get a type error because I should have used a STASH object instead of a string.
STASH
Please add additional verbose information in this section e.g., code, output, tracebacks, screenshots etc
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Bug Report
Before saving to pp-file, a user may have reason to modify or add a stash code. If the code is added in the string form, it is silently ignored.
How To Reproduce
Steps to reproduce the behaviour:
Inspect the file
test.pp
.The stash code in the file is zero.
Expected behaviour
Either the stash code in the file is 34001 or I get a type error because I should have used a
STASH
object instead of a string.Screenshots
Environment
Additional context
Click to expand this section...
The text was updated successfully, but these errors were encountered: