An error occurred while loading the file. Please try again.
-
remi cresson authored4845d624
import numpy as np
class AbstractVariable(object):
"""
All Variable (CROCUS & SAFRAN) are available since 1958-08-01 06:00:00
"""
NAME = ''
UNIT = ''
def __init__(self, variable_array, nb_consecutive_days=3):
self.variable_array = variable_array
self.nb_consecutive_days = nb_consecutive_days
@classmethod
def keyword(cls, nb_consecutive_days=3):
raise NotImplementedError
@property
def daily_time_serie_array(self) -> np.ndarray:
# Return an array of size length of time series x nb_massif
raise NotImplementedError