-
Notifications
You must be signed in to change notification settings - Fork 0
juliarize #2
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
base: main
Are you sure you want to change the base?
juliarize #2
Conversation
Let's make this public as well? |
Make what public? |
The repo, it's currently private |
Haha totally I didn't know that |
Ok this is now a huge refactor.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't gone through the changes yet...9n mobile but had a thought
"direction" => "east", | ||
"unit" => UNIT_DEGREE, | ||
), | ||
OrderedDict( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make these LittleDicts (basically vectors) instead, apparently they are a lot faster
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are they ordered? I just wanted to keep the output organised and non random
I juliarized this a bit while getting my head around how it works.
But I find the layout and naming (of the original pyproj) quite unintuitive - CoordinateOperation and Conversion are really opaque names.
We also still have un-julian type syntax function calls like
AzimuthalEquidistantConversion
.To fix both confusion things at once they should probably be
_azimuthal_equidistant__to_proj_json_dict
to match the opposite function_azimuthal_equidistant__to_cf
.Then
ProjJSONCoordinateOperation
can just beProjJSONDict
as we are directly converting it to ProjJSON withJSON3.write(operation.dict)
anyway, there is no operation (well the operation is that later Proj.jl conversions know this is a converted crs, and process it accordingly. But it's valid ProjJSON in the Dictionary, it could hold other ProjJSON classes and work for them too)