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

ANSWT refactor #23

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

dylanmikesell
Copy link

I refactored this code considerably. Many things were moved to functions, including all plot types. Also moved to a grid in kilometers rather than degrees. There is a verbose flag in the code (not accessible from CLI yet) that will turn on logging/debugging output to see the dimensions of various parameters/matrices. There is also a plot flag for either UTM or local. Local shows plots in a local grid relative to mean station location. This is not a CLI input yet either. Have to change source code. I took all of the UTM conversion from https://gist.github.com/twpayne/4409500. I include the "unproject()" function so we can go back to lat/lon for plotting. But this is not currently implemented.

@ThomasLecocq
Copy link
Owner

@dylanmikesell thanks a bunch for all this. Haven't had time to check it yet, but will do in the coming days.
Without having looked at the code, just a remark: be carefull when converting lat/lon to UTM using pyproj, if a network is across two UTM zones, we need to fix one, otherwise the distances will be crazy large.

Will be updated in the coming days, maybe we could chat/video with Aurel ? Cheers

@dylanmikesell
Copy link
Author

dylanmikesell commented Oct 26, 2020 via email

@ThomasLecocq
Copy link
Owner

again, let me know if you feel it's OK and I'll merge :)

@dylanmikesell
Copy link
Author

dylanmikesell commented Jun 5, 2021 via email

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

Successfully merging this pull request may close these issues.

2 participants