Closed philkongo closed 10 months ago
Which version of numpy do you have currently installed?
Hi Deborah,
I am running numpy version 1.26.0.
Phil
On Mon, Nov 27, 2023 at 11:03 PM Deborah Khider @.***> wrote:
Which version of numpy do you have currently installed?
— Reply to this email directly, view it on GitHub https://github.com/LinkedEarth/Pyleoclim_util/issues/477#issuecomment-1829226744, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMW3EYNLGTGXGWLDAMQ5HJDYGWECVAVCNFSM6AAAAAA7XLOK4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRZGIZDMNZUGQ . You are receiving this because you authored the thread.Message ID: @.***>
Weird. My current version of the code (prior to seeing this issue) in branch pip_install
has:
return {'n': int(2 ** np.ceil(np.log2(len(signal))))}
for that line. I wonder when it got changed, but it should work with this version of NumPy.
I uninstalled pyleoclim and reinstalled it-- it installed numpy 1.23.5 and now it runs!
Appreciate you both looking into it. Phil
On Tue, Nov 28, 2023 at 5:40 PM Julien Emile-Geay @.***> wrote:
Weird. My current version of the code (prior to seeing this issue) in branch pip_install has: return {'n': int(2 ** np.ceil(np.log2(len(signal))))} for that line. I wonder when it got changed, but it should work with this version of NumPy.
— Reply to this email directly, view it on GitHub https://github.com/LinkedEarth/Pyleoclim_util/issues/477#issuecomment-1831055266, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMW3EYJTDAZOQMKVCXVZBKTYG2G7HAVCNFSM6AAAAAA7XLOK4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZRGA2TKMRWGY . You are receiving this because you authored the thread.Message ID: @.***>
Describe the bug np.int is still used in pyleoclim; for example in the wave coherence function. prevents the wavelet coherence function from running.
To Reproduce Steps to reproduce the behavior:
Expected behavior wavelet coherence function to work
Screenshots
Desktop (please complete the following information):
Additional context