I am unable to locate where in the source code some of the variables in the netcdf output files are being computed. For example: KPP_SRC_TEMP. This variable has units degC/s and is the KPP mixing term in the dT/dt equation (T = temperature). I have included this variable name in the tavg_contents file and I can see it is in the netcdf time-averaged history file as a 4D variable (time, z, y, x). But I am unable to locate the lines where the variable is computed when I try the following:
The output from the command:
There are other variables too that are being written out in the output files but am not sure where they are being computed.
Thanks for your help.
Bash:
grep -r KPP_SRC_TEMP cesm.sandboxes/cesm2.1.0/components/pop/
Bash:
cesm.sandboxes/cesm2.1.0/components/pop/input_templates/tavg_contents_tracer_budget_terms:1 KPP_SRC_TEMP
cesm.sandboxes/cesm2.1.0/components/pop/.svn/pristine/5e/5e162f46f540863c65519bbc1f830992b3991590.svn-base:1 KPP_SRC_TEMP
Thanks for your help.