LLNL / Sina

Store and query simulation (meta)data to/from various backends using friendly Python
MIT License
6 stars 2 forks source link

make all fails due to missing files #1

Open joe-eklund opened 5 years ago

joe-eklund commented 5 years ago

Environment:

When I run make all in Sina/python/ on a fresh clone I get failures related to missing files. See the following output:

ValueError: No example data store found for noaa/data.sqlite in example dirs ('/collab/usr/gapps/wf/examples/', '/home/joe/projects/sina/Sina/examples') ValueError: No example data store found for noaa/data.sqlite in example dirs ('/collab/usr/gapps/wf/examples/', '/home/joe/projects/sina/Sina/examples') I get similar output for the fukushima data set.

This can be fixed by:

Though the above fixes it, I think the make file should check for those database files. If they are not found anywhere, then build them so the tests pass. I do see that building the fukushima database takes a while. A longer build time sounds better to me than failing builds, no? Not to mention the database files only need to be built the first time.

Alternatively, we could host the sqlite files somewhere.

At the very least there should be a README update stating that to have a successful make all the above database files need to be built first when operating on a Non LC network.