From ac1e7146ce4bf21f0aef6191e33b59dd0a64b0c2 Mon Sep 17 00:00:00 2001 From: Maarten Plieger Date: Wed, 23 Oct 2024 10:55:10 +0200 Subject: [PATCH] Updated documentation --- doc/Running.md | 3 ++- doc/info/Docker.md | 6 ++---- doc/tutorials/Configure_EDR_service.md | 2 +- .../Create_WMS_on_series_KNMI_HDF5_radar_files.md | 2 +- ...rvice_on_a_series_of_files_with_a_time_dimension.md | 10 +++++----- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/doc/Running.md b/doc/Running.md index de612e31f..2c80b5322 100644 --- a/doc/Running.md +++ b/doc/Running.md @@ -65,7 +65,8 @@ If you now see the viewer, you have succesfully started the adaguc-server. Scan with the adaguc-server container: ``` -docker exec -i -t my-adaguc-server /adaguc/adaguc-server-updatedatasets.sh +docker exec -i -t my-adaguc-server /adaguc/scan.sh -l +docker exec -i -t my-adaguc-server /adaguc/scan.sh ``` ## Visit the webservice: diff --git a/doc/info/Docker.md b/doc/info/Docker.md index 8df0df749..7fb212fe0 100644 --- a/doc/info/Docker.md +++ b/doc/info/Docker.md @@ -28,8 +28,7 @@ docker-compose build docker-compose up -d && sleep 10 1. Scan datasets: - docker exec -i -t my-adaguc-server - /adaguc/adaguc-server-updatedatasets.sh + docker exec -i -t my-adaguc-server /adaguc/scan.sh @@ -104,8 +103,7 @@ mkdir \$HOME/adaguc-datasets 1. Scan datasets: - docker exec -i -t my-adaguc-server - /adaguc/adaguc-server-updatedatasets.sh + docker exec -i -t my-adaguc-server /adaguc/scan.sh diff --git a/doc/tutorials/Configure_EDR_service.md b/doc/tutorials/Configure_EDR_service.md index 08276760c..6967681c1 100644 --- a/doc/tutorials/Configure_EDR_service.md +++ b/doc/tutorials/Configure_EDR_service.md @@ -108,7 +108,7 @@ parameter_names": { ## Step 3: Scan the new data ``` -docker exec -i -t my-adaguc-server /adaguc/adaguc-server-updatedatasets.sh edr +docker exec -i -t my-adaguc-server /adaguc/scan.sh -d edr ``` ## Step 4: Check if the EDR endpoint works diff --git a/doc/tutorials/Create_WMS_on_series_KNMI_HDF5_radar_files.md b/doc/tutorials/Create_WMS_on_series_KNMI_HDF5_radar_files.md index f28126221..1fe22ba2c 100644 --- a/doc/tutorials/Create_WMS_on_series_KNMI_HDF5_radar_files.md +++ b/doc/tutorials/Create_WMS_on_series_KNMI_HDF5_radar_files.md @@ -130,7 +130,7 @@ This file is called a dataset configuration and is normally stored in the adaguc # Step 4: Scan the files ``` -docker exec -i -t my-adaguc-server /adaguc/adaguc-server-updatedatasets.sh RAD_NL25_PCP_CM +docker exec -i -t my-adaguc-server /adaguc/scan.sh -d RAD_NL25_PCP_CM ``` ## Output: diff --git a/doc/tutorials/Create_a_WMS_service_on_a_series_of_files_with_a_time_dimension.md b/doc/tutorials/Create_a_WMS_service_on_a_series_of_files_with_a_time_dimension.md index 5ed4fc8d9..7efc70c99 100644 --- a/doc/tutorials/Create_a_WMS_service_on_a_series_of_files_with_a_time_dimension.md +++ b/doc/tutorials/Create_a_WMS_service_on_a_series_of_files_with_a_time_dimension.md @@ -31,13 +31,13 @@ You could copy these files from [here - python/examples/rundataset/data/sequence When everything is configured, you are ready to scan (or ingest) the files, this can be done with the following command: ``` -docker exec -i -t my-adaguc-server /adaguc/adaguc-server-updatedatasets.sh mymonthlyconfig +docker exec -i -t my-adaguc-server /adaguc/scan.sh -d mymonthlyconfig ``` It should print something like: ``` -$ docker exec -i -t my-adaguc-server /adaguc/adaguc-server-updatedatasets.sh mymonthlyconfig +$ docker exec -i -t my-adaguc-server /adaguc/scan.sh -d mymonthlyconfig Using adagucserver from /adaguc/adaguc-server-master Using config from /adaguc/adaguc-server-config.xml @@ -76,13 +76,13 @@ If you would like to add a single file in the configured data directory, you can do: ``` -docker exec -i -t my-adaguc-server /adaguc/adaguc-server-updatedatasets.sh mymonthlyconfig apr.nc +docker exec -i -t my-adaguc-server /adaguc/scan.sh -d mymonthlyconfig apr.nc ``` If you would like to scan specific files in a certain subdirectory of the configured data directory, you can do: ``` -docker exec -i -t my-adaguc-server /adaguc/adaguc-server-updatedatasets.sh mymonthlyconfig 2013 +docker exec -i -t my-adaguc-server /adaguc/scan.sh -d mymonthlyconfig 2013 ``` This adds the files which are located in the given subdirectory. If @@ -95,7 +95,7 @@ If you would like to remove files from the service, because they do not exist anymore on the filesystem or for any other reason, you can call updatedb again with only the dataset: ``` -docker exec -i -t my-adaguc-server /adaguc/adaguc-server-updatedatasets.sh mymonthlyconfig +docker exec -i -t my-adaguc-server /adaguc/scan.sh -d mymonthlyconfig ``` This checks if files are present in adaguc-server database but not on the filesystem. It will also check if files have been updated.