> Are there known efforts or interest to develop some WKT-to-grid_mapping 
> translation modules?

I brought this up in the past: https://github.com/OSGeo/PROJ/issues/1193. 
However, I think it would require more interest in the community and/or funding 
to make it happen.

I have a basic implementation based on the [PROJ strings 
mappings](https://github.com/cf-convention/cf-conventions/wiki/Mapping-from-CF-Grid-Mapping-Attributes-to-CRS-WKT-Elements)
 in `pyproj`:
- https://pyproj4.github.io/pyproj/stable/api/crs.html#pyproj.crs.CRS.from_cf
- https://pyproj4.github.io/pyproj/stable/api/crs.html#pyproj.crs.CRS.to_cf

However, the mapping back and forth is imperfect and misses quite a bit. I have 
plans to update grid mappings based on WKT as that will allow a more complete 
mapping. PROJ string mappings code 
[here](https://github.com/pyproj4/pyproj/blob/67ff137f8d734fbaa4aac32363b85dd5e33dad5c/pyproj/cf1x8.py).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/cf-convention/cf-conventions/issues/222#issuecomment-574207697

This list forwards relevant notifications from Github.  It is distinct from 
cf-metad...@cgd.ucar.edu, although if you do nothing, a subscription to the 
UCAR list will result in a subscription to this list.
To unsubscribe from this list only, send a message to 
cf-metadata-unsubscribe-requ...@listserv.llnl.gov.

Reply via email to