gwnrtools / nr-catalog-tools

A unified interface to various catalogs of Numerical Relativity simulations of compact binary mergers.
https://github.com/gwnrtools/nr-catalog-tools
GNU General Public License v3.0
1 stars 5 forks source link

Slow SXS catalog load #28

Closed vaishakp closed 1 year ago

vaishakp commented 1 year ago

The execution of sxs1 = SXSCatalog.load(download=False) takes upwards of 290s, even if the previously downloaded catalog metadata is the latest.

Further, fetching modes data for a simulation that has been previously downloaded, sxsw = sxs1.get(sim_name, extrapolation_order=2) throws an error: RuntimeError: Failed to download 'https://data.black-holes.org/catalog.json'; try setting download=False.

vaishakp commented 1 year ago

The execution of sxs1 = SXSCatalog.load(download=False) takes upwards of 290s, even if the previously downloaded catalog metadata is the latest.

Further, fetching modes data for a simulation that has been previously downloaded, sxsw = sxs1.get(sim_name, extrapolation_order=2) throws an error: RuntimeError: Failed to download 'https://data.black-holes.org/catalog.json'; try setting download=False.

The latter issue is fixed in #32.

prayush commented 1 year ago

@vaishakp I'm not able to reproduce the first error on my laptop or on Sonic. Is it possible this was a transient issue with your network connection? In any case, this should be raised on the sxs project. What do you think?

prayush commented 1 year ago

This issue belongs on sxs, so I'm closing this here.