Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Confirmed.

...

    in already loaded suites.

 


Like the SMS, a ecFlow suite can be used for team work. It is suite design and management skill to decide

...

  • the definition file is split into different python modules for
    • observations retrieval
    • analysis and forecast
    • products generation and dissemination
    • plots generation
  • then a python script is in charge to put all things together and to create the suite
  • the user decides to load the full suite, only a subtsub-ree tree from the suite or to load it as an e-suite (test suite)
  • a SCM is used to identify the modules edited by different users, merge their updates, resolve the conflicts or allow them to work in an branched version or the suite for the next release.

The following example shows that with ecflowecFlow

  • a master definition file may provide the suite structure (multi1.def), with the right setting of inlimits, limits, triggers,
  • a developer in charge of adding test task to the suite may update it with a task test2, below an agreed family (/multi/main/00/test),
  • another tester may add some other tests as a different suite, triggered from 'multi' suite.

Code Block
languagebash
themeEmacs
languagebash
titleclient commands to load and replace
ecflow_client --load multi1.def
ecflow_client --replace /multi/main/00/test/fc_complete/test2 multi2.def
ecflow_client --replace /test20121123 multi3.def
python TestBench.py multi1.def
python TestBench.py  multi3.def

...

Code Block
themeEmacs
titlemulti3.def: standalone test triggered by 'multi' suite
collapsetrue
extern /limits:test
extern /multi/main/00/fc/model:step
extern /multi/main:YMD

suite test20121123
  defstatus suspended # so that it can be changed manually to queued
  repeat date YMD 20120101 20301212
  family test
    repeat integer STEP 0 120
    trigger /multi/main:YMD gt /test20121123:YMD or (/multi/main:YMD eq /test20121123:YMD and (/multi/main/00/fc/model:step ge /test20121123/test:STEP or /multi/main/00/fc/model eq complete))
    task run