data.cache.invalidate
data.cache.invalidate invalidates a stations cache for a given source for a given time range. This causes calls to data.get following the invalidate to regenerate data that might have been cached for that time range. A common example of why a cache should be invalidated is when the corr.conf file is changed, the system does not know by default that edited data is now out of date, so an invalidate call on the edited archive would be required.
Command Line Usage
data.cache.invalidate station start end type
Arguments
start and end
The time specifiers for the data to be invalidated. Start is inclusive while end is exclusive, so at least (but possibly more than) all data within the half open interval [start,end) will be invalidated. Any convertible time format is accepted. Additionally either or both can be “none” to denote positive or negative infinity (all time up until or after).
station
The station identifier code. For example 'brw'. Case insensitive.
type
Source archive to invalidate.
Example Usage
All edited data
data.cache.invalidate bnd none none edited
One day of raw data
data.cache.invalidate sgp 2008:10 2008:11 raw