|
@@ -3,7 +3,7 @@ extends Node
|
|
var Downloader = preload("res://downloader.gd")
|
|
var Downloader = preload("res://downloader.gd")
|
|
|
|
|
|
var filePrefix = "user://topo"
|
|
var filePrefix = "user://topo"
|
|
-var formatString = "%s/sldem2015_%s_%02d%s_%02d%s_%03d_%03d_float.img"
|
|
|
|
|
|
+var formatString = "%s/SLDEM2015_%s_%02d%s_%02d%s_%03d_%03d_FLOAT.IMG"
|
|
# example sldem2015_512_00n_30n_000_045_float.img
|
|
# example sldem2015_512_00n_30n_000_045_float.img
|
|
var datafile = "user://topo/sldem2015_512_00n_30n_000_045_float.img"
|
|
var datafile = "user://topo/sldem2015_512_00n_30n_000_045_float.img"
|
|
var samplesPerLine = 23040
|
|
var samplesPerLine = 23040
|
|
@@ -77,9 +77,9 @@ func getFilename():
|
|
# "%s/sldem2015_%s_%0*d%s_%0*d%s_%00*d_%00*d_float.img"
|
|
# "%s/sldem2015_%s_%0*d%s_%0*d%s_%00*d_%00*d_float.img"
|
|
var orientation: String
|
|
var orientation: String
|
|
if latMin >= 0:
|
|
if latMin >= 0:
|
|
- orientation = "n"
|
|
|
|
|
|
+ orientation = "N"
|
|
else:
|
|
else:
|
|
- orientation = "s"
|
|
|
|
|
|
+ orientation = "S"
|
|
var properties = [filePrefix, resolution, latMin, orientation, latMax, orientation, lonMin, lonMax]
|
|
var properties = [filePrefix, resolution, latMin, orientation, latMax, orientation, lonMin, lonMax]
|
|
return formatString % properties
|
|
return formatString % properties
|
|
|
|
|