next up previous
Next: The element `interpolation' Up: The Specific Model Input Previous: The `output' element


The `input' element

If the coupling/IO field is imported through a prism_get in the component code, the user will have to describe one source for that field in the SMIOC. A more detailed description of element `input', its attributes and sub-elements is given here.

  1. element `exchange_date' (mandatory) : The dates at which the coupling or I/O will effectively be performed (see `exchange_date' in `output' in section 6.5.4).

  2. element `origin' (mandatory): In the current OASIS4 version, an input coupling/IO field may come only from one origin being described by an element `origin' which contains the following attributes and sub-elements:

  3. element `target_transformation' (optional) : The transformations performed on the input coupling/IO field in the target component PSMILe .

  4. element `debug_mode' (optional) : either true or false; when it is true, the input coupling/IO field is automatically written to a file below the prism_get . Note that if there is a lag, the field read from the restart file is written to the prism_get debug file (but not to the prism_put debug file).



Footnotes

... data15
This feature is not essential for coupling data as each prism_put has a date and date_bounds as arguments. Therefore, a prism_put and a prism_get will be matched if the prism_get date falls into the date_bounds of the prism_put . Allowing for time interpolation, e.g. allowing a prism_get to match with an averaged value of the two prism_put nearest neighbour in time, could lead to deadlocks as the model performing the prism_get would be blocked until the two prism_put nearest neighbour in time are performed. We rely only the date_bounds to match prism_put and prism_get having non matching dates.

next up previous
Next: The element `interpolation' Up: The Specific Model Input Previous: The `output' element
Laure Coquart 2011-12-01