amuse icon indicating copy to clipboard operation
amuse copied to clipboard

Copy MESA (15140) data to AMUSE data dir

Open rieder opened this issue 3 years ago • 3 comments

Currently MESA data (e.g. pre-calculated ZAMS models) are stored in the src/ dir in the MESA directory. After making the worker, these should be moved to the AMUSE data directory, since the src/ dir is not available in the AMUSE pip packages. This directory is defined as:

import amuse.config
data_dir = amuse.config.get_amuse_root_dir()+'/data'

(maybe we should make a separate get_amuse_data_dir function?)

Currently, the data directory doesn't always exist (maybe pip doesn't like creating empty directories?), so a check if the dir exists and create it if it doesn't may be needed.

rieder avatar Mar 01 '23 09:03 rieder

Previous discussion #872 for reference

rjfarmer avatar Mar 01 '23 11:03 rjfarmer

Yes, thanks for adding that reference!

rieder avatar Mar 01 '23 11:03 rieder

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 30 '23 12:04 stale[bot]