Ross Bannister, Data Assimilation Research Centre.
Last update: 14/05/02

Summary of modifications made to VAR system for new observation operators (version 3)

(All changes are inidcated in the code with "!Ross Bannister")
Location of code ~frxb/MyVarMods/DARCtypes/

MODIFICATIONS TO EXISTING CODE LOGED ON MET OFFICE SYSTEM .
VarMod_ObsInfo (1.73) VarMod_ObsInfo.f90
Increase the number of observation classes to 18
(17 LayerPro for T, RH and ozone, 18 for TCO3)
Added ozone profile in observation type (and header)
Added total column ozone in observation type (and header)
Added space for model TC ozone in ModelOB_type (and in header)
Added space for ozone profile in ModelOB_type (and in header)
Added filenames "LayerPro" and "TCO3"

Var_YAllocate.f90
Added space for total column ozone model obs
Added space for ozone profile

Var_YDeAllocate.f90
Added space for total column ozone model obs
Added space for ozone profile

Var_YPrint.f90
Added lines to print model equiv. of total column ozone
and also ozone profile

Var_OBPrint.f90
Added lines to print ozone profile observations and total
column ozone

Var_ObDeallocate
Added lines to deallocate ozone profile and total column ozone observations (TCO3 and ozonep)
GenMod_ObsInfo (1.20) GenMod_ObsInfo.f90
Add two new integers for the new observation classes
(ObsGroupLayerPro=17, ObsGroupTCO3=18)
Increase NumObsGroups = 18
VarMod_ObsControl (1.101) Var_Obs2PenAndGrad.f90
Add two new options to case statement
(call to Var_LayerProPenAndGrad or call to Var_TCO3PenAndGrad)
Also added the include statements to these subroutines

Var_InitObsControl.f90
Mofified to allow for LayerPro and TCO3 obs classes
VarMod_ObsIO (1.122) Var_ObAndCxRead.f90
Modified to allow for LayerPro and TCO3 obs classes

Var_ObRead.f90
Modified to include for LayerPro and TCO3 obs classes, and for
ozone profiles in the observation

Var_CxRead.f90
Bug fixes to allow for reading of Cx data associated with DARC's new observation classes
VarMod_ObsOptions (1.69) VarMod_ObsOptions.f90
Add UseTCO3 and UseLayerPro variables for the new
observation classes
Add also UseLayerProTs, UseLayerProRHs, UseLayerProOzones
for the observation subclasses for LayerPros
Also add TCO3Stats and LayerProStats (logical variables)
TCO3Wt, LayerProTWt, LayerProozoneWt, LayerProRHWt = 1.0
Added DARCobs flag for optional output of DARC info
Added O3Stats flag

Var_ReadObservationNL.f90
Added above 13 new varaibles to namelist
OpsMod_Constants (1.22) OpsMod_Constants.f90
Add VarField_ozonep=50 for O3 profile and
VarField_tco3=49 for TCO3
SUMMARY OF NEW CODE ADDED TO VAR SYSTEM FOR NEW OBSERVATION OPERATORS .
VarMod_LayerPro VarMod_LayerPro.f90
Var_SetupLayerProStats.f90
Var_LayerProPenAndGrad.f90
Var_LayerProOperator.f90
Var_LayerAv.f90
Var_RHLayerAv.f90
Var_LayerPro2PenAndGrad.f90
Var_LayerProOperator_Adj.f90
Var_LayerAv_Adj.f90
Var_RHLayerAv_Adj.f90
Var_LayerProOperator_Test.f90
VarMod_TCO3 VarMod_TCO3.f90
Var_SetupTCO3Stats.f90
Var_TCO3PenAndGrad.f90
Var_TCO3Operator.f90
Var_CalcModelTCO3.f90
Var_TCO32PenAndGrad.f90
Var_TCO3Operator_Adj.f90
Var_CalcModelTCO3_Adj.f90