Using the ExtData component: Difference between revisions

Bmauer (talk | contribs)
Bmauer (talk | contribs)
Line 43: Line 43:
:Refresh template - you have 3 choices
:Refresh template - you have 3 choices
::1.) Enter '-'. In this case the field will only be updated once the first time ExtData runs
::1.) Enter '-'. In this case the field will only be updated once the first time ExtData runs
::2.) Enter a refresh template of the form %y4-%m2-%h2T%h2:%n2:00 to set the recurring time to update the file. For example to update the file once a day at 21Z enter %y4-%m2-%d2T21:00:00, as another example update the file the first of the month at 21Z enter %y4-%m2-01T21:0000
::2.) Enter a refresh template of the form %y4-%m2-%h2T%h2:%n2:00 to set the recurring time to update the file. The file will be updated when the evaluated template changes. For example a template of the form %y4-%m2-%d2T12:00:00 will cause the variable to be updated at the start of a new day. Note that ExtData wil use the evaluated template as the working time for reading the file and will try to interpolate to that time. So in the example of %y4-%m2-%d2T12:00:00 when the clock hits 2007-08-02T00:00:00 it will update the variable but the time it will use for reading and interpolation is 2007-08-02T12:00:00
::3.) Enter '0' to update the variable at every step. ExtData will do a linear interpolation using the available times on the file. This option allows the user more sophisticated option for breaking the data up into different files. See the discussion further down about the file frequency.
::3.) Enter '0' to update the variable at every step. ExtData will do a linear interpolation using the available times on the file. This option allows the user more sophisticated option for breaking the data up into different files. See the discussion further down about the file frequency.
:Offset - This is a factor the variable will be shifted by, if you enter "none", no shifting will be performed
:Offset - This is a factor the variable will be shifted by, if you enter "none", no shifting will be performed