Using the ExtData component: Difference between revisions

Bmauer (talk | contribs)
Bmauer (talk | contribs)
Line 51: Line 51:
:Variable - This is the name of the variable ON THE FILE. It need not be the same as the export name. You can also set this to /dev/null to set the  
:Variable - This is the name of the variable ON THE FILE. It need not be the same as the export name. You can also set this to /dev/null to set the  
:File Template - this is a grads style template, if there are no tokens in the template name ExtData will assume that all the data is on one file. Note that if the data on file is at a different resolution that the application grid, the underlying I/O library ExtData uses will regrid the data to the application grid.
:File Template - this is a grads style template, if there are no tokens in the template name ExtData will assume that all the data is on one file. Note that if the data on file is at a different resolution that the application grid, the underlying I/O library ExtData uses will regrid the data to the application grid.
:The next 3 keywords are optional but all 3 must be supplied if used. Also note if your data is on one file then it makes no sense to worry about these.
:The next keyword is optional. Also note if your data is on one file then it makes there is no point to this keyword - this is time and time-interval that describes the start time and frequency of the file template you provided and has the form %y4-%m2-%d2T%h2%n2P%y4-%m2-%d2T%h2%n2 where the time before the P is a reference time and the time after the P is a time interval. Note that the year, month, and day can be left off as a unit in the time interval and it will assume that these are zero. This keyword says that the first time that the file template is good for is the reference time and there will be files using the supplied file template at the interval provided. This provides a direct way to specify if ExtData can not determine the file frequency from the template. For example if you have data every half hour to ingest, this can not be "guessed" from a file template that has a last token of a minute.
::Reference Time - When trying to find a file to get data from, the times tried when applying the template will be some multiple of a time interval from this reference time.
 
::File Frequency Units - The frequency units for the file, options are years, months, days, hours, minutes.
::File Frequency - An integer specifying the frequency in the units given in the previous keyword.