Mandatory data_revision on all obs-readers, disable last-file check in caching #1244
Open
1 of 2 tasks
Labels
enhancement ✨
New feature or request
Milestone
Is your feature request related to a problem? Please describe.
Caching of ungridded data relies on both
data_revision
andnewest_file_in_read_dir
, see #1242 . The newest_file_in_read_dir test is error prone since a touch or another minor filesystem operation will invalidate the cache, in addition it can be very slow, e.g. for the EEA-reader. If observation-readers deliver their own mandatory data_revision, the too general test can be removed.Describe the solution you would like to see
newst_file_in_read_dir
andnewest_file_date_in_read_dir
are removed from the ungridded-cache as well as the test-code:pyaerocom/pyaerocom/io/cachehandler_ungridded.py
Line 163 in 300de5a
The text was updated successfully, but these errors were encountered: