Error to run script_coawst

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
agpc
Posts: 63
Joined: Mon Jul 27, 2020 7:44 pm
Location: Applied Geophysics Center (AGPC)

Error to run script_coawst

#1 Unread post by agpc »

Hi everyone,
I have a problem which is related to run the script_coawst program. When I ran this program, it displayed that:

Code: Select all

[cloud@igplogin SCRIP_COAWST]$ ./scrip_coawst scrip_coawst_sarika.in 
 ================================================
  Read input_file for SCRIP_COAWST Wrapper 
 ================================================
 Ngrid_roms=           2
 Ngrid_swan=           2
 Ngrid_ww3=            0
 Ngrid_wrf =           2
 Ngrid_hyd =           0
 Common netcdf file is: 
 scrip_sarika_static.nc                                                         
                                          
 Number of netcdf subgroups           24
 Input ROMS grid 1  = ../../Projects/Sarika/ROMS_COAWST_grd1.nc
 Input ROMS grid 2  = ../../Projects/Sarika/ROMS_COAWST_grd2.nc
 Input SWAN grid 1  = ../../Projects/Sarika/swan_coord1.grd
 Input SWAN bath 1  = ../../Projects/Sarika/swan_bathy1.bot
 Cartesian input In meters=                    0
 Input SWAN grid 2  = ../../Projects/Sarika/swan_coord2.grd
 Input SWAN bath 2  = ../../Projects/Sarika/swan_bathy2.bot
 Cartesian input In meters=                    0
 Input WRF grid  1  = ../../Projects/Sarika/wrfinput_d01
 Input WRF grid  2  = ../../Projects/Sarika/wrfinput_d02
 ================================================
 Reading ROMS grids
 ROMS starting i j index of parent w.r.t child grid
          79          66
 ending i & j index of parent w.r.t child grid--
         206         177
 Reading SWAN grids
 ROMS and SWAN same grids (0=no or 1=yes)            1
 SWAN starting i & j index of parent w.r.t child grid--
          79          66
 ending i & j index of parent w.r.t child grid--
         206         177
 Reading WRF grids
 Error in netCDF: 
 NetCDF: HDF error 
Please help me to fix it. I'm really appreciate about that.
Best regards,
-Manh

jcwarner
Posts: 1173
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: Error to run script_coawst

#2 Unread post by jcwarner »

looks to me like a netcdf/hdf5 issue. make sure you have the correct paths for
NETCDF_INCDIR and NETCDF_LIBDIR.
if you cant figure it out. please post a ticket here:
https://github.com/jcwarner-usgs/COAWST
thanks,
j

agpc
Posts: 63
Joined: Mon Jul 27, 2020 7:44 pm
Location: Applied Geophysics Center (AGPC)

Re: Error to run script_coawst

#3 Unread post by agpc »

Hi John,
My script run successfully with sandy case but it doesn't work for my case. So I think this error comes from my ROMS's domains.
In this post, I attach all of my nc files in my project.
Can you define my problem?
Thank you very much!
Manh
Attachments
Sarika.rar
(123.99 MiB) Downloaded 237 times

jcwarner
Posts: 1173
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: Error to run script_coawst

#4 Unread post by jcwarner »

sorry for the late reply.
did you figure this out?
can you attach the scrip.in file?

agpc
Posts: 63
Joined: Mon Jul 27, 2020 7:44 pm
Location: Applied Geophysics Center (AGPC)

Re: Error to run script_coawst

#5 Unread post by agpc »

Hi John,
I've attached all of my namelist option in this post.
Please help me to find a solution for this problem.
Thank you very much!
Attachments
swan_sarika_d2.in.txt
(5.83 KiB) Downloaded 138 times
swan_sarika_d1.in.txt
(5.83 KiB) Downloaded 150 times
scrip_coawst_sarika.in.txt
(2.21 KiB) Downloaded 144 times
ocean_sarika.in.txt
(154.04 KiB) Downloaded 142 times

jcwarner
Posts: 1173
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: Error to run script_coawst

#6 Unread post by jcwarner »

i downloaded all of your files, compiled SCRIP, and I can duplicate your error. but there is more information:

" Error in netWarning! ***HDF5 library version mismatched error***
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'. "

I have seen this before. If i set
export HDF5_DISABLE_VERSION_CHECK=1

then i can get it to work with ROMS and SWAN grids.
But I can not get it to work with ROMS and WRF grids, and not work with WRF and SWAN grids.
So i think there is an HDF5 issue with your WRF grids.

not sure. can you try to set that HDF5 flag or try on a different system?
-j

Post Reply