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

Wrong type of attributes of projection #4

Open
julemai opened this issue May 16, 2019 · 0 comments
Open

Wrong type of attributes of projection #4

julemai opened this issue May 16, 2019 · 0 comments

Comments

@julemai
Copy link
Member

julemai commented May 16, 2019

geotiff2netcdf.py produces netCDFs that are not CF compliant. The problem is the type of several attributes of the projection variable lambert_azimuthal_equal_area:

------------------
Checking variable: lambert_azimuthal_equal_area
------------------
ERROR: (5.6): Attribute longitude_of_projection_origin of incorrect data type (Appendix F)
ERROR: (5.6): Attribute semi_major_axis of incorrect data type (Appendix F)
ERROR: (5.6): Attribute false_northing of incorrect data type (Appendix F)
ERROR: (5.6): Attribute false_easting of incorrect data type (Appendix F)
ERROR: (5.6): Attribute latitude_of_projection_origin of incorrect data type (Appendix F)
ERROR: (5.6): Attribute semi_minor_axis of incorrect data type (Appendix F)

The type needs to be of a numerical type not string. See very bottom of this webpage for reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant