Quick data access with NDS2

Did you know you can grab O3 data, quickly and easily with NDS2?

NDS2 is the LIGO “Network Data Server”, and it can serve up snippets of data on demand, without the need to download files. If you have the IGWN Conda environment installed, you can do this with commands like this:

from gwpy.timeseries import TimeSeries
data = TimeSeries.fetch(channel, start=1240559616, end=1240559626, host='losc-nds.ligo.org')

That’s it! Now you’ve got some strain data loaded, and ready to use. :mage:

1 Like