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
When doing cube.median(axis=0), I get the following error message:
ValueError: This function (<function BaseSpectralCube._apply_everywhere at 0x14f675092790>) requires loading the entire cube into memory, and the cube is large (503316480 pixels), so by default we disable this operation. To enable the operation, set `cube.allow_huge_operations=True` and try again. Alternatively, you may want to consider using an approach that does not load the whole cube into memory by specifying how='slice' or how='ray'. See https://spectral-cube.readthedocs.io/en/latest/big_data.html for details.
The suggestion to use how='ray' gives the same error message, as does using iterate_rays=True (which is not suggested by the error message). Adam said this is due to some missing logic cases.
The text was updated successfully, but these errors were encountered:
The last version I pulled was this one, which was designed to fix this issue: https://github.com/radio-astro-tools/spectral-cube/pull/916/files. It looks like it probably does fix this issue, but I was using dask spectral cubes, which don't take these keywords anyway.
When doing
cube.median(axis=0)
, I get the following error message:The suggestion to use
how='ray'
gives the same error message, as does usingiterate_rays=True
(which is not suggested by the error message). Adam said this is due to some missing logic cases.The text was updated successfully, but these errors were encountered: