hi all,
i would like to convert roms grid to swan but somethings strange happened, many point in swan.grid show -999
here's my file, Thank you.
converting roms grid to swan grid
converting roms grid to swan grid
- Attachments
-
- swan_coord.txt
- (85.92 KiB) Downloaded 357 times
-
- roms2swan.m
- (2.01 KiB) Downloaded 360 times
-
- roms_roms.nc
- (448.63 KiB) Downloaded 339 times
Re: converting roms grid to swan grid
please read the swan manual.
the 999.. values tell swan those are land mask locations.
those 999.. values need to be the same as the Exception value you list in your swan.input file.
-j
the 999.. values tell swan those are land mask locations.
those 999.. values need to be the same as the Exception value you list in your swan.input file.
-j
Re: converting roms grid to swan grid
but when I run ./scrip_coawst, the following error comes out
- Attachments
-
- temp.log
- (3.45 MiB) Downloaded 392 times
Re: converting roms grid to swan grid
I am here to update the problem.
I believed that the problem happens in converting the grid from roms to swan.
I make roms grid and converted it to swan grid by roms2swan.m.
Then I used scrip_coawst_WW3SWAN.in for remapping and error in temp comes out.
When I run ./coawstM, the following error comes out.
MCT::m_ExchangeMaps::ExGSMapGSMap_:: MCTERROR, Grid Size mismatch
LocalMap Gsize = 9447 RemoteMap Gsize = 9514
MCT::m_ExchangeMaps::ExGSMapGSMap_: Map Grid Size mismatch error, stat =3
030.MCT(MPEU)::die.: from MCT::m_ExchangeMaps::ExGSMapGSMap_()
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 48
MCT::m_ExchangeMaps::ExGSMapGSMap_:: MCTERROR, Grid Size mismatch
LocalMap Gsize = 9514 RemoteMap Gsize = 9447
I believed that the problem happens in converting the grid from roms to swan.
I make roms grid and converted it to swan grid by roms2swan.m.
Then I used scrip_coawst_WW3SWAN.in for remapping and error in temp comes out.
When I run ./coawstM, the following error comes out.
MCT::m_ExchangeMaps::ExGSMapGSMap_:: MCTERROR, Grid Size mismatch
LocalMap Gsize = 9447 RemoteMap Gsize = 9514
MCT::m_ExchangeMaps::ExGSMapGSMap_: Map Grid Size mismatch error, stat =3
030.MCT(MPEU)::die.: from MCT::m_ExchangeMaps::ExGSMapGSMap_()
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 48
MCT::m_ExchangeMaps::ExGSMapGSMap_:: MCTERROR, Grid Size mismatch
LocalMap Gsize = 9514 RemoteMap Gsize = 9447
- Attachments
-
- temp.txt
- (1.13 MiB) Downloaded 370 times
-
- swan_coord.txt
- (241.57 KiB) Downloaded 355 times
-
- swan_bathy.txt
- (141.65 KiB) Downloaded 324 times
-
- scrip_coawst_WW3SWAN.in
- (2.38 KiB) Downloaded 309 times
-
- roms2swan.m
- (2.01 KiB) Downloaded 324 times
Re: converting roms grid to swan grid
hi, i meet the same problem with you. Could you please give any suggestion for me? thank you so much!
Re: converting roms grid to swan grid
if you are using coawst, you can post a message here:
https://github.com/jcwarner-usgs/COAWST/issues
also i suggest you look at the Inlet_test case and the User manual for descriptions on how to set these up.
-j
https://github.com/jcwarner-usgs/COAWST/issues
also i suggest you look at the Inlet_test case and the User manual for descriptions on how to set these up.
-j
Re: converting roms grid to swan grid
I'm running ROMS-SWAN model. I also have the same question. I set up my own application according to the Inlet_test case. Would you please give me any suggestions?