diff --git a/src/library/datasets/rapv3.py b/src/library/datasets/rapv3.py index dfcc672..43ea2c0 100644 --- a/src/library/datasets/rapv3.py +++ b/src/library/datasets/rapv3.py @@ -87,6 +87,12 @@ def __init__(self, store_path): 'biomass_pfg': {'fpattern' : biomass_fpattern, 'band_id' : 2} } + # Attributes for caching loaded and subsetted data. + self.data_loaded = None + self.cur_data = None + self.current_clip = None + self.cur_data_clipped = None + def _loadData(self, varname, date_grain, request_date, subset_geom): """ Loads the data from disk, if needed. Will re-use already loaded (and