rHEALPix projection: discrepancy between pyproj/PROJ and native Python implementation in rhealpixdggs #1422
-
Hello! Manaaki Whenua Landcare Research maintains We're aiming to modernise that package and would like to move away from the internal versions of the We've noticed some discrepancies in cell coordinates when projecting a planar dart cell in a DGGS with 3 subcells per side onto the sphere. It's causing some of our tests to fail when using A code snippet that helps check for the discrepancy is:
Examining
Examining
Note the discrepancy with inverted sign in Also note that there's no such discrepancy in We're not sure how to handle this but it's currently blocking progress on the migration to Some in-depth info for delving further into the problemWhat gets called internally when using
which then calls (with
with
where Environment Informationpyproj info: System: Python deps: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi. I guess this is a question for PROJ. (I never know what is better, the mailing list https://lists.osgeo.org/mailman/listinfo/proj or github). Pyproj is a python layer on top of PROJ, and apparently your problem is related to the transformation itself. About the examples you are providing, please make an example that does not depend on any external software. Yes, you are using |
Beta Was this translation helpful? Give feedback.
Hi.
I guess this is a question for PROJ. (I never know what is better, the mailing list https://lists.osgeo.org/mailman/listinfo/proj or github). Pyproj is a python layer on top of PROJ, and apparently your problem is related to the transformation itself.
About the examples you are providing, please make an example that does not depend on any external software. Yes, you are using
rhealpixdggs.dggs
, but you should create a test only withPROJ
commands. Probablycs2cs
orcct
.