nextsimhub / domain_decomp

Domain decomposition tool for the nextSIM-DG next-generation sea ice model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rotate coordinates in metadata file

TomMelt opened this issue · comments

Currently decomp uses the following coordinate layout:

O┌───►Y
 │     
 │     
X▼     

But this causes a problem for nextsim which needs to know the concept of Bottom, Right, Top & Left neighbours (BLTR).

In order for the two codes (decomp and nextsim) to agree on which neighbour is BLTR, we need to use the same coordinate system. @timspainNERSC mentioned that we should use axis as in mathematics, as follows:

Y▲     
 │     
 │     
O└───►X

@TomMelt I guess this was resolved by your recent changes?

@jwallwork23 , that's correct. It was fixed by #58.