I am using ROMS with SWAN for a surf zone application and I had been using ROMS Revision (240). Today I updated my ROMS code to Revision 305 and tried to use it for same application
The application which used to work fine using Revision (240), doesn't work for Revision (305) because of 2 reasons:
(a) The maximum X-grid spacing, DXmax which initially used to be 10 meters, now displays a value of Inf km, similarly maximum Y-grid spacing, DYmax also shows a value of Inf km.
(b) The tidal netcdf forcing file I use has a minimum tide_period of 2.61 hours. The error I get states,
Code: Select all
GET_CYCLE - starting time for variable: tide_period
is greater than current model time.
TMIN= 2.6101 TDAYS= 0.0000
Minimum X-grid spacing, DXmin = 1.00000000E-02 km
Maximum X-grid spacing, DXmax = Inf km
Minimum Y-grid spacing, DYmin = 2.50000000E-02 km
Maximum Y-grid spacing, DYmax = Inf km
Minimum Z-grid spacing, DZmin = -3.62332311E-01 m
Maximum Z-grid spacing, DZmax = 9.07500000E-01 m
Minimum barotropic Courant Number = 3.58942782E-02
Maximum barotropic Courant Number = 4.54466434E-01
Maximum Coriolis Courant Number = 1.45800000E-03
NLM: GET_STATE - Read state initial conditions, t = 0 00:00:00
(File: mbcoupled_init3_1126.nc, Rec=0001, Index=1)
- free-surface
(Min = 0.00000000E+00 Max = 0.00000000E+00)
- vertically integrated u-momentum component
(Min = 0.00000000E+00 Max = 0.00000000E+00)
- vertically integrated v-momentum component
(Min = 0.00000000E+00 Max = 0.00000000E+00)
- u-momentum component
(Min = 0.00000000E+00 Max = 0.00000000E+00)
- v-momentum component
(Min = 0.00000000E+00 Max = 0.00000000E+00)
- potential temperature
(Min = 1.00000000E+01 Max = 1.00000000E+01)
GET_CYCLE - starting time for variable: tide_period
is greater than current model time.
TMIN = 2.6101 TDAYS = 0.0000
Elapsed CPU time (seconds):
Node # 0 CPU: 0.053
Total: 0.053
Nonlinear model elapsed time profile:
Reading of input data ............................ 0.000 ( 0.0131 %)
2D/3D coupling, vertical metrics ................. 0.000 ( 0.7723 %)
Omega vertical velocity .......................... 0.000 ( 0.3968 %)
Equation of state for seawater ................... 0.000 ( 0.7895 %)
Total: 0.001 1.9717
Nonlinear model message Passage profile:
Message Passage: 2D halo exchanges ............... 0.000 ( 0.1570 %)
Message Passage: 3D halo exchanges ............... 0.000 ( 0.0656 %)
Message Passage: data broadcast .................. 0.000 ( 0.8791 %)
Message Passage: data reduction .................. 0.000 ( 0.0737 %)
Message Passage: data scattering.................. 0.001 ( 1.4116 %)
Total: 0.001 2.5871
All percentages are with respect to total time = 0.053
ROMS/TOMS - Output NetCDF summary for Grid 01:
ROMS/TOMS - Input error ............. exit_flag: 2
ERROR: Abnormal termination: NetCDF INPUT.
REASON: No error
p0_5997: (3.539062) net_send: could not write to fd=4, errno = 32
Thanks
Nirnimesh