An error occurred while loading the file. Please try again.
-
Le Roux Erwan authored944f1cbb
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_of_snowfall=1):
self.variable_array = variable_array
self.nb_consecutive_days_of_snowfall = nb_consecutive_days_of_snowfall
@classmethod
def keyword(cls):
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