Running CAMS in simulation mode (Tutorial) » History » Version 7
Rafael Bailon-Ruiz, 2020-10-08 11:05
1 | 3 | Rafael Bailon-Ruiz | h1. Running CAMS (Tutorial) |
---|---|---|---|
2 | |||
3 | This tutorial will teach you how to run the CAMS GUI with a simple scenario in simulation mode. |
||
4 | |||
5 | {{toc}} |
||
6 | |||
7 | First of all, *make sure you successfully completed the [[Installation#Developer installation process|Installation (Developer)]] tutorial*. Then, open a terminal and change the current directory to the folder where the core packages are installed. |
||
8 | |||
9 | 6 | Rafael Bailon-Ruiz | <pre><code class="shell"> |
10 | cd /path/to/nephelae_workspace |
||
11 | </code></pre> |
||
12 | |||
13 | 4 | Rafael Bailon-Ruiz | h2. Accessing the files for a simulated cloud environment |
14 | 3 | Rafael Bailon-Ruiz | |
15 | 7 | Rafael Bailon-Ruiz | In order to run CAMS in fully simulated mode first yout need a mesoNH file describing a synthetic atmospheric environment. MesoNH files are databases in "NetCDF _(.nc)_ format":https://en.wikipedia.org/wiki/NetCDF. |
16 | 3 | Rafael Bailon-Ruiz | |
17 | 5 | Rafael Bailon-Ruiz | The computer @girofle@ at LAAS contains a mesoNH file that can be used with CAMS. You can use the command below to mount the folder the remote folder as a local directory: |
18 | 3 | Rafael Bailon-Ruiz | |
19 | <pre><code class="shell"> |
||
20 | sshfs girofle.laas.fr:/media/Nephelae-Data/data/Nephelae/ mesonh_girofle_mount/ |
||
21 | </code></pre> |
||
22 | |||
23 | 7 | Rafael Bailon-Ruiz | The recommended file for this tutorial is: |
24 | 1 | Rafael Bailon-Ruiz | |
25 | 7 | Rafael Bailon-Ruiz | <pre> |
26 | REFHR.1.ARMCu.4D.nc |
||
27 | </pre> |
||
28 | 3 | Rafael Bailon-Ruiz | |
29 | 7 | Rafael Bailon-Ruiz | Despite its huge size (~72 GB), the best way to work with this particular file is to download it to your computer. If you are at LAAS connected with an Ethernet cable, you have a high-bandwith and low-lattency link. Therefore you can read the files in the remote folder directly, but beware of errors that can occur if the quality of the connection degrades. |
30 | 1 | Rafael Bailon-Ruiz | |
31 | 3 | Rafael Bailon-Ruiz | |
32 | 1 | Rafael Bailon-Ruiz | h2. Scenario setup |
33 | |||
34 | 7 | Rafael Bailon-Ruiz | A valid configuration file is required to run the graphical interface server. Scenario configuration files describe the atmospheric environment and the UAVs so CAMS can use the appropriate algorithms and models to manage them. |
35 | 3 | Rafael Bailon-Ruiz | |
36 | 7 | Rafael Bailon-Ruiz | For this tutorial a simple |
37 | |||
38 | 3 | Rafael Bailon-Ruiz | There are dedicated tutorial and reference guide wiki pages for scenario configuration, but for an initial run let's use a simple file. |
39 | |||
40 | |||
41 | h2. |