﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
708	Unallocated variable idefQCK in mod_ncparam.F and QUICKSAVE restart	arango	arango	"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."	bug	closed	major	Release ROMS/TOMS 3.7	Nonlinear	3.7	Fixed		
