Skip to content

Commit ae11514

Browse files
committed
data_import
1 parent 808ea9d commit ae11514

File tree

9 files changed

+38
-38
lines changed

9 files changed

+38
-38
lines changed

docs/src/man/Tutorial_Jura.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ upperright = [8.948117154811715, 47.781282316442606, 0.0]
4141
We can now import the map with the `Screensho_To_GeoData` function:
4242

4343
```julia
44-
Geology = screenshotToGeoData("SchoriM_Encl_01_Jura-map_A1.png", lowerleft, upperright, fieldname=:geology_colors) # name should have "colors" in it
44+
Geology = screenshot_to_GeoData("SchoriM_Encl_01_Jura-map_A1.png", lowerleft, upperright, fieldname=:geology_colors) # name should have "colors" in it
4545
```
4646

4747
You can "drape" this image on the topographic map with
@@ -89,7 +89,7 @@ As example, we use the cross-section
8989
download_data("https://zenodo.org/records/10726801/files/Schori_2020_Ornans-Miserey-v2_whiteBG.png", "Schori_2020_Ornans-Miserey-v2_whiteBG.png")
9090
Corner_LowerLeft = (5.92507, 47.31300, -2.0)
9191
Corner_UpperRight = (6.25845, 46.99550, 2.0)
92-
CrossSection_1 = screenshotToGeoData("Schori_2020_Ornans-Miserey-v2_whiteBG.png", Corner_LowerLeft, Corner_UpperRight) # name should have "colors" in it
92+
CrossSection_1 = screenshot_to_GeoData("Schori_2020_Ornans-Miserey-v2_whiteBG.png", Corner_LowerLeft, Corner_UpperRight) # name should have "colors" in it
9393
```
9494

9595
Note that we slightly modified the image to save it with a white instead of a transparent background

docs/src/man/dataimport.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
We have a number of ways to import data, besides using any of the additional packages in julia to read files.
44

55
```@docs
6-
GeophysicalModelGenerator.screenshotToGeoData
7-
GeophysicalModelGenerator.screenshotToCartData
8-
GeophysicalModelGenerator.screenshotToUTMData
6+
GeophysicalModelGenerator.screenshot_to_GeoData
7+
GeophysicalModelGenerator.screenshot_to_CartData
8+
GeophysicalModelGenerator.screenshot_to_UTMData
99
GeophysicalModelGenerator.importTopo
1010
GeophysicalModelGenerator.importGeoTIFF
1111
```

docs/src/man/tutorial_GMT_Topography_GeologicalMap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ At this step, only the topographic data is imported. Now we have to import the t
5151
julia> Corner_LowerLeft = (lon_min, lat_min , 0.0)
5252
julia> Corner_UpperRight = (lon_max, lat_max , 0.0)
5353
```
54-
and import the png file with the GMG function `screenshotToGeoData`:
54+
and import the png file with the GMG function `screenshot_to_GeoData`:
5555

5656
```julia
57-
julia> DataPNG = screenshotToGeoData(filename_geo, Corner_LowerLeft, Corner_UpperRight)
57+
julia> DataPNG = screenshot_to_GeoData(filename_geo, Corner_LowerLeft, Corner_UpperRight)
5858
```
5959

6060
Next, we drape the screenshot on the topographic map with `drape_on_topo`:

docs/src/man/tutorial_Screenshot_To_Paraview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Once this is done, and we saved the picture under `Lippitsch_Fig13a.png`, you ca
4343

4444
```julia
4545
julia> using GeophysicalModelGenerator
46-
julia> data_profile1 = screenshotToGeoData("Lippitsch_Fig13a.png",Corner_LowerLeft, Corner_UpperRight)
46+
julia> data_profile1 = screenshot_to_GeoData("Lippitsch_Fig13a.png",Corner_LowerLeft, Corner_UpperRight)
4747
Extracting GeoData from: Lippitsch_Fig13a.png
4848
└ Corners: lon lat depth
4949
└ lower left = (4.65 , 45.73 , -400.0 )
@@ -80,7 +80,7 @@ Corner_LowerLeft = ( 3.5, 43.0 , -150.0)
8080
Corner_UpperRight = (15.5, 50.0 , -150.0)
8181
Corner_LowerRight = (15.5, 43.0 , -150.0)
8282
Corner_UpperLeft = (3.5 , 50.0 , -150.0)
83-
data_Fig13_map = screenshotToGeoData("Fig13_mapview.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
83+
data_Fig13_map = screenshot_to_GeoData("Fig13_mapview.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
8484
write_Paraview(data_Fig13_map, "Lippitsch_Fig13_mapview")
8585
```
8686

src/data_import.jl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
using LightXML
88

9-
export screenshotToGeoData, screenshotToCartData, screenshotToUTMData, getlonlatdepthmag_QuakeML
9+
export screenshot_to_GeoData, screenshot_to_CartData, screenshot_to_UTMData, getlonlatdepthmag_QuakeML
1010

1111
# import CSV data using standard library functions
1212
# here we assume that the data is indeed comma separated and that comments are preceded with a "#"
@@ -160,7 +160,7 @@ end
160160

161161

162162
"""
163-
screenshotToGeoData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing, Cartesian=false, UTM=false, UTMzone, isnorth=true, fieldname::Symbol=:colors)
163+
screenshot_to_GeoData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing, Cartesian=false, UTM=false, UTMzone, isnorth=true, fieldname::Symbol=:colors)
164164
165165
Take a screenshot of Georeferenced image either a `lat/lon`, `x,y` (if `Cartesian=true`) or in UTM coordinates (if `UTM=true`) at a given depth or along profile and converts it to a `GeoData`, `CartData` or `UTMData` struct, which can be saved to Paraview
166166
@@ -170,7 +170,7 @@ The lower right and upper left corners can be specified optionally (to take non-
170170
171171
*Note*: if your data is in `UTM` coordinates you also need to provide the `UTMzone` and whether we are on the northern hemisphere or not (`isnorth`).
172172
"""
173-
function screenshotToGeoData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing, Cartesian=false, UTM=false, UTMzone=nothing, isnorth::Bool=true, fieldname::Symbol=:colors)
173+
function screenshot_to_GeoData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing, Cartesian=false, UTM=false, UTMzone=nothing, isnorth::Bool=true, fieldname::Symbol=:colors)
174174

175175
img = load(filename) # load image
176176

@@ -287,30 +287,30 @@ end
287287

288288

289289
"""
290-
Data = screenshotToCartData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing)
290+
Data = screenshot_to_CartData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing)
291291
292-
Does the same as `screenshotToGeoData`, but returns a `CartData` structure
292+
Does the same as `screenshot_to_GeoData`, but returns a `CartData` structure
293293
"""
294-
function screenshotToCartData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing, fieldname::Symbol=:colors)
294+
function screenshot_to_CartData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing, fieldname::Symbol=:colors)
295295

296296

297297
# first create a GeoData struct
298-
Data_Cart = screenshotToGeoData(filename, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=Corner_LowerRight, Corner_UpperLeft=Corner_UpperLeft, Cartesian=true, fieldname=fieldname)
298+
Data_Cart = screenshot_to_GeoData(filename, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=Corner_LowerRight, Corner_UpperLeft=Corner_UpperLeft, Cartesian=true, fieldname=fieldname)
299299

300300
return Data_Cart
301301

302302
end
303303

304304
"""
305-
Data = screenshotToUTMData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing, UTMzone::Int64=nothing, isnorth::Bool=true, fieldname=:colors)
305+
Data = screenshot_to_UTMData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing, UTMzone::Int64=nothing, isnorth::Bool=true, fieldname=:colors)
306306
307-
Does the same as `screenshotToGeoData`, but returns for UTM data
307+
Does the same as `screenshot_to_GeoData`, but returns for UTM data
308308
Note that you have to specify the `UTMzone` and `isnorth`
309309
"""
310-
function screenshotToUTMData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing, UTMzone::Int64=nothing, isnorth::Bool=true, fieldname::Symbol=:colors)
310+
function screenshot_to_UTMData(filename::String, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=nothing, Corner_UpperLeft=nothing, UTMzone::Int64=nothing, isnorth::Bool=true, fieldname::Symbol=:colors)
311311

312312
# first create a GeoData struct
313-
Data_UTM = screenshotToGeoData(filename, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=Corner_LowerRight, Corner_UpperLeft=Corner_UpperLeft, Cartesian=false, UTM=true, UTMzone=UTMzone, isnorth=isnorth, fieldname=fieldname)
313+
Data_UTM = screenshot_to_GeoData(filename, Corner_LowerLeft, Corner_UpperRight; Corner_LowerRight=Corner_LowerRight, Corner_UpperLeft=Corner_UpperLeft, Cartesian=false, UTM=true, UTMzone=UTMzone, isnorth=isnorth, fieldname=fieldname)
314314
return Data_UTM
315315
end
316316

test/test_data_import.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,25 @@ using GeophysicalModelGenerator
3232
filename = "test.png"; # fake png
3333
Corner_LowerLeft = (18.0, 51.0, -590.0)
3434
Corner_UpperRight = (9.0, 42.0, 0.0)
35-
data_Image = screenshotToGeoData(filename,Corner_LowerLeft, Corner_UpperRight)
35+
data_Image = screenshot_to_GeoData(filename,Corner_LowerLeft, Corner_UpperRight)
3636
@test data_Image.lon[1000] 17.592964824120603
3737
@test data_Image.lat[1000] 50.59296482412061
3838
@test Value(data_Image.depth[1000])==-590km
3939
@test write_Paraview(data_Image, "Profile_1")==nothing
4040

4141
# test if we use a different name for the color dataset
42-
data_Image_newfieldname = screenshotToGeoData(filename,Corner_LowerLeft, Corner_UpperRight, fieldname=:fake)
42+
data_Image_newfieldname = screenshot_to_GeoData(filename,Corner_LowerLeft, Corner_UpperRight, fieldname=:fake)
4343
@test keys(data_Image_newfieldname.fields)[1] == :fake
4444

4545
# Test in CartData
46-
data_Image = screenshotToGeoData(filename,Corner_LowerLeft, Corner_UpperRight, Cartesian=true)
46+
data_Image = screenshot_to_GeoData(filename,Corner_LowerLeft, Corner_UpperRight, Cartesian=true)
4747
@test Value(data_Image.x[22]) == 18.0km
4848
@test Value(data_Image.y[22]) == 51.0km
4949
@test Value(data_Image.z[22]) -125.15151515151516km
5050

5151

5252
# Test in UTM zone [note that depth should be in m]
53-
data_Image = screenshotToGeoData(filename,Corner_LowerLeft, Corner_UpperRight, UTM=true, UTMzone=33, isnorth=true)
53+
data_Image = screenshot_to_GeoData(filename,Corner_LowerLeft, Corner_UpperRight, UTM=true, UTMzone=33, isnorth=true)
5454
@test data_Image.EW.val[22] == 18.0
5555
@test data_Image.NS.val[22] == 51.0
5656
@test Value(data_Image.depth[22]) -125.15151515151516m
@@ -61,20 +61,20 @@ Corner_LowerLeft = (2.0, 40.0, -15.0)
6161
Corner_UpperRight = (22.0, 51.0, -15.0)
6262
Corner_LowerRight = (20.0, 40.0, -15.0)
6363
Corner_UpperLeft = (0.0, 51.0, -15.0)
64-
data_Image = screenshotToGeoData(filename,Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight, Corner_UpperLeft=Corner_UpperLeft)
64+
data_Image = screenshot_to_GeoData(filename,Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight, Corner_UpperLeft=Corner_UpperLeft)
6565
@test data_Image.lon[1000] 2.814070351758794
6666
@test data_Image.lat[1000] 40.00000000000001
6767
@test Value(data_Image.depth[1000])==-15km
6868
@test write_Paraview(data_Image, "MapView_1") == nothing
6969

7070
# MapView in CartData
71-
data_Image = screenshotToCartData(filename,Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight, Corner_UpperLeft=Corner_UpperLeft)
71+
data_Image = screenshot_to_CartData(filename,Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight, Corner_UpperLeft=Corner_UpperLeft)
7272
@test Value(data_Image.x[22]) 0.42424242424242425km
7373
@test Value(data_Image.y[22]) 48.666666666666664km
7474
@test Value(data_Image.z[22]) -15km
7575

7676
# MapView in UTMData
77-
data_Image = screenshotToUTMData(filename,Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight, Corner_UpperLeft=Corner_UpperLeft, UTMzone=33, isnorth=true)
77+
data_Image = screenshot_to_UTMData(filename,Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight, Corner_UpperLeft=Corner_UpperLeft, UTMzone=33, isnorth=true)
7878
@test data_Image.EW.val[22] 0.42424242424242425
7979
@test data_Image.NS.val[22] 48.666666666666664
8080
@test Value(data_Image.depth[22]) -15.0m

tutorials/Lippitsch_Screenshots.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,53 +12,53 @@ using GeophysicalModelGenerator
1212

1313
# Process cross-sections of Figure 13. Note that we estimated some of the lon/lat locations
1414

15-
data_Fig13a = screenshotToGeoData("Lippitsch_Fig13a.png",( 4.65,45.73, -400.0), (17.23, 43.80, 0.0))
15+
data_Fig13a = screenshot_to_GeoData("Lippitsch_Fig13a.png",( 4.65,45.73, -400.0), (17.23, 43.80, 0.0))
1616
write_Paraview(data_Fig13a, "Lippitsch_Fig13a")
1717

18-
data_Fig13b = screenshotToGeoData("Lippitsch_Fig13b.png",( 5.51,51.53, -400.0), (12.04, 43.68 , 0.0))
18+
data_Fig13b = screenshot_to_GeoData("Lippitsch_Fig13b.png",( 5.51,51.53, -400.0), (12.04, 43.68 , 0.0))
1919
write_Paraview(data_Fig13b, "Lippitsch_Fig13b")
2020

21-
data_Fig13c = screenshotToGeoData("Lippitsch_Fig13c.png",(17.78,50.95, -400.0), (11.66, 43.68, 0.0))
21+
data_Fig13c = screenshot_to_GeoData("Lippitsch_Fig13c.png",(17.78,50.95, -400.0), (11.66, 43.68, 0.0))
2222
write_Paraview(data_Fig13c, "Lippitsch_Fig13c")
2323

2424
# Mapview images
2525
Corner_LowerLeft = ( 3.5, 43.0 , -150.0)
2626
Corner_UpperRight = (15.5, 50.0 , -150.0)
2727
Corner_LowerRight = (15.5, 43.0 , -150.0)
2828
Corner_UpperLeft = (3.5 , 50.0 , -150.0)
29-
data_Fig13_map = screenshotToGeoData("Fig13_mapview.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
29+
data_Fig13_map = screenshot_to_GeoData("Fig13_mapview.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
3030
write_Paraview(data_Fig13_map, "Lippitsch_Fig13_mapview")
3131

3232
Depth = -90.0;
3333
Corner_LowerLeft = (Corner_LowerLeft[1], Corner_LowerLeft[2], Depth)
3434
Corner_UpperRight = (Corner_UpperRight[1], Corner_UpperRight[2], Depth)
3535
Corner_LowerRight = (Corner_LowerRight[1], Corner_LowerRight[2], Depth)
3636
Corner_UpperLeft = (Corner_UpperLeft[1], Corner_UpperLeft[2], Depth)
37-
data_Fig12_90km = screenshotToGeoData("Fig12_90km.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
37+
data_Fig12_90km = screenshot_to_GeoData("Fig12_90km.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
3838
write_Paraview(data_Fig12_90km, "Lippitsch_Fig12_90km")
3939

4040
Depth = -180.0;
4141
Corner_LowerLeft = (Corner_LowerLeft[1], Corner_LowerLeft[2], Depth)
4242
Corner_UpperRight = (Corner_UpperRight[1], Corner_UpperRight[2], Depth)
4343
Corner_LowerRight = (Corner_LowerRight[1], Corner_LowerRight[2], Depth)
4444
Corner_UpperLeft = (Corner_UpperLeft[1], Corner_UpperLeft[2], Depth)
45-
data_Fig12_180km = screenshotToGeoData("Fig12_180km.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
45+
data_Fig12_180km = screenshot_to_GeoData("Fig12_180km.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
4646
write_Paraview(data_Fig12_180km, "Lippitsch_Fig12_180km")
4747

4848
Depth = -300.0;
4949
Corner_LowerLeft = (Corner_LowerLeft[1], Corner_LowerLeft[2], Depth)
5050
Corner_UpperRight = (Corner_UpperRight[1], Corner_UpperRight[2], Depth)
5151
Corner_LowerRight = (Corner_LowerRight[1], Corner_LowerRight[2], Depth)
5252
Corner_UpperLeft = (Corner_UpperLeft[1], Corner_UpperLeft[2], Depth)
53-
data_Fig12_300km = screenshotToGeoData("Fig12_300km.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
53+
data_Fig12_300km = screenshot_to_GeoData("Fig12_300km.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
5454
write_Paraview(data_Fig12_300km, "Lippitsch_Fig12_300km")
5555

5656
Depth = -400.0;
5757
Corner_LowerLeft = (Corner_LowerLeft[1], Corner_LowerLeft[2], Depth)
5858
Corner_UpperRight = (Corner_UpperRight[1], Corner_UpperRight[2], Depth)
5959
Corner_LowerRight = (Corner_LowerRight[1], Corner_LowerRight[2], Depth)
6060
Corner_UpperLeft = (Corner_UpperLeft[1], Corner_UpperLeft[2], Depth)
61-
data_Fig12_400km = screenshotToGeoData("Fig12_400km.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
61+
data_Fig12_400km = screenshot_to_GeoData("Fig12_400km.png",Corner_LowerLeft, Corner_UpperRight, Corner_LowerRight=Corner_LowerRight,Corner_UpperLeft=Corner_UpperLeft)
6262
write_Paraview(data_Fig12_400km, "Lippitsch_Fig12_400km")
6363

6464

tutorials/Tutorial_Jura.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ lowerleft = [4.54602510460251, 45.27456049638056, 0.0]
2424
upperright = [8.948117154811715, 47.781282316442606, 0.0]
2525

2626
# We can now import the map with the `Screensho_To_GeoData` function:
27-
Geology = screenshotToGeoData("SchoriM_Encl_01_Jura-map_A1.png", lowerleft, upperright, fieldname=:geology_colors) # name should have "colors" in it
27+
Geology = screenshot_to_GeoData("SchoriM_Encl_01_Jura-map_A1.png", lowerleft, upperright, fieldname=:geology_colors) # name should have "colors" in it
2828

2929
# You can "drape" this image on the topographic map with
3030
TopoGeology = drape_on_topo(Topo, Geology)
@@ -58,7 +58,7 @@ Basement = importGeoTIFF("BMes_Spline_longlat.tif", fieldname=:Basement, removeN
5858
download_data("https://zenodo.org/records/10726801/files/Schori_2020_Ornans-Miserey-v2_whiteBG.png", "Schori_2020_Ornans-Miserey-v2_whiteBG.png")
5959
Corner_LowerLeft = (5.92507, 47.31300, -2.0)
6060
Corner_UpperRight = (6.25845, 46.99550, 2.0)
61-
CrossSection_1 = screenshotToGeoData("Schori_2020_Ornans-Miserey-v2_whiteBG.png", Corner_LowerLeft, Corner_UpperRight) # name should have "colors" in it
61+
CrossSection_1 = screenshot_to_GeoData("Schori_2020_Ornans-Miserey-v2_whiteBG.png", Corner_LowerLeft, Corner_UpperRight) # name should have "colors" in it
6262

6363
# Note that we slightly modified the image to save it with a white instead of a transparent background
6464

tutorials/Tutorial_TopoGeological_PNG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Corner_UpperRight = (17.0, 48.5 , 0.0)
3636
Corner_LowerLeft = ( lon_min, lat_min , 0.0)
3737
Corner_UpperRight = (lon_max, lat_max , 0.0)
3838

39-
DataPNG = screenshotToGeoData(filename_geo, Corner_LowerLeft, Corner_UpperRight)
39+
DataPNG = screenshot_to_GeoData(filename_geo, Corner_LowerLeft, Corner_UpperRight)
4040

4141
# 4. interpolate geological map data colors onto topo grid using nearest neighbor interpolation
4242

0 commit comments

Comments
 (0)