RE: Meteo/Grid Coordinate System - Forum - Delft3D
Forum
- Home
- 2. Questions and troubleshooting
- 2.2 Questions about simulations
- 2.2.1 Waves and Coastal simulations
- RE: Meteo/Grid Coordinate System
RE: Meteo/Grid Coordinate System
Diego Casas, modified 3 Years ago.
Meteo/Grid Coordinate System
Youngling Posts: 4 Join Date: 11/4/21 Recent Posts
Hi,
I defined a grid that covers latitude between -24.4 and -23.74 and longitude between -46.8 and -45.6. I also defined a wnd file that cover latitude between -24.5 and -23.5 and longitude between -47.7 and -45.5. However, when I run WAVE, I got the following error:
I understand that all flow points must be inside the meteo/wnd grid, so I defined the extents accordingly. However, even if I made an error, WAVE reports coordinates -3812.0 and -3902.0, which are not valid latitudes or longitudes.
I wonder if WAVE is compatible with geographical coordinates since it interprets them incorrectly.
Please find attached my grid and wnd files if it helps.
Thank you
I defined a grid that covers latitude between -24.4 and -23.74 and longitude between -46.8 and -45.6. I also defined a wnd file that cover latitude between -24.5 and -23.5 and longitude between -47.7 and -45.5. However, when I run WAVE, I got the following error:
1 | |
2 | ERROR: |
3 | Error in meteo module: Flow point outside meteo grid (x-dir) x,y,: -3812.0 |
4 | -3902.0 |
5 | Wave exited abnormally |
I understand that all flow points must be inside the meteo/wnd grid, so I defined the extents accordingly. However, even if I made an error, WAVE reports coordinates -3812.0 and -3902.0, which are not valid latitudes or longitudes.
I wonder if WAVE is compatible with geographical coordinates since it interprets them incorrectly.
Please find attached my grid and wnd files if it helps.
Thank you
Attachments:
Diego Casas, modified 3 Years ago.
RE: Meteo/Grid Coordinate System
Youngling Posts: 4 Join Date: 11/4/21 Recent Posts
Hi,
I managed to solve the issue:
RGFGRID saved the grd file with
as missing value. Although it is specified as
, WAVE was still reading -999.999 as actual grid coordinates. I replaced all the occurrences of
with
and now it runs fine. It seems -999.999 is an invalid missing value when using spherical coordinates.
I managed to solve the issue:
RGFGRID saved the grd file with
1 | -9.99999000000000024E+02 |
1 | Missing Value = -9.99999000000000024E+02 |
1 | -9.99999000000000024E+02 |
1 | 0.00000000000000000E+00 |
Gabriel Ruiz, modified 3 Years ago.
RE: Meteo/Grid Coordinate System
Youngling Posts: 17 Join Date: 4/28/11 Recent Posts
Hi Diego,
I wanted to do a simple water wave propagation using the WAVE module a few years ago. The program gave me an error message; I do not remember precisely the message, but I followed the @ye recommendation. This recommendation matches your answer.
I check my grid file and correct "Missing Value" whenever I use WAVE. I think the recommendation for all those who use the WAVE module is to always check the grid file before doing any simulation.
I hope the Deltares development team can fix this problem in the next RGFGRID versions.
Regards.
Gabriel
I wanted to do a simple water wave propagation using the WAVE module a few years ago. The program gave me an error message; I do not remember precisely the message, but I followed the @ye recommendation. This recommendation matches your answer.
I check my grid file and correct "Missing Value" whenever I use WAVE. I think the recommendation for all those who use the WAVE module is to always check the grid file before doing any simulation.
I hope the Deltares development team can fix this problem in the next RGFGRID versions.
Regards.
Gabriel
Diego Casas, modified 3 Years ago.
RE: Meteo/Grid Coordinate System
Youngling Posts: 4 Join Date: 11/4/21 Recent Posts
Gabriel, thank you for your answer
I'm checking all my grd file now and found that format specifications are not uniform: some of them have 0 as missing value, others have -999.999, and some files do not even declare a missing value (according to the RGFGRID manual, if not specified, it is assumed 0). Note that I'm currently using FM Suite 2022.03.
I'm checking all my grd file now and found that format specifications are not uniform: some of them have 0 as missing value, others have -999.999, and some files do not even declare a missing value (according to the RGFGRID manual, if not specified, it is assumed 0). Note that I'm currently using FM Suite 2022.03.