I am running a RBL4DVAR experiment and I need to save hourly-average output for the u and v velocity components from the nonlinear run in daily files.
The assimilation window is 3 days, from 2020-09-29 00:00:00 to 2020-10-01 23:59:60.
Here they are the parameters of the sim:
Code: Select all
! Time-Stepping parameters.
NTIMES == 2160
DT == 120.0d0
NDTFAST == 30
....
! Input/Output parameters.
NRREC == 0
LcycleRST == T
NRST == 720
NSTA == 1
NFLT == 1
NINFO == 1
! Output history, quicksave, average, and diagnostic files parameters.
LDEFOUT == T
NHIS == 90
NDEFHIS == 0
NQCK == 90
NDEFQCK == 0
NTSAVG == 1
NAVG == 30
NDEFAVG == 720
NTSDIA == 1
NDIA == 0
NDEFDIA == 0
! Output tangent linear and adjoint models parameters.
LcycleTLM == F
NTLM == 90
NDEFTLM == 0
LcycleADJ == F
NADJ == 2160 ! Strong constraint
NDEFADJ == 0
NSFF == 90
NOBC == 360
If I try with NTSAVG == 0 (or 2), then in the logfile ntsAVG = 0 (or 2), but the output roms_avg.nc files have the first time step starting at 01:30:00 instead of 00:30:00. Another tricky aspect is that the last time step of the last roms_avg.nc file is at 2020-10-02 00:30:00 (half a hour beyond the duration of the run)
I also noticed that the ncdump -h of the roms_avg.nc file gives as long name for the u variable: "time-averaged adjoint u-momentum component".
If I use the same output parameters to run an ordinary NLROMS (without any assimilation procedure) I get the roms_avg.nc starting at 00:30:00 and the long name for the u variable: "time-averaged u-momentum component"
I looked for other information on the NTSAVG parameter in the forum but I was not able to find anything that could help me.
In case I am not doing any mistake, is there any way to fix the aspect?
Thank you in advance