I noticed a couple of issues with the masking() function in WMT_North_Atlantic.ipynb. The xr.concat() call currently includes ds_spna (the full region), followed by individual region masks (ds_lab, ds_nor, etc.), and assigns region labels:
ds_all = xr.concat([ds_spna, ds_lab, ds_nor, ds_irm, ds_nac], dim='region')
ds_all['regionname'] = xr.DataArray(['lab','spg','nor','irm','nac'], dims=['region'])
The full-region ds_spna is labeled as lab and the subsequent regions are shifted (e.g., ds_lab is labeled as spg, and so on)
Also, I think there is an overlap between the nor and irm masks (see attached map of grid count where >1 means the area is used more than once).

I believe I have a fix, but I’d like to check if that might already have been fixed in the MDTF?
I noticed a couple of issues with the
masking()function inWMT_North_Atlantic.ipynb. Thexr.concat()call currently includesds_spna(the full region), followed by individual region masks (ds_lab,ds_nor, etc.), and assigns region labels:The full-region
ds_spnais labeled aslaband the subsequent regions are shifted (e.g.,ds_labis labeled asspg, and so on)Also, I think there is an overlap between the

norandirmmasks (see attached map of grid count where >1 means the area is used more than once).I believe I have a fix, but I’d like to check if that might already have been fixed in the MDTF?