From 9374f6805c69a30e5363bcfb9663444dbf76bdfc Mon Sep 17 00:00:00 2001 From: msouff Date: Sun, 5 Jul 2020 19:26:08 -0600 Subject: [PATCH] added one day forecast task --- ecflow/client.py | 5 +++-- ecflow/start_ecflow_server.sh | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ecflow/client.py b/ecflow/client.py index b184123..8142386 100644 --- a/ecflow/client.py +++ b/ecflow/client.py @@ -1,8 +1,9 @@ #!/usr/bin/python3.6m import ecflow +host_port = "ecgate:18753" # "localhost:2500" try: - ci = ecflow.Client("localhost:2500") + ci = ecflow.Client(host_port) ci.ping() except RuntimeError as e: @@ -10,7 +11,7 @@ try: print("Loading definition in 'run_rapid.def' into the server") - ci = ecflow.Client("localhost:2500") + ci = ecflow.Client(host_port) ci.sync_local() # get the defs from the server, and place on ci defs = ci.get_defs() # retrieve the defs from ci diff --git a/ecflow/start_ecflow_server.sh b/ecflow/start_ecflow_server.sh index 9566d73..1fd1881 100644 --- a/ecflow/start_ecflow_server.sh +++ b/ecflow/start_ecflow_server.sh @@ -1,5 +1,6 @@ #! /bin/bash -export ECF_PORT=2500 -export ECF_HOST=uvm - -ecflow_start.sh -d $HOME/host_share/rapid_run/ecflow +#export ECF_PORT=2500 +#export ECF_HOST=uvm +# +#ecflow_start.sh -d $HOME/host_share/rapid_run/ecflow +ecflow_start.sh -d $HOME/rapidpy-ecflow/ecflow \ No newline at end of file