Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
56473229
Commit
56473229
authored
Jul 06, 2016
by
Matthieu Schaller
Browse files
Store all ICs at the same place.
parent
ad0f2b0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/BigCosmoVolume/makeIC.py
View file @
56473229
...
...
@@ -47,7 +47,7 @@ if downsample > 1. or downsample <= 0.:
# Download the tile
if
(
not
os
.
path
.
isfile
(
"tile.hdf5"
)):
print
"Downloading initial tile..."
urllib
.
urlretrieve
(
"http://
icc.dur.ac.uk/~jlvc76/Files/SWIFT
/tile.hdf5"
,
"tile.hdf5"
)
urllib
.
urlretrieve
(
"http://
virgodb.cosma.dur.ac.uk/swift-webstorage/ICs
/tile.hdf5"
,
"tile.hdf5"
)
print
"Done."
else
:
print
"Tile already exists. No need to download..."
...
...
examples/CosmoVolume/getIC.sh
View file @
56473229
#!/bin/bash
wget http://
icc.dur.ac.uk/~jlvc76/Files/SWIFT
/cosmoVolume.hdf5
wget http://
virgodb.cosma.dur.ac.uk/swift-webstorage/ICs
/cosmoVolume.hdf5
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment