From 9e3a5c978103b04380696b4f8e18eafe92d96d4e Mon Sep 17 00:00:00 2001 From: Lene Wasskog <lene.wasskog@nibio.no> Date: Fri, 21 Feb 2025 10:22:37 +0100 Subject: [PATCH] doc: Update readme and env-sample --- README.md | 7 +++++-- env-sample | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e1486cc..9a8730a 100644 --- a/README.md +++ b/README.md @@ -59,11 +59,14 @@ MAPSERVER_LOG_FILE=/foo/mapserver/log/ADASMELISAE.log MAPSERVER_IMAGE_PATH=/foo/mapserver/image/ # The value of the EXTENT parameter in Mapserver's mapfile. Units are DD (Decimal degrees) MAPSERVER_EXTENT="-23.5 29.5 62.5 70.5" -# Path to optional CSV file with polygons for masking result. +# OPTIONAL Path to CSV file with polygons for masking result. Default: no masking performed MASK_FILE=europe_coastline.csv +# OPTIONAL If model should run for a previous year. Default: current year +YEAR=2024 ``` -...this is the contents of the `env-sample` file +...this is the contents of the `env-sample` file. + ```bash $ ./run_ADASMELIAE.sh diff --git a/env-sample b/env-sample index 8e24651..75dfd90 100644 --- a/env-sample +++ b/env-sample @@ -2,8 +2,6 @@ # Default value is False DEBUG=False -# If not given, the model is run for current year -YEAR=2024 # This is used to auto generate some variables and file names MODEL_ID="ADASMELIAE" # The start date MM-DD of the model @@ -32,5 +30,7 @@ MAPSERVER_LOG_FILE=/foo/mapserver/log/ADASMELISAE.log MAPSERVER_IMAGE_PATH=/foo/mapserver/image/ # The value of the EXTENT parameter in Mapserver's mapfile. Units are DD (Decimal degrees) MAPSERVER_EXTENT="-23.5 29.5 62.5 70.5" -# Path to optional CSV file with polygons for masking result. +# OPTIONAL Path to CSV file with polygons for masking result. Default: no masking performed MASK_FILE=europe_coastline.csv +# OPTIONAL If model should run for a previous year. Default: current year +YEAR=2024 -- GitLab