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
Hello,
I meet a problem with this :
[File ~/Library/Python/3.9/lib/python/site-packages/pvextractor/utils/wcs_utils.py:21, in get_spatial_scale(wcs, assert_square)
19 np.testing.assert_almost_equal(abs(scale[0,0]), abs(scale[0,1]))
20 except AssertionError:
---> 21 raise ValueError("Non-square pixels. Please resample data.")
23 return abs(scale[0,0]) * u.Unit(wcs.wcs.cunit[0])
ValueError: Non-square pixels. Please resample data. ]
How should I resample the data?
My pixel size is 0.58 arcsecond. I am not sure if this is related with my python version.
Looking forward hearing from of you!
The text was updated successfully, but these errors were encountered:
Hello,
I meet a problem with this :
[File ~/Library/Python/3.9/lib/python/site-packages/pvextractor/utils/wcs_utils.py:21, in get_spatial_scale(wcs, assert_square)
19 np.testing.assert_almost_equal(abs(scale[0,0]), abs(scale[0,1]))
20 except AssertionError:
---> 21 raise ValueError("Non-square pixels. Please resample data.")
23 return abs(scale[0,0]) * u.Unit(wcs.wcs.cunit[0])
ValueError: Non-square pixels. Please resample data. ]
How should I resample the data?
My pixel size is 0.58 arcsecond. I am not sure if this is related with my python version.
Looking forward hearing from of you!
The text was updated successfully, but these errors were encountered: