Hi everyone,
My name is Wilfredo Robinson, and I am a Research Engineer at EURECOM, France. I am currently working with GeoClaw for Tsunami simulations and analysis of potential inundations in the French Riviera and other European coastal areas.
I am using GeoClaw v 5.8.x in Ubuntu 20.04. I have successfully worked with grids downloaded from
GEBCO,
EMODNet, and
NOAA. However, I currently have an issue when using grids from these different sources in the same simulation. I'll give a detailed example to describe my problem:
I want to simulate an inundation in Monaco. GEBCO has a 15 arc-second resolution, so I want to use it for deep water areas and any other parts of the French Riviera that are NOT Monaco. However, once the tsunami is close to Monaco's shore, I want to use the EMODNet grids, which can offer up to 3.75 arc-second resolution for the Monaco area. Both grid files overlap in Monaco, just with different resolutions. All grid files are topo_type = 3.
When I'm using only ONE of the two grid files, I can easily set up "regions" where only very high AMR levels are allowed for Monaco, but very low levels for the rest of the computational domain. I thought the same would apply if I used two grid files (.asc) in the same simulation. Unfortunately, I have not gotten it to work properly. If I add both GEBCO (large area, low-res) and EMODNet (Monaco only, high-ish res) files to the same simulation, I can only get ONE of them to be plotted, but not both. Usually, the lowest resolution GEBCO grid is the one used for the simulation, and makes inundation modelling in Monaco not viable.
For this process, I appended both grid files by using topo_data.topofiles.append([3, topo_path_X]) in setrun.py, where different values of X point to different grid (.asc) files. My dtopo was made by telling maketopo.py the path to the large-area GEBCO file, as I don't want to make the dtopo too close to shore.
However, when running the simulation with both grid files, GeoClaw plots Monaco in a very low resolution, as if it was using the GEBCO grid file only. But when I remove the GEBCO file and only use the EMODnet file, it's in my desired high resolution.
I know both grids work fine individually. I can successfully simulate in both individually. The only issue comes when using both in the same simulation. I tried using "regions" to fix the low-res AMR levels to the GEBCO tiles, and very high AMR levels to the EMODnet (Monaco-only) tiles. These regions work fine and show my desired resolution when working with ONE grid file in setrun.py, but not when using more than one grid file.
I've checked the computational domain limits in setrun.py, the topo types, the x and y limits in setplot.py, the proper coordinates for my regions, and the proper factors for the different AMR levels. What could I be missing that makes GeoClaw only use ONE of the grids, but not both? Am I missing anything when using two grid files in the same simulation? Is it possible that, because the resolutions between files are so different, GeoClaw does an "average" of both topo values in the overlapping regions and uses that instead of the most detailed grid?
Thanks in advance for your time. I'll gladly share any files from my side if need be.
I await your reply. Best regards,
Wilfredo J. Robinson M.