User Tools

Site Tools


howtos:toolcoding:satprojforreference
	tool $informPath/satProjForReference_v2.t \
			allProjParams[projParmInfo] \
			varHis[upperdims,timeseq] \
			fileNameAndPath[] \
			varResult[upperdims,timeseq] \
			quietUseDefaults[]
Projection parameter Description
min Typically use history start year
max Typically use history end year
default The year from which to start the projection
setMin 0 or 1 to say whether the min value should be checked
minVal the min value to use when checking
setMax 0 or 1 to say whether the max value should be checked
maxVal the max value to use when checking
	local allProjParamsDefault[projParmInfo] = create (; dim=projParmInfo, data=0)
	allProjParamsDefault[projParmInfo] = insert ($hisStart; projParmInfo:min)
	allProjParamsDefault[projParmInfo] = insert ($hisEnd; projParmInfo:max)
	allProjParamsDefault[projParmInfo] = insert ($satProjStartTrendYr; projParmInfo:default)
	allProjParamsDefault[projParmInfo] = insert (0.0; projParmInfo:timeDimNum)
	allProjParamsDefault[projParmInfo] = insert ($setMax; projParmInfo:setMax)
	allProjParamsDefault[projParmInfo] = insert ($maxVal; projParmInfo:maxVal)
	allProjParamsDefault[projParmInfo] = insert ($setMin; projParmInfo:setMin)
	allProjParamsDefault[projParmInfo] = insert ($minVal; projParmInfo:minVal)
	allProjParamsDefault[projParmInfo] = insert (0.0; projParmInfo:doRenorm)
	allProjParamsDefault[projParmInfo] = insert (0.0; projParmInfo:normDimNum)
	allProjParamsDefault[projParmInfo] = insert (25.0; projParmInfo:percentChgFromLastYr)
	allProjParamsDefault[projParmInfo] = insert (3.0; projParmInfo:joinType)
	allProjParamsDefault[projParmInfo] = insert (0.0; projParmInfo:doGrowthRate)
	allProjParamsDefault[projParmInfo] = insert (0.0; projParmInfo:growthRate)
	allProjParamsDefault[projParmInfo] = insert (0.0; projParmInfo:doAvg)
	allProjParamsDefault[projParmInfo] = insert (0.0; projParmInfo:includeZero)

	local allProjParams[projParmInfo] = allProjParamsDefault[projParmInfo]
howtos/toolcoding/satprojforreference.txt · Last modified: 2013/06/04 13:51 by shona.weldon