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

Import GeoTIFF #51

Merged
merged 13 commits into from
Feb 21, 2024
Merged

Import GeoTIFF #51

merged 13 commits into from
Feb 21, 2024

Conversation

boriskaus
Copy link
Member

@boriskaus boriskaus commented Feb 21, 2024

This PR introduces a new, optional, function (loaded when GMT is loaded along with GeophysicalModelGenerator):

julia> using GeophysicalModelGenerator, GMT
[ Info: Precompiling GMT_utils [20136216-f3a3-54f4-8003-01a59bbc487c]
Loading GMT routines within GMG

julia> BSS=ImportGeoTIFF("BSS_Spline.tif")
GeoData 
  size      : (4555, 3088, 1)
  lon       ϵ [ 4.610545073 : 9.164545073000001]
  lat       ϵ [ 44.80314822030936 : 47.890148220309364]
  depth     ϵ [ 4.636612175090704e-9 : 0.12225032806396485]; has NaN's
  fields    : (:layer1,)

@boriskaus boriskaus requested a review from aelligp February 21, 2024 13:42
Copy link
Collaborator

@aelligp aelligp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool thanks.

@boriskaus boriskaus merged commit 83504cb into main Feb 21, 2024
21 checks passed
@boriskaus boriskaus deleted the bk-gmt-import branch February 21, 2024 21:24
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