From b7542ac0ce2de7f5469e8dddc58c134b970f537e Mon Sep 17 00:00:00 2001 From: hugolestrelin <82517466+hugolestrelin@users.noreply.github.com> Date: Fri, 16 Aug 2024 17:26:38 +0200 Subject: [PATCH] Update readme typos --- EXAMPLES/RS-landslides-lestrelin2024/readme | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EXAMPLES/RS-landslides-lestrelin2024/readme b/EXAMPLES/RS-landslides-lestrelin2024/readme index a961ee5..52c4f4e 100644 --- a/EXAMPLES/RS-landslides-lestrelin2024/readme +++ b/EXAMPLES/RS-landslides-lestrelin2024/readme @@ -3,9 +3,9 @@ The scripts available are commented but still in a pretty raw state. As they wil This directory is divided in three : - - “data_scripts” : provides the three python scripts we used in order to run the simulations (through sem2dpack; run_param.py) and extract/trim the output data (read+extract_param3.py). "function_read.py" is called by read+extract_param3.py and used as a toolbox in order to manipulated certain data from sem2dpack. Those scripts should be based on the most recent version of the software SEM2DPACK available at : https://github.com/jpampuero/sem2dpack. In the case where it is not working with the current version, the user can still found a compatible version in the dedicated branch "pore_pressure" : https://github.com/jpampuero/sem2dpack/tree/pore_pressure. For example, in order to reproduce the output for figure 4.a), after completing the output directory and the number of simulations wanted in run_param.py, we need to implement the main physical parameters, which can be find in the paper (Table S1). Considering a certain frequency (e.g. 1Hz), every physical parameters will be constant except for the amplitude which will increase between 0.1 to 5 m/s2. Then, we need to choose adequate numerical parameters (can depend on the precision needed or the computing power) and run this first script. This step has then to be redo for different frequencies between 0.1 and 6 Hz. After completing all those simulations, we need to run read+extract_param3.py in the correct directory with the correct parameters to look at (PGA, Frequency). A file named "data.pkl" will appear in each directory linked to each simulations, and those are the data used in the figure scripts from the directory "figure_scripts". + - “data_scripts” : provides the three python scripts we used in order to run the simulations (through sem2dpack; run_param.py) and extract/trim the output data (read+extract_param3.py). "function_read.py" is called by read+extract_param3.py and used as a toolbox in order to manipulate certain data from sem2dpack. Those scripts should be based on the most recent version of the software SEM2DPACK available at : https://github.com/jpampuero/sem2dpack. In the case where it is not working with the current version, the user can still find a compatible version in the dedicated branch "pore_pressure" : https://github.com/jpampuero/sem2dpack/tree/pore_pressure. For example, in order to reproduce the output for figure 4.a), after completing the output directory and the number of simulations wanted in run_param.py, we need to implement the main physical parameters, which can be found in the paper (Table S1). Considering a certain frequency (e.g. 1Hz), every physical parameters will be constant except for the amplitude which will increase between 0.1 to 5 m/s2. Then, we need to choose adequate numerical parameters (can depend on the precision needed or the computing power) and run this first script. This step has then to be redo for different frequencies between 0.1 and 6 Hz. After completing all those simulations, we need to run read+extract_param3.py in the correct directory with the correct parameters to look at (PGA, Frequency). A file named "data.pkl" will appear in each directory linked to each simulation, and those are the data used in the figure scripts from the directory "figure_scripts". - - “input+output” : includes some input files from Figure 4, with their respective extracted (and compressed) output data. Following the previous example in order to reproduce the output of figure 4.a), at the end this should produce around 150 - 200 Gb of data. As it is quite heavy to put all of them on github, we only choose a sample of those simulations : following a constant 2Hz frequency for the incident wave, there are the data for thre different PGA, O.5, 2 and 4 m/s2. + - “input+output” : includes some input files from Figure 4, with their respective extracted (and compressed) output data. Following the previous example in order to reproduce the output of figure 4.a), at the end this should produce around 150 - 200 Gb of data. As it is quite heavy to put all of them on github, we only choose a sample of those simulations : following a constant 2Hz frequency for the incident wave, there are data for three different PGA, 0.5, 2 and 4 m/s2. - - “figure_scripts” : is the directory where we have put all the scripts we used to make our figure. For some of them, we used other software for post-production rearrangement, such as LibreOffice Draw. "fig_propres.py" has been used for the figure 5 of the main paper. "sem2dreadfault.py" is used as a toolbox in order to manipulated certain data from sem2dpack. + - “figure_scripts” : is the directory where we have put all the scripts we used to make our figure. For some of them, we used other software for post-production rearrangement, such as LibreOffice Draw. "fig_propres.py" has been used for the figure 5 of the main paper. "sem2dreadfault.py" is used as a toolbox in order to manipulate certain data from sem2dpack.