gwastro / PyCBC-Tutorials

Learn how to use PyCBC to analyze gravitational-wave data and do parameter inference.
116 stars 49 forks source link

Frame file binder links not working #2

Closed geoffrey4444 closed 6 years ago

geoffrey4444 commented 6 years ago

I'm trying to run your notebook on colab.research.google.com. I run into trouble where the binder frame file links are not working. E.g., in gw150914_audio.ipynb, the notebook tries downloading

https://raw.githubusercontent.com/ligo-cbc/binder/master/H-H1_LOSC_4_V2-1126259446-32.gwf

which returns a 15-byte file that can't be opened. But if I replace the URL with

https://losc.ligo.org/s/events/GW150914/H-H1_LOSC_4_V2-1126259446-32.gwf

then the notebook works as expected.

Perhaps the frame URLs need to be updated?

ahnitz commented 6 years ago

@geoffrey4444 You are right. I've just gone through them now to update them, and in most cases switch to the gw catalog interface. i.e.

from pycbc import catalog
ts = catalog.Merger("GW150914").strain("H1")
ahnitz commented 6 years ago

@geoffrey4444 I assume this is now resolved after the update. If not please do reopen this.