How to get 'AVERAGE_DETIDE' working

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
feroda

How to get 'AVERAGE_DETIDE' working

#1 Unread post by feroda »

I have been looking for the information related to 'AVERAGE_DETIDE'. However, not enough information was found to solve the errors as follows.

I have both AVERAGE and AVERAGE_DETIDE defined in the .h file, and the average period is 3 days.
Model Input Parameters: ROMS/TOMS version 3.6
180.000 dt Timestep size (s) for 3-D equations.
1440 nAVG Number of timesteps between the writing of
time-averaged data into averages file.
T Aout(idFsur) Write out averaged free-surface.
T Aout(idUbar) Write out averaged 2D U-momentum component.
T Aout(idVbar) Write out averaged 2D V-momentum component.
T Aout(idUvel) Write out averaged 3D U-momentum component.
T Aout(idVvel) Write out averaged 3D V-momentum component.
T Aout(idTvar) Write out averaged tracer 01: temp
T Aout(idTvar) Write out averaged tracer 02: salt

T Aout(idFsuD) Write out detided free-surface.
T Aout(idu2dD) Write out detided 2D U-velocity.
T Aout(idv2dD) Write out detided 2D V-velocity.
T Aout(idu3dD) Write out detided 3D U-velocity.
T Aout(idv3dD) Write out detided 3D V-velocity.
T Aout(idTrcD) Write out detided tracer 01: temp
T Aout(idTrcD) Write out detided tracer 02: salt
AVERAGES Writing out time-averaged nonlinear model fields.
AVERAGES_DETIDE Writing out time-averaged nonlinear model detided fields.
NLM: GET_STATE - Read state initial conditions, t = 0 00:00:00
(File: roms_ini_3Dtide.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 = 2.50000000E+01 Max = 2.50000000E+01)
- salinity
(Min = 3.40000000E+01 Max = 3.40000000E+01)
GET_NGFLD - tidal period
(Min = 4.30819210E+04 Max = 2.38071599E+06)
GET_2DFLD - tidal elevation amplitude
(Min = 2.15870429E-05 Max = 1.64282025E+01)
GET_2DFLD - tidal elevation phase angle
(Min = 4.72656640E-07 Max = 6.28318293E+00)
GET_2DFLD - tidal current inclination angle
(Min = 3.70293942E-07 Max = 6.28318519E+00)
GET_2DFLD - tidal current phase angle
(Min = 1.32158243E-07 Max = 6.28318525E+00)
GET_2DFLD - maximum tidal current, ellipse major axis
(Min = 1.15745545E-06 Max = 3.66242255E+00)
GET_2DFLD - minimum tidal current, ellipse minor axis
(Min = -4.56800388E-01 Max = 4.20064194E-01)

NETCDF_ENDDEF - unable to end definition mode for file:
../../inputs/scs30_gebco/roms_tide.nc
call from: def_tides.F
ROMS/TOMS - Output error ............ exit_flag: 3


ERROR: Abnormal termination: NetCDF OUTPUT.
REASON: NetCDF: One or more variable sizes violate format constraints

Any comments? Thanks!

allencapa

Re: How to get 'AVERAGE_DETIDE' working

#2 Unread post by allencapa »

I'm now having exactly the same problem, any suggestions please?

allencapa

Re: How to get 'AVERAGE_DETIDE' working

#3 Unread post by allencapa »

allencapa wrote:I'm now having exactly the same problem, any suggestions please?
Problems solved, I used 'nc_clobber_mode' in creating tide forcing file. By changing it to 'nc_64bit_offset_mode', the model runs.

Post Reply