[MITgcm-support] Local averages of variables
Sanjiv Ramachandran
sramachandran at umassd.edu
Tue Feb 12 10:15:52 EST 2019
Martin,
Thanks for your email. I was not aware of this capability and will certainly use it. But I realized I need to evaluate the local average at every model iteration. I am using the anomaly of one field to evolve another field in time:
d (Field_2)/dt = constant x (anomaly of Field_1).
anomaly = Field_1 - local average of Field_1
Sanjiv
________________________________
From: MITgcm-support <mitgcm-support-bounces at mitgcm.org> on behalf of Martin Losch <Martin.Losch at awi.de>
Sent: Tuesday, February 12, 2019 3:33 AM
To: MITgcm Support
Subject: Re: [MITgcm-support] Local averages of variables
yes, the diagnostics package can do this with the parameters of the DIAG_STATIS_PARMS namelist. Checkout verification/global_ocean.cs32x15/input.thsice for an example of how to do this. In that experiment, averages over latitude bands are computed.
Martin
> On 11. Feb 2019, at 21:21, Sanjiv Ramachandran <sramachandran at umassd.edu> wrote:
>
> Hi all,
> I need to compute the horizontal average of fields within specified X and Y limits during the simulation (not offline). Are there built-in routines that can accomplish this, given the following inputs: a field, imin and imax (X limits), jmin and jmax (Y limits)?
>
> Thanks.
>
> Sanjiv
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
_______________________________________________
MITgcm-support mailing list
MITgcm-support at mitgcm.org
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20190212/0fd649e8/attachment.html>
More information about the MITgcm-support
mailing list