[MITgcm-support] How to write a cost function with time-averaged SSH?
Patrick Heimbach
heimbach at mit.edu
Thu Oct 16 00:56:19 EDT 2014
Hi,
one of several options is to use a better verification for this case
(although not documented like the tutorials), which is lobal_ocean.90x40x15.
It uses a cost function defined in cost_atlantic_heat.F (in pkg/cost/)
This routine uses precomputed values from cost_accumulate_mean.F,
which in turn computes time-mean quantities of certain variables,
including products such as tracer transports (e.g., cMeanThetaVVel).
You could simply extend the cost_accumulate_mean.F
to add precomputation of your desired SSH fields.
p.
On Oct 15, 2014, at 9:10 PM, Joe Robsion <robsionjoe at yahoo.com> wrote:
> Hi all,
>
> I'm trying to write a cost function for adjoint sensitivity test. The cost function would be like a one day averaged SSH in a certain region. I find the cost_temp.F in /verification/tutorial_global_oce_optim/code_ad very useful. But it is not a time-averaged term. I don't know where to start. Could anyone send me a cost function example of a time-averaged term? Like one day averaged SSH. Or point me the right direction. Thank you.
>
> Joe
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1588 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20141016/83a9211d/attachment.p7s>
More information about the MITgcm-support
mailing list