Custom Query (986 matches)
Results (583 - 585 of 986)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#708 | Fixed | Unallocated variable idefQCK in mod_ncparam.F and QUICKSAVE restart | ||
Description |
The variable idefQCK in mod_ncparam.F was unallocated. This was giving a segmentation error in output.F line 147: forrtl: severe (408): fort: (2): Subscript #1 of the array IDEFQCK has value 1 which is greater than the upper bound of -1 Image PC Routine Line Source oceanG 000000010E8687B4 _output_ 147 output.f90 oceanG 000000010E7DE034 _main3d_ 215 main3d.f90 oceanG 000000010D8670FD _ocean_control_mo 178 ocean_control.f90 oceanG 000000010D865261 _MAIN__ 86 master.f90 oceanG 000000010D864D16 Unknown Unknown Unknown when input parameter NDEFQCK had a nonzero value during the creation of the QUICKSAVE output NetCDF file. Also, fixed the inquiring of existing QUICKSAVE file during restart in def_quick.F. Need to add surface variables for momentum and tracers so they can be appended to an existing QUICKSAVE file. The surface tracer variables indices need to be stored in QCK(ng)%Vid(idsurT(itrc)) instead of QCK(ng)%Tid(itrc). Many thanks to users at NOAA for bringing this to my attention. |
|||
#709 | Done | NADJ paramerter and 4D-Var dual formulation | ||
Description |
It had come to my attention that some users set NADJ in ocean.in to a large number to trigger strong constraint in 4D-Var dual formulation alogorithms (W4DPSAS or W4DVAR). Well, this is not a good idea because the algorithms will become unstable. In the dual formulation, we need to set NADJ to NTIMES for strong constraint or to an exact multiple of NTIMES for weak constraint. For example, in ocean.in we can have: NTIMES == 192 ... NADJ == 48 ! weak constraint or NADJ == 192 ! strong constraint In the primal formulation (IS4DVAR), you can put any number for NADJ because it is over-written internally in read_phypar.F: #if defined IS4DVAR ! ! If strong constraint, write only final adjoint solution since only ! we are estimating initial conditions. ! nADJ(ng)=ntimes(ng) #endif To avoid similar problems in the future, a safeguard is added in read_phypar.F for the dual formulation: #if defined W4DPSAS || defined W4DVAR ! ! If dual formulation and strong constraint, limit writing the adjoint ! solution to the end of time-stepping. ! IF (nADJ(ng).gt.ntimes(ng)) THEN nADJ(ng)=ntimes(ng) END IF #endif |
|||
#710 | Done | Important: minor update to 4D-Var algorithms | ||
Description |
This is a minor update to the 4D-Var algorithms:
|