LittoSim / LittoSim_model

Participatory simulation model of coastal flooding management
http://littosim.github.io/LittoSim_model/
7 stars 3 forks source link

Why : Application name in study_area.conf and study_area path in littosim.conf #59

Closed nbecu closed 4 years ago

nbecu commented 4 years ago

Dans study_area.conf on trouve -# The application name identifies the study area and is used to create custom file and folders APPLICATION_NAME;overflow_coast_v

Dans littosim.conf on trouve -# STUDY_AREA_FILE : this parameter should point to study_area.conf of the study area STUDY_AREA_FILE;../includes/overflow_coast_v/study_area.conf

--> Cela me pose deux questions :

laatabix commented 4 years ago

STUDY_AREA_FILE (littosim.conf) c'est le chemin du fichier study_area.conf du cas qu'on veut jouer.

APPLICATION_NAME : c'est le nom de l'application, du cas d'étude, qui doit aussi être le même nom du répertoire de l'étude de cas, "overflow_coast_v" par exemple.

Peut être il y a une redondance d'information, on n'a pas vraiment besoin de spécifier le APPLICATION_NAME qu'on peut lire dans le chemin spécifié dans STUDY_AREA_FILE

On Wed, Jun 3, 2020 at 5:35 PM nbecu notifications@github.com wrote:

Dans study_area.conf on trouve The application name identifies the study area and is used to create custom file and folders

APPLICATION_NAME;overflow_coast_v

Dans littosim.conf on trouve STUDY_AREA_FILE : this parameter should point to study_area.conf of the study area

STUDY_AREA_FILE;../includes/overflow_coast_v/study_area.conf

--> Cela me pose deux questions :

  • En quoi un "Application" est différent d'un "Study area" ?
  • si c'est la meme chose (ce qu'il me semble) a t-on besoin de le spécifier deux fois ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LittoSim/LittoSim_model/issues/59, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVLFFYKHSD3OJ577I2RHNDRUZUSZANCNFSM4NRY6DWA .

-- Ahmed Laatabi LIENSs - Université de La Rochelle +(33) 7 70 24 75 70

nbecu commented 4 years ago

Dans ce cas, je propose qu'on garde que STUDY_AREA_FILE (littosim.conf) et qu'on supprime APPLICATION_NAME(study_area.conf)

laatabix commented 4 years ago

L'application_name est lu directement à partir du chemin du study_area.conf selectioné.

https://github.com/LittoSim/LittoSim_model/commit/d754054a8cdd070f0b83c4b97970ab226d56bc7a