Download Function:
Function to download StellarCollapse LS220 test file from https://stellarcollapse.org/equationofstate.html.
- download.download(url, new_path='./', untar_file=True)
download practice files
download practice files for use in tests. Please remove these files after they are created with system(‘rm %s’ % path)
- Parameters
url (str) – full url of file download link
new_path (str) – desired path for file
untar_file (bool) – True calls the untar function to decompress the file
- Returns
None
- download.untar(path)
Untar practice files
Decompress practice files for use in tests. Please remove these files after they are created with system(‘rm %s’ % path)
- Parameters
None –
- Returns
None