You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The regions2d.mask function is a wrapper function around regionmask's mask_3D function. Originally, the function was a wrapper around regionmask's mask function which is a 2D mask creation function, so the current concern is the memory expansion that will result when there are many masks being computed in the current iteration of regions2d.mask.
Currently, I'm not too sure if regionmask .mask function uses mask_3D under the hood since the documentation is hard to read, but the 2d and 3d masking functions in that repository use the same underlying mask function.
In the near-future, if we do end up encountering memory issues, we can just iterate and use very few region_id values as input to the mask function.
The
regions2d.mask
function is a wrapper function aroundregionmask
'smask_3D
function. Originally, the function was a wrapper aroundregionmask
'smask
function which is a 2D mask creation function, so the current concern is the memory expansion that will result when there are many masks being computed in the current iteration ofregions2d.mask
.Currently, I'm not too sure if
regionmask .mask
function usesmask_3D
under the hood since the documentation is hard to read, but the 2d and 3d masking functions in that repository use the same underlying mask function.In the near-future, if we do end up encountering memory issues, we can just iterate and use very few
region_id
values as input to the mask function.@leewujung describes the problem here too: #139 (review)
The text was updated successfully, but these errors were encountered: