-
Notifications
You must be signed in to change notification settings - Fork 216
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
Add support for building coordinate system with from_cf/to_cf #536
Comments
See also: cf-convention/cf-conventions#223 |
Axis example:
|
This looks useful: https://github.com/SciTools/cf-units Using: Not going to include in Also, here is the file/database for the unit name mappings:
More specifically: |
Can do fraction of unit - this can be used for unit conversion factor: >>> from cf_units import Unit
>>> u = Unit("0.5 m")
>>> u.convert(1, "m")
0.5 |
Since WKT (or PROJ JSON) is the backend for the CF conversions, additional support for different units and axis order are now possible. Currently the x/y axis order and units of meters for projected degrees for geographic are assumed.
http://cfconventions.org/cf-conventions/cf-conventions.html#coordinate-system
Examples of input units can be accessed from the coordinates:
http://cfconventions.org/cf-conventions/cf-conventions.html#coordinate-types
Additionally, the vertical component can be supported:
http://cfconventions.org/cf-conventions/cf-conventions.html#vertical-coordinate
The text was updated successfully, but these errors were encountered: