Skip to content
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

invalid Y-coordinate for location KOMo #13

Open
veenstrajelmer opened this issue Apr 3, 2024 · 4 comments
Open

invalid Y-coordinate for location KOMo #13

veenstrajelmer opened this issue Apr 3, 2024 · 4 comments
Labels

Comments

@veenstrajelmer
Copy link

veenstrajelmer commented Apr 3, 2024

incorrect location

import matplotlib.pyplot as plt
plt.close("all")
import ddlpy

locations = ddlpy.locations()
bool_stations = locations['Y'] < 3e6
selected = locations.loc[bool_stations]
print(selected[["Naam","X","Y","Coordinatenstelsel"]].sort_index())

# Create a spatial plot
fig, ax = plt.subplots(figsize=(13, 8))
ax.plot(locations.X, locations.Y, 'k.')

Gives:

                    Naam         X        Y Coordinatenstelsel
Code                                                          
KOMo  Kwdznd mg o(-7mWS)  757148.6  5862.89              25831
KOMo  Kwdznd mg o(-7mWS)  757148.6  5862.89              25831
KOMo  Kwdznd mg o(-7mWS)  757148.6  5862.89              25831
KOMo  Kwdznd mg o(-7mWS)  757148.6  5862.89              25831

And:
image

@TvLoon-RWS
Copy link
Collaborator

TvLoon-RWS commented Apr 15, 2024

This issue has been passed on to our data delivery partner, and will be fixed by the next metadata synchronisation in a few weeks time.
The coordinate should be equal to KOMb; X 654848.317 Y 5880513.971

@veenstrajelmer
Copy link
Author

veenstrajelmer commented May 16, 2024

Update 16-5-2024 (and 9-10-2024): @TvLoon-RWS There is now one additional station with incorrect y-coordinates. Output from the python code in the initial issue description:

                      Naam           X        Y Coordinatenstelsel
Code                                                              
HKN   Hollandse Kust Noord  166021.443     0.00              25831
HKN   Hollandse Kust Noord  166021.443     0.00              25831
HKN   Hollandse Kust Noord  166021.443     0.00              25831
HKN   Hollandse Kust Noord  166021.443     0.00              25831
HKN   Hollandse Kust Noord  166021.443     0.00              25831
HKN   Hollandse Kust Noord  166021.443     0.00              25831
HKN   Hollandse Kust Noord  166021.443     0.00              25831
HKN   Hollandse Kust Noord  166021.443     0.00              25831
HKN   Hollandse Kust Noord  166021.443     0.00              25831
HKN   Hollandse Kust Noord  166021.443     0.00              25831
HKN   Hollandse Kust Noord  166021.443     0.00              25831
KOMo    Kwdznd mg o(-7mWS)  757148.600  5862.89              25831
KOMo    Kwdznd mg o(-7mWS)  757148.600  5862.89              25831
KOMo    Kwdznd mg o(-7mWS)  757148.600  5862.89              25831
KOMo    Kwdznd mg o(-7mWS)  757148.600  5862.89              25831

@KDoekes-RWS
Copy link

The incorrect coordinates are in DDL but not in DONAR.

@TvLoon-RWS
Copy link
Collaborator

TvLoon-RWS commented Oct 9, 2024

HKN has for a brief moment been given data under these faulty coordinates.
This has been since 2024-06-12. new data is now given out under HKN with coordinates X 587398.972 Y 5839436.37

A new synchronization with the list of live locations is planned next month. Hopefully KOMo is corrected by that point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants