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

Possible inconsistency in loading of SXS data. #8

Open vaishakp opened 1 year ago

vaishakp commented 1 year ago

On calling

sxs_cat = SXSCatalog.load(download=True);
sxs_wf =  sxs1.get(sim_name, extrapolation_order=2)

The loader reports:

Found the following files to load from the SXS catalog:
    SXS:BBH:0001v6/Lev5/rhOverM_Asymptotic_GeometricUnits_CoM.h5

Further, on calling for the metadata:

sxs_cat.get_metadata(sim_name)['metadata_path']

It returns the metadata file path:

/home/user/.cache/sxs/SXS:BBH:0001v6/Lev5/metadata.json

However, it was found that the directory SXS:BBH:0001v6 contains only the metadata.json file and the directory SXS:BBH:0001v3 contains only the rhOverM_Asymptotic_GeometricUnits_CoM.h5 file.

On computing the md5 checksum of this h5 file, it was found to match with that of the v3 and v6 version of the simulation hosted on the SXS web catalog.

Is this correct behaviour?

7

prayush commented 1 year ago

I suspect that this means only the metadata has been updated in going from v3 to v6 with the CoM corrected waveform data remaining unchanged. MD5 checksums support this guess. But it needs to be verified.