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

Closest shoreline distance #182

Merged
merged 16 commits into from
Dec 19, 2023

Conversation

pmia712
Copy link
Contributor

@pmia712 pmia712 commented Dec 9, 2023

I've implemented a lookup table that contains pre-computed distances to the closest shoreline.
To make things work a new class - LookupTableIO has been introduced into the utils package. This handles the file management of the lookup table data (import, export). The functionality itself has been introduced in Regions class which manages calculations. Additionally there has been added an bilinear interpolation method to make calculations take less time while (by testing) the accuracy was not affected.

All implemented methods have been tested in RegionsTest test class.

pmia712 and others added 11 commits November 26, 2023 01:54
… closest-shoreline-distance

# Conflicts:
#	GlobalQuakeCore/src/main/java/globalquake/core/regions/Regions.java
added some examples of the CMD or Terminal lines to the RUN section. (May need fact checking although it is correct to my knowledge) - Bryce From NZ (discord)
@pmia712
Copy link
Contributor Author

pmia712 commented Dec 9, 2023

Closes issue #152

@xspanger3770 xspanger3770 merged commit b05a9d5 into xspanger3770:develop Dec 19, 2023
1 check passed
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.

None yet

3 participants