Dimensions (rows, columns) swapped when displaying NetCDF files

When creating a dummy NetCDF file with the following python code:

import numpy as np
import xarray as xr
xr.DataArray(np.zeros((700, 500))).to_netcdf('A.nc')

…the resulting image in A.nc is displayed in portrait orientation in SNAP, as expected.

However, when adding named dimensions 'rows' and 'columns' without changing the shape :

xr.DataArray(np.zeros((700, 500)), dims=['rows', 'columns']).to_netcdf('B.nc')

…the image in B.nc now appears in landscape orientation, which shows the dimension named ‘rows’ as columns and vice-versa.
So, it seems that SNAP is interpreting - incorrectly - the names of the dimensions.
It also seems that SNAP is interpreting the names ‘lat’ and ‘lon’ as well, but correctly.
Could there be a bug, or am I doing something wrong ?

I’m using SNAP 7.0 on windows.

Thanks for your help !
François

Thanks, François,
you are right. It is a bug.
I’ve entered into our issue system. https://senbox.atlassian.net/browse/SNAP-1265
Should be solved with the next release.

Thanks, Marco.
And by the way… This bug applies when opening single OLCI NetCDF files (eg, Oa01_radiance.nc), but not when opening the full OLCI product.