-
Notifications
You must be signed in to change notification settings - Fork 8
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
Merge projected
and is_geographic
#187
Comments
Probably good to know, the main reason I set the projected property is because I ran into problems with multiple coordinate systems, i.e. a dataset that listed both x and y coordinates as well as longitude and latitude. It's currently only used to determine which names to write ("latitude" or "y") and the attributes of the coordinate. Regarding the naming: these are obviously the same. I didn't like Which mentions:
I guess I'm okay with either cartesian being either True or False. |
Do you still have such an example dataset or is it in the testbank? It would be good to check if reading this does not fail with code changes that might come from this issue. I expect this was generated by FM with
I am aware of this, but outside of meshkernel the distinction in different spherical/geometric properties has no added value as far as I know. |
Here's is where it's used: https://github.com/Deltares/xugrid/blob/main/xugrid/ugrid/conventions.py#L61 There are some tests here: xugrid/tests/test_ugrid_dataset.py Line 762 in 699452b
|
Missed
projected
initialization argument when implementingis_geograpic
property in #186Would be cleaner if these two can be aligned.
However, the projected property is not properly set:
Returns:
Should return:
The text was updated successfully, but these errors were encountered: