songfengfei@lasg_iap_ac_cn
New Member
Hi, everyone,I have made some modification in ocn_comp_mct.F90 of POP2 to replace the first layer of ocean temperature (tm) by observed sea surface temperature (to) in each model step.Now, I also want to calculate the difference td (td = tm -to) in each model step before replacement and output this variable as other variables, such as T, UVEL. I searched on the internet, and found that if the variable is a model variable, it is easy to do (http://www.cesm.ucar.edu/models/cesm1.2/pop2/doc/faq/#nml_general_change, How do I add a POP2 variable to the tavg output files? Case 3 -- no code support exists). But for my case, the variable is not a model variable, is defined by myself, so how to output this variable as normal tavg output files? Thanks very muchBest,Fengfei