... | ... | @@ -38,6 +38,8 @@ The IP address of the computer you have been given access to is: 144.173.239.30 |
|
|
- [Video running through the set up and running of the S2P3 model](https://web.microsoftstream.com/video/b4491502-9cc9-43b1-b6b7-ec9f64f87f96)
|
|
|
|
|
|
```
|
|
|
|
|
|
#log on to the server e.g.
|
|
|
ssh student@144.173.239.30
|
|
|
|
|
|
# type password
|
... | ... | @@ -46,26 +48,31 @@ ssh student@144.173.239.30 |
|
|
passwd
|
|
|
# type in old then new password
|
|
|
|
|
|
#copy the files across (even if you've already done this)
|
|
|
scp -r /home/shared/S2P3Rv2.0 .
|
|
|
|
|
|
#You may have already done this, but if not we need to install some generic modules
|
|
|
#Install some stuff
|
|
|
conda create --name python27 python=2.7
|
|
|
conda activate python27
|
|
|
conda install -c conda-forge scipy numpy matplotlib pandas jupyterlab
|
|
|
conda install -c conda-forge cartopy
|
|
|
conda install -c conda-forge iris
|
|
|
conda install -c conda-forge statsmodels
|
|
|
|
|
|
# note you should always choose y when asked.
|
|
|
#This will take up to 10 minutes because it takes a while for conda to find the right repository.
|
|
|
#you may see "failed" messages -- they should ignore these.
|
|
|
|
|
|
cd S2P3Rv2.0/forcing
|
|
|
#NOTE You must type:
|
|
|
conda activate python27
|
|
|
# each time you log in.
|
|
|
|
|
|
then carry on from the line 'Run the tides_bathymetry.py file with it's default settings' below where this link takes you https://github.com/PaulHalloran/S2P3Rv2.0#an-example-of-the-full-process-using-supplied-sample-data
|
|
|
|
|
|
For now use 'python' instead of 'python2.7' and run the following version of the scripts, i.e. I've hacked some to work with python 3 rather than python3.7 and added '_python3' to the end of their name. I'll sort out a cleaner more permanent setup and set of instructions as soon as I have some time.
|
|
|
#copy the files across (even if you've already done this)
|
|
|
scp -r /home/shared/S2P3Rv2.0 .
|
|
|
|
|
|
python tides_bathymetry.py
|
|
|
|
|
|
python process_ecmwf_era5_for_s2p3_rv2.0_python3.py
|
|
|
cd S2P3Rv2.0/forcing
|
|
|
|
|
|
python initialisation_nitrate_python3.py
|
|
|
then carry on from the line 'Run the tides_bathymetry.py file with it's default settings' in this link takes you https://github.com/PaulHalloran/S2P3Rv2.0#an-example-of-the-full-process-using-supplied-sample-data
|
|
|
|
|
|
python run_map_parallel_python3.py
|
|
|
|
|
|
```
|
|
|
|
... | ... | |