[MITgcm-support] identifying connected regions

Martin Losch Martin.Losch at awi.de
Wed Feb 9 02:44:02 EST 2022


Hi Dan,

I am not aware of any implementation of that within the MITgcm.

There are gather and scatter routines in eesupp/src, e.g. gather_2d_r8.F

Martin

> On 7. Feb 2022, at 14:25, Daniel Goldberg <dan.goldberg at ed.ac.uk> wrote:
> 
> Hello -
> 
> I am curious if any part of model/src or a package implements an
> algorithm to identify connected regions of a 2D (or 3D) array?
> 
> If not, i feel this might be best solved in serial, and am wondering
> if there are utilities to gather processor tiles to a single 2D array
> (and broadcast such an array to tiles) that should be used or are
> ideal to use. I am aware that something like this must be done with
> useSingleCpuIO but am not sure if this is the best template to follow.
> 
> Many thanks
> Dan
> 
> --
> Daniel Goldberg, PhD (he/him)
> Reader in Glaciology
> School of Geosciences, University of Edinburgh
> Geography Building, Drummond Street, Edinburgh EH8 9XP
> 
> 
> em: dan.goldberg at ed.ac.uk
> web: https://www.geos.ed.ac.uk/homes/dgoldber
> The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1665 bytes
Desc: not available
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20220209/1b50ef45/attachment.p7s>


More information about the MITgcm-support mailing list