Changeset f20342a in flex_extract.git for For_developers/Sphinx/source/Documentation/Input/run.rst
- Timestamp:
- May 27, 2020, 8:01:54 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 550435b
- Parents:
- a14839a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
For_developers/Sphinx/source/Documentation/Input/run.rst
rb1674ed rf20342a 1 1 ********************************** 2 The executable Script - ``run.sh``2 The executable script - ``run.sh`` 3 3 ********************************** 4 4 5 The execution of ``flex_extract`` is done by the ``run.sh`` Shell script, which is a wrappingscript for the top-level Python script ``submit.py``.5 The execution of ``flex_extract`` is done by the ``run.sh`` shell script, which is a wrapper script for the top-level Python script ``submit.py``. 6 6 The Python script constitutes the entry point to ECMWF data retrievals with ``flex_extract`` and controls the program flow. 7 7 8 ``submit.py`` has two ( three) sources for input parameters with information about program flow and ECMWF data selection, the so-called ``CONTROL`` file,9 the command line parameters and the so-called ``ECMWF_ENV`` file. Whereby, the command line parameters will override the ``CONTROL`` file parameters.8 ``submit.py`` has two (or three) sources for input parameters with information about program flow and ECMWF data selection, the so-called ``CONTROL`` file, 9 the command line parameters, and the so-called ``ECMWF_ENV`` file. Command line parameters will override parameters specified in the ``CONTROL`` file. 10 10 11 Based on th ese input information ``flex_extract`` applies one of the application modes to either retrieve the ECMWF data via a Web API on a local maschine or submit a jobscript to ECMWF servers and retrieve the data there with sending the files to the local system eventually.11 Based on this input information, ``flex_extract`` applies one of the application modes to either retrieve the ECMWF data via a web API on a local maschine, or submit a job script to an ECMWF server and retrieve the data there, and at the end sends the files to the local system. 12 12 13 13 14 14 15 15 16 Submission Parameter16 Submission parameters 17 17 -------------------- 18 18 19 19 20 .. exceltable:: Parameter for Submission20 .. exceltable:: Parameters for submission 21 21 :file: ../../_files/SubmitParameters.xls 22 22 :header: 1 … … 39 39 --------------------------------- 40 40 41 It is also possible to start ``flex_extract`` directly from command line by using the ``submit.py`` script instead of the wrapp ing Shell script ``run.sh``. This top-level script is located in42 ``flex_extract_vX.X/Source/Python`` and is executable. With the `` help`` parameter we see again all possible43 command line parameter.41 It is also possible to start ``flex_extract`` directly from command line by using the ``submit.py`` script instead of the wrapper shell script ``run.sh``. This top-level script is located in 42 ``flex_extract_vX.X/Source/Python`` and is executable. With the ``--help`` parameter 43 we see again all possible command line parameters. 44 44 45 45 .. code-block:: bash
Note: See TracChangeset
for help on using the changeset viewer.