[MITgcm-support] Calculating curl on a cube-sphere (calc_vort_cs.m)

Gael Forget gforget at mit.edu
Tue May 19 12:16:42 EDT 2020


Hi Peter

Not sure about calc_vort_cs.m but in the gcmfaces toolbox <https://gcmfaces.readthedocs.io/en/latest/> you will find calc_UV_curl.m which should work for this. 

There are examples using it in gcmfaces_devel/budget_mom_vort.m and gcmfaces_diags/diags_set_B.m  

If the documentation and examples are unclear or something does not work, please feel free to use the gcmfaces issue tracker <https://github.com/MITgcm/gcmfaces/issues>

Best,
Gael

> On May 19, 2020, at 10:16 AM, Shatwell, Peter A <peter.shatwell12 at imperial.ac.uk> wrote:
> 
> Hi all,
> 
> I am using a coupled configuration of the MITgcm with a cube-sphere grid (C24), and I am trying to calculate the curl of the surface wind-stress in order to understand Ekman layer dynamics in the model ocean. 
> 
> I found the script calc_vort_cs.m in the MATLAB MITgcm utils and provide it with surface wind stress fields, however I’m unsure how to interpret the outputs, which come in ‘compressed form’ (nc*6*nc+2, 1) or ‘face-splitted form’ (nc+1, nc+1, 1, 6). I’d like to be able to get them into a familiar form of (6*nc, nc, 1), which I can then diagnose with other utils. 
> 
> Is anyone familiar with converting between these forms for cube-sphere grid data?
> 
> Thanks and all the best,
> 
> Peter
> 
> --
> Peter Shatwell
> PhD student at MPECDT
> Space and Atmospheric Physics
> Imperial College London
> Huxley 714
> _______________________________________________
> 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/20200519/7d14b54a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1859 bytes
Desc: not available
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20200519/7d14b54a/attachment.p7s>


More information about the MITgcm-support mailing list