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

Bug when setting datum and coordinate conversion parameters #6

Closed
davidhassell opened this issue Nov 7, 2019 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@davidhassell
Copy link
Contributor

When setting datum and coordinate conversion parameters via the coordinate reference construct attributes, the new settings do not appear in the parent coordinate reference construct:

In [1]: import cfdm                                                                                          

In [2]: cr = cfdm.CoordinateReference()                                                                      

In [3]: cr.datum.set_parameter('test', 123)                                                                  

In [4]: cr.dump()                                                                                            
Coordinate Reference: 
@davidhassell davidhassell added the bug Something isn't working label Nov 7, 2019
@davidhassell
Copy link
Contributor Author

This is fixed for version 1.7.9:

In [1]: import cfdm                                                                                          

In [2]: cfdm.__version__                                                                                     
Out[2]: '1.7.9'

In [3]: cr = cfdm.CoordinateReference()                                                                      

In [4]: cr.datum.set_parameter('test', 123)                                                                  

In [5]: cr.dump()                                                                                            
Coordinate Reference: 
    Datum:test = 123

davidhassell added a commit that referenced this issue Nov 7, 2019
@davidhassell davidhassell self-assigned this Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant