• Grelot Frederic's avatar
    geau Version: 1.0.19.0 · 642e2659
    Grelot Frederic authored
    0 errors :heavy_check_mark: | 0 warnings :heavy_check_mark: | 0 notes :heavy_check_mark:
    
    Note de version :
        * COORECTION so_ii_clc avec le bon scope
    
    DESCRIPTION
        * Version: 1.0.19.0
    
    data
        * correction de so_ii_clc
    
    Documentation mise à jour
    
    Vignettes
        * RAS
    
    dev
        * RAS
    642e2659
abstract_variable.py 502 bytes
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):
        self.variable_array = variable_array

    @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