adding-wis2downloader-exercises#173
Conversation
…wmo-im/wis2box-training into adding-wis2downloader-exercises
* wis2box-1.3 updates * Auto-translated docs * Update adding-gts-headers-to-wis2-notifications.md * Auto-translated docs --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
|
Regarding the text on tunnel at the beginning: Remove this image, it is showing your localconfigured sessions which looks weird on a public webpage: You can keep the second image of putty. Please add one line with the example of setting up tunnel when using SSH in from Linux or Macbook terminal, not everyone is using PuTTy |
|
|
|
Replace |
| ```bash | ||
| pip3 install minio | ||
| pip3 install pywiscat==0.4.0 | ||
| pip3 install pywiscat |
There was a problem hiding this comment.
No longer pinning to a version?
| ```bash | ||
| docker run -d --name demo-decode-eccodes-jupyter \ | ||
| -v ~/wis2box-data/downloads:/root/downloads \ | ||
| -v ~/wis2-downloads:/root/downloads \ |
| !!! note | ||
|
|
||
| The current training materials are based on wis2box-release 1.2.0. | ||
| The current training materials are based on wis2box-release 1.3.0. |
There was a problem hiding this comment.
I've seen updating the release number in a few places. Do we want to parameterise?
|
|
||
| !!! note "About WIS2 Downloader" | ||
|
|
||
| The WIS2 Downloader is available as a standalone Docker Compose project and is recommended to be ran on a separate server from the wis2box, so as to not have the downloads interfering with the publication of messages. |
There was a problem hiding this comment.
Separate server or separate VM? Some concerns were raised previously about the need for another server.
There was a problem hiding this comment.
Both sound kind of wrong to me. Maybe call it a "separate environment"
There was a problem hiding this comment.
environment is wrong. I would just use "on a separate server or virtual machine".
|
|
||
| The WIS2 Downloader is available as a standalone Docker Compose project and is recommended to be ran on a separate server from the wis2box, so as to not have the downloads interfering with the publication of messages. | ||
|
|
||
| If you would like to develop your own service for subscribing to WIS2 notifications and downloading data, you can use the [WIS2 Downloader source code](https://github.com/World-Meteorological-Organization/wis2downloader) as a reference. |
There was a problem hiding this comment.
I'd recommend the simpler pywis-pubsub
|
|
||
| ## Preparation and requirements | ||
|
|
||
| !!! note "If not during the training" |
There was a problem hiding this comment.
What does "If not during the training" mean?
There was a problem hiding this comment.
That if you are not following the exercise during the training then you don't need to set up any tunnels probably as your setup would be very different
There was a problem hiding this comment.
Not true. For example, we make the assumption or direct people to install on an internal network. There may still be the case that someone needs to tunnel from outside to modify subscriptions., for example someone teleworking.
Also, as written it implies that people only need to do the tunneling outside of the training.
There was a problem hiding this comment.
Change it to "If on a restricted network"?
|
|
||
| !!! note "If not during the training" | ||
|
|
||
| The following steps are only to be applied if the mentioned ports are unavailable by default on the server. In any configuration, these are the only ports needed to be accessed in order to use the full capabilities of the WIS2 Downloader stack. |
There was a problem hiding this comment.
"The following steps only need to be applied if the downloader is run on a different network and the mentioned ports are inaccessible".
|
|
||
| ## Reviewing the WIS2 Downloader configuration | ||
|
|
||
| The WIS2 Downloader instance can be configured using the environment variables defined in your `.env` file. |
|
|
||
| You can keep the default configuration for the next exercises. | ||
|
|
||
| ## WIS2 Downloader API |
There was a problem hiding this comment.
How much do we / you want to go into this? The whole point of the UI is to avoid needing to do this.
I would only cover this topic if you have lots of spare time.
There was a problem hiding this comment.
Not sure if I'll actually use all of the exercises as such. I only want to have it in the page in case someones comes in later and wants to check by themselves in many of them even.
maaikelimper
left a comment
There was a problem hiding this comment.
Please check,
rm -fr ~/wis2-downloads/synop-data
vs
rm -fr /home//wis2-downloads/surface-obs
apart from that, approved
Adding the WIS2 Downloader related exercises for the practical sessions in support of the Port of Spain training