[MITgcm-support] ECCO regrid interpolation
Martin Losch
Martin.Losch at awi.de
Wed Jan 15 03:40:37 EST 2020
Hi again,
yes, ECCO2 uses a curvilinear grid, but the cell-to-cell variations are very small.
In general, the internal MITgcm averaging and differencing works in the same way (i.e. the gradient of eta at a U-point is actually something like (etaN(i,j)-etaN(i-1,j))*recip_dxC), so I think you are safe doing it like that.
Martin
> On 15. Jan 2020, at 08:28, ESTANISLAO GAVILAN PASCUAL-AHU <e.gavilan at hhu.edu.cn> wrote:
>
>
> Hi Martin,
>
> That what I thought at the beginning. However, the grid since of ECCO2 changes, so I was reluctant to follow that approach.
>
> Kind regards,
>
> Estanislao
>
>>
>> Dear community,
>>
>>
>> I was trying to regridded the sea surface elevation data to the u and v points in order to compute the normal transport across each cell. At the beginning I thought I could use griddata from MATLAB or python. However, since my grid is curvilinear I think I cannot do such thing. Does MITgcm have any kind of tool for regridding this type of data? Thanks in advance for your help
>>
>>
>> Kind regards,
>>
>>
>> Estanislao
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20200114/3f0a8587/attachment-0001.html>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 14 Jan 2020 11:23:12 +0100
>> From: Martin Losch <Martin.Losch at awi.de>
>> To: MITgcm Support <mitgcm-support at mitgcm.org>
>> Subject: Re: [MITgcm-support] ECCO regrid interpolation
>> Message-ID: <BB97573C-E6FD-4A1A-8BEA-4890AAE003F0 at awi.de>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi Estanislao,
>>
>> wouldn?t the natural C-grid way of computing EtaN at U points be
>> EtaNatU(i,j) = 0.5*(EtaN(i-1,j)+EtaN(i,j))
>> and similarly at V points
>> EtaNatV(i,j) = 0.5*(EtaN(i,j-1)+EtaN(i,j))
>> ?
>>
>> Martin
>>
>>> On 14. Jan 2020, at 02:53, ESTANISLAO GAVILAN PASCUAL-AHU <e.gavilan at hhu.edu.cn> wrote:
>>>
>>> Dear community,
>>>
>>> I was trying to regridded the sea surface elevation data to the u and v points in order to compute the normal transport across each cell. At the beginning I thought I could use griddata from MATLAB or python. However, since my grid is curvilinear I think I cannot do such thing. Does MITgcm have any kind of tool for regridding this type of data? Thanks in advance for your help
>>>
>>> Kind regards,
>>>
>>> Estanislao
>>> _______________________________________________
>>> MITgcm-support mailing list
>>> MITgcm-support at mitgcm.org
>>> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
>>
>>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
>>
>>
>> ------------------------------
>>
>> End of MITgcm-support Digest, Vol 199, Issue 12
>> ***********************************************
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list