NCAS-CMS / cf-python

A CF-compliant Earth Science data analysis library
http://ncas-cms.github.io/cf-python
MIT License
127 stars 19 forks source link

documentation error in https://ncas-cms.github.io/cf-python/method/cf.Field.coordinates.html #748

Closed JonathanGregory closed 8 months ago

JonathanGregory commented 8 months ago

Something has been garbled here, I think:

Examples

>> f.coordinates() Constructs: }

>> f.coordinates() Constructs: ‘auxiliarycoordinate0’: <CF AuxiliaryCoordinate: latitude(10, 9) degrees_N>, ‘auxiliarycoordinate1’: <CF AuxiliaryCoordinate: longitude(9, 10) degrees_E>,

etc. When I try this method, I get

>>> f.coordinates()
<CF Constructs: dimension_coordinate(3)>
davidhassell commented 8 months ago

Thanks, Jonathan. Could you please post the URL of the offending page? I can't find it by grepping in the code nor the html!

JonathanGregory commented 8 months ago

It's in the title of the issue viz. https://ncas-cms.github.io/cf-python/method/cf.Field.coordinates.html

davidhassell commented 8 months ago

Got it! It will be fixed int he next release. Thanks for spotting it.

JonathanGregory commented 8 months ago

Thanks for fixing it.