Using the ExtData component: Difference between revisions

Bmauer (talk | contribs)
Bmauer (talk | contribs)
Line 65: Line 65:
If you enter '0' for the refresh template the field gets updated every step and ExtData will try to interpolate to the application time using the data on file.
If you enter '0' for the refresh template the field gets updated every step and ExtData will try to interpolate to the application time using the data on file.


<span style="color:#FF0000">Let me repeat, ExtData always tries to interpolate to the time you tell it to using the data on the file or files you reference. To do this at any time your application will encounter, whether it is the application time or a time that gets produced by evaluating a refresh template ExtData must be able to find two times on the data series that bracket this time. These need not be on the same file as it can interpolate between data on different files. Also you should not have time on a file that lies outside the range indicated by the file name. For example if the file templated and you have a 2008 file, the 2008 file should not have any time in it that falls outside of 2008. This defeats the purpose of ExtData. Please reread this as it is key to understanding how ExtData functions.</span>
<span style="color:#FF0000">Let me repeat, ExtData always tries to interpolate to the time you tell it to using the data on the file or files you reference. To do this at any time your application will encounter, whether it is the application time or a time that gets produced by evaluating a refresh template ExtData must be able to find two times on the data series that bracket this time. These need not be on the same file as it can interpolate between data on different files. Also you should not have time on a file that lies outside the range indicated by the file name. For example if the yearly files so your file template looks like myfile_%y4.nc4 and you have a 2008 file, the 2008 file should not have any time in it that falls outside of 2008. This defeats the entire purpose of ExtData. Please reread this as it is key to understanding how ExtData functions.</span>