Instructions to import bathymetry data from GEBCO.
Select a region on the website, download a ESRII ascii file (.asc), and convert to bellhop .bty.
We will download a region and convert the data for use un UnrealInterface.
- Select a region
-
Download the ESRI ASCII and a Colour Map, following the instructions on GEBCO.
-
In the python tool, point the
infil
andoutfil
variables to your files. For example, to parse the included file:
infil = open("gebco_2022_n33.7802_s32.3273_w-119.5189_e-116.992.asc", 'r')
outfil = open("san_diego.bty", 'w')
..* Tip - The script projects on the Earth with geopy.
- At this point, the .bty file may be used in Bellhop as usual. To load it into Unreal, you can set the filename in the setting.
..* The environment file still has to exist. ..* Don't forget to escape the backslash in Windows.
- In the same section in Unreal, you can set the bottom material to be the image you downloaded from GEBCO.