From d8bc36f6fb6217013b971f4d411bb59866a5b845 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Tue, 13 Aug 2024 07:43:10 -0400 Subject: [PATCH] update docs --- docs/source/community/troubleshooting.rst | 2 +- docs/source/reference/quickstart.rst | 4 ++-- docs/source/reference/running/api-publishing.rst | 2 +- docs/source/reference/running/station-metadata.rst | 2 +- docs/source/user/setup.rst | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/community/troubleshooting.rst b/docs/source/community/troubleshooting.rst index af7dae3f5..779860285 100644 --- a/docs/source/community/troubleshooting.rst +++ b/docs/source/community/troubleshooting.rst @@ -99,7 +99,7 @@ To add missing stations, use the station-editor in wis2box-webapp (from wis2box- .. code-block:: bash python3 wis2box-ctl.py login - wis2box metadata station publish-collection + wis2box metadata station publish-collection /data/wis2box/metadata/station/station_list.csv Error: no such container: wis2box-management diff --git a/docs/source/reference/quickstart.rst b/docs/source/reference/quickstart.rst index 154f8a918..661dac7e0 100644 --- a/docs/source/reference/quickstart.rst +++ b/docs/source/reference/quickstart.rst @@ -62,7 +62,7 @@ Load initial stations: .. code-block:: bash - wis2box metadata station publish-collection + wis2box metadata station publish-collection /data/wis2box/metadata/station/station_list.csv Ingest data using the data ingest command to push data to the ``wis2box-incoming`` bucket: @@ -81,7 +81,7 @@ Publish stations: .. code-block:: bash - wis2box metadata station publish-collection + wis2box metadata station publish-collection /data/wis2box/metadata/station/station_list.csv Logout of wis2box-management container: diff --git a/docs/source/reference/running/api-publishing.rst b/docs/source/reference/running/api-publishing.rst index 608db8714..0c57b7ac8 100644 --- a/docs/source/reference/running/api-publishing.rst +++ b/docs/source/reference/running/api-publishing.rst @@ -22,7 +22,7 @@ will generate local station collection GeoJSON for API publication. .. code-block:: bash - wis2box metadata station publish-collection + wis2box metadata station publish-collection /data/wis2box/metadata/station/station_list.csv .. note:: This command also runs automatically at startup and thereafter every 10 minutes diff --git a/docs/source/reference/running/station-metadata.rst b/docs/source/reference/running/station-metadata.rst index 59a12424e..b6f365780 100644 --- a/docs/source/reference/running/station-metadata.rst +++ b/docs/source/reference/running/station-metadata.rst @@ -35,7 +35,7 @@ specifying one line per station as follows: .. literalinclude:: ../../../../examples/config/station_list.csv -Then login in to the wis2box-container and run the command ``wis2box metadata station publish-collection`` +Then login in to the wis2box-container and run the command ``wis2box metadata station publish-collection /data/wis2box/metadata/station/station_list.csv`` to insert all stations in the station list into the backend. Within the wis2box-container you can fetch the required station metadata from OSCAR/Surface using the following command: diff --git a/docs/source/user/setup.rst b/docs/source/user/setup.rst index c6f014602..8fd2ce809 100644 --- a/docs/source/user/setup.rst +++ b/docs/source/user/setup.rst @@ -268,7 +268,7 @@ You can also bulk insert a set of stations from a CSV file, by defining the stat .. code-block:: bash python3 wis2box-ctl.py login - wis2box metadata station publish-collection + wis2box metadata station publish-collection /data/wis2box/metadata/stations/station_list.csv After doing a bulk insert please review the stations in wis2box-webapp and associate each station to the correct topics.