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
>>> cf.environment(paths=False) Platform: Linux-5.3.0-46-generic-x86_64-with-debian-buster-sid HDF5 library: 1.10.4 netcdf library: 4.6.3 udunits2 library: libudunits2.so.0 python: 3.7.3 netCDF4: 1.5.3 cftime: 1.1.1 numpy: 1.18.1 psutil: 5.4.7 scipy: 1.4.1 matplotlib: 3.2.0 ESMF: 8.0.0 cfdm: 1.8.0 cfunits: 3.2.5 cfplot: not available cf: 3.2.0
The creation_command method of the coordinate constructs ignores a geometry type if it has been set. This should be included. E.g.
creation_command
>>> x = f.coordinate('X') >>> x.get_geometry() 'polygon' >>> print(x.creation_commands(representative_data=True)) # auxiliary_coordinate: longitude c = cf.AuxiliaryCoordinate() c.set_properties({'units': 'degrees_east', 'standard_name': 'longitude'}) d = <CF Data(2): [10.0, 40.0] degrees_east> # Representative data c.set_data(d) c.nc_set_variable('lon') b = cf.Bounds() b.set_properties({'units': 'degrees_east', 'standard_name': 'longitude', 'axis': 'X'}) d = <CF Data(2, 3, 4): [[[20.0, ..., --]]] degrees_east> # Representative data b.set_data(d) b.nc_set_variable('x') c.set_bounds(b)
The text was updated successfully, but these errors were encountered:
Fixed in v3.3.0
Sorry, something went wrong.
davidhassell
Successfully merging a pull request may close this issue.
The
creation_command
method of the coordinate constructs ignores a geometry type if it has been set. This should be included. E.g.The text was updated successfully, but these errors were encountered: