fr:develop:utilisation:cli

This is an old revision of the document!


FIXME En travaux .. FIXME

Dans un terminal Windows, tapez : 'habby.exe' ou 'python.exe habby.py' suivis de la commande souhaitée.

  • LIST_COMMAND : liste toutes commandes disponibles ;
  • CREATE_PROJECT : création d'un projet ;
  • CREATE_HYD : création d'un fichier hydraulique .hyd ;
  • LOAD_SUB : création d'un fichier substrat .sub ;
  • MERGE_GRID_SUB : création d'un fichier habitat .hab ;
  • RUN_HABITAT : calcul des valeurs d'habitat à partir d'un fichier .hab ;
  • RUN_HS : calcul l'hydrosginature d'un fichier .hyd ou .hab ;
  • EXPORT : lancer les exports à partir d'un fichier .hyd ou .hab ;
  • RUN_ESTIMHAB : lance le calcul Estimhab ;
  • RUN_STATHAB : lance le calcul Stathab ;
  • RUN_FSTRESS : lance le calcul FStress.

Lien vers la doc sphinx FIXME

Quelques exemples :

CREATE_HYD model=TELEMAC inputfile="input_file.txt" cut=True outputfilename=cli_test.hyd path_prj=C:\Users\user.name\Documents\HABBY_projects\DefaultProj  
CREATE_HYD model=TELEMAC inputfile="input_file.slf" unit_list=5400.0,7200.0 cut=True outputfilename=cli_test.hyd outputfilename=input_file_spe.hyd path_prj=...\HABBY_projects\DefaultProj
  • fr/develop/utilisation/cli.1621519434.txt.gz
  • 2021/05/20 16:03
  • qroyer