| |
- builtins.object
-
- PlageUtil
- Tronconvigilance
- _Entitehydro(builtins.object)
-
- Capteur
- _Site_or_station(_Entitehydro)
-
- Sitehydro
-
- Sitehydroattache
- Station
-
- PlageStation
class Capteur(_Entitehydro) |
|
Capteur(code, codeh2=None, typemesure='H', libelle=None, typecapteur=0, mnemo=None, surveillance=None, dtmaj=None, pdt=None, essai=None, commentaire=None, observateur=None, plages=None, strict=True)
Classe Capteur.
Classe pour manipuler des capteurs hydrometriques.
Proprietes:
code (string(12)) = code hydro
codeh2 (string(8)) = ancien code hydro2
typemesure (caractere parmi NOMENCLATURE[520]) = H ou Q
typecapteur (int parmi NOMENCLATURE[519])
libelle (string) = libelle
mnemo (str) = mnemonique
surveillance (bool) = capteur à surveiller
dtmaj (datetime.datetime) = date de mise à jour
pdt (int) = pas de temps
essai (boolean) = capteur d'essai
commentaire (string) = commentaire
observateur (intervenant.Contact) = observateur du capteur
plages (PlageUtil ou un iterable
de PlageUtil ou None) = plages d'utilisation |
|
- Method resolution order:
- Capteur
- _Entitehydro
- builtins.object
Methods defined here:
- __init__(self, code, codeh2=None, typemesure='H', libelle=None, typecapteur=0, mnemo=None, surveillance=None, dtmaj=None, pdt=None, essai=None, commentaire=None, observateur=None, plages=None, strict=True)
- Initialisation.
Arguments:
code (string(12)) = code hydro
codeh2 (string(8)) = ancien code hydro2
typemesure (caractere parmi NOMENCLATURE[520], defaut H) = H ou Q
typecapteur (int parmi NOMENCLATURE[519])
libelle (string) = libelle
mnemo (str) = mnemonique
surveillance (bool) = capteur à surveiller
dtmaj (datetime.datetime) = date de mise à jour
pdt (int) = pas de temps
essai (boolean) = capteur d'essai
commentaire (string) = commentaire
observateur (intervenant.Contact) = observateur du capteur
plages (PlageUtil ou un iterable
de PlageUtil ou None) = plages d'utilisation
strict (bool, defaut True) = le mode permissif permet de lever les
controles de validite du code et du type de mesure
- __str__(self)
- Return string representation from __unicode__ method.
- __unicode__(self)
- Return unicode representation.
Data descriptors defined here:
- dtmaj
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- essai
- Return essai.
- observateur
- Return observateur.
- pdt
- Return pdt.
- plages
- Return plages.
- surveillance
- Return surveillance.
- typecapteur
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- typemesure
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
Data and other attributes defined here:
- __all__attrs__ = ('code', 'codeh2', 'typemesure', 'libelle', 'typecapteur', 'mnemo', 'surveillance', 'dtmaj', 'pdt', 'essai', 'commentaire', 'observateur', 'plages')
Methods inherited from _Entitehydro:
- __eq__(self, other, attrs=None, ignore=None, lazzy=False)
- Equal elaborate function.
Arguments:
self, other
attrs (iterable of strings, default to self.__class__.__all__attrs__ or
__self.__dict__.keys() = the attrs to compare
ignore (iterable of strings, default None) = attrs to ignore in the
comparison
lazzy (bool, default False) = if True does not test an attribute
whose counterpart is None
NB: functool.partial could be smarter than a private class variable to
fix the default attrs list, but it doesn't work with 'self'.
- __hash__(self)
- __ne__(self, other, attrs=[], ignore=[], lazzy=False)
Data descriptors inherited from _Entitehydro:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- code
- Return code hydro.
- codeh2
- Return code hydro2.
|
class PlageStation(Station) |
|
PlageStation(code=None, libelle=None, dtdeb=None, dtfin=None)
Classe PlageStation
Classe pour manipuler des plages d'association à une station
Proprietes:
code (string(10)) = code de la station hydro
dtdeb (datetime.datetime) = Date de début de la plage
dtfin (datetime.datetime ou None) = Date de fin de la plage |
|
- Method resolution order:
- PlageStation
- Station
- _Site_or_station
- _Entitehydro
- builtins.object
Methods defined here:
- __eq__(self, other, attrs=None, ignore=None, lazzy=False)
- Equal elaborate function.
Arguments:
self, other
attrs (iterable of strings, default to self.__class__.__all__attrs__ or
__self.__dict__.keys() = the attrs to compare
ignore (iterable of strings, default None) = attrs to ignore in the
comparison
lazzy (bool, default False) = if True does not test an attribute
whose counterpart is None
NB: functool.partial could be smarter than a private class variable to
fix the default attrs list, but it doesn't work with 'self'.
- __hash__(self)
- __init__(self, code=None, libelle=None, dtdeb=None, dtfin=None)
- Initialisation.
Arguments:
code (string(10)) = code de la station hydro
dtdeb (datetime.datetime) = Date de début de la plage
dtfin (datetime.datetime ou None) = Date de fin de la plage
- __ne__(self, other, attrs=[], ignore=[], lazzy=False)
- __str__(self)
- Return string representation from __unicode__ method.
- __unicode__(self)
- Return unicode representation.
Data descriptors defined here:
- dtdeb
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtfin
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
Data and other attributes defined here:
- __all__attrs__ = ('code', 'libelle', 'dtdeb', 'dtfin')
Data descriptors inherited from Station:
- capteurs
- Return capteurs.
- commune
- Return code commune.
- delaiabsence
- Return delaiabsence.
- delaidiscontinuite
- Return delaidiscontinuite.
- droitpublication
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- dtfermeture
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtmaj
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtmiseservice
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- essai
- Return essai.
- finalites
- Return finalites.
- niveauaffichage
- Return niveau d'affichage.
- plages
- Return plages.
- plagesstationsfille
- Return plagesstationsfille.
- plagesstationsmere
- Return plagesstationsmere.
- pointk
- Return pointk.
- qualifsdonnees
- Return qualifsdonnees.
- refsalti
- Return refsalti.
- reseaux
- Return reseaux.
- stationsamont
- Return stationsamont.
- stationsanterieures
- Return stationsanterieures.
- stationsaval
- Return stationsaval.
- stationsposterieures
- Return stationsposterieures.
- surveillance
- Return surveillance.
- typestation
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
Data descriptors inherited from _Site_or_station:
- coord
- Return coord.
- images
- Return images.
- influence
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- loisstat
- Return loisstat.
- roles
- Return roles.
Data descriptors inherited from _Entitehydro:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- code
- Return code hydro.
- codeh2
- Return code hydro2.
|
class PlageUtil(builtins.object) |
|
PlageUtil(dtdeb=None, dtfin=None, dtactivation=None, dtdesactivation=None, active=True)
Classe PlageUtil.
Classe pour manipuler les plages d'activations des capteurs et stations.
Proprietes:
dteb (datetime.datetime) = date de début
dtfin (datetime.datetime or None) = datefin
dtactivation (datetime.datetime or None) = date d'activation
dtdesactivation (datetime.datetime or None) = date de desactivation
active (bool or None) = True plage activé |
|
Methods defined here:
- __eq__(self, other, attrs=None, ignore=None, lazzy=False)
- Equal elaborate function.
Arguments:
self, other
attrs (iterable of strings, default to self.__class__.__all__attrs__ or
__self.__dict__.keys() = the attrs to compare
ignore (iterable of strings, default None) = attrs to ignore in the
comparison
lazzy (bool, default False) = if True does not test an attribute
whose counterpart is None
NB: functool.partial could be smarter than a private class variable to
fix the default attrs list, but it doesn't work with 'self'.
- __hash__(self)
- __init__(self, dtdeb=None, dtfin=None, dtactivation=None, dtdesactivation=None, active=True)
- Initialisation.
- __ne__(self, other, attrs=[], ignore=[], lazzy=False)
- __str__(self)
- Return string representation from __unicode__ method.
- __unicode__(self)
- Return unicode representation.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- active
- Return active.
- dtactivation
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtdeb
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtdesactivation
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtfin
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
Data and other attributes defined here:
- __all__attrs__ = ('dtdeb', 'dtfin', 'dtactivation', 'dtdesactivation', 'active')
|
class Sitehydro(_Site_or_station) |
|
Sitehydro(code, codeh2=None, typesite='REEL', libelle=None, libelleusuel=None, coord=None, stations=None, communes=None, entitehydro=None, zonehydro=None, tronconhydro=None, precisioncoursdeau=None, mnemo=None, complementlibelle=None, pkamont=None, pkaval=None, altitude=None, dtmaj=None, bvtopo=None, bvhydro=None, fuseau=None, statut=None, dtpremieredonnee=None, moisetiage=None, moisanneehydro=None, dureecrues=None, publication=None, essai=None, influence=None, influencecommentaire=None, commentaire=None, siteassocie=None, sitesattaches=None, massedeau=None, loisstat=None, images=None, roles=None, entitesvigicrues=None, lamesdeau=None, sitesamont=None, sitesaval=None, strict=True)
Classe Sitehydro.
Classe pour manipuler des sites hydrometriques.
Proprietes:
code (string(8)) = code hydro
codeh2 (string(8)) = ancien code hydro2
typesite (string parmi NOMENCLATURE[530])
libelle (string)
libelleusuel (string)
coord (Coord) =
x, y (float)
proj (int parmi NOMENCLATURE[22]) = systeme de projection
stations (une liste de Station)
communes (une liste de _composant_site.Commune) = liste de communes
entitehydro (string(8) = entité hydrographique
zonehydro (string(4)) = zone hydrographique
tronconhydro (string(8)) = troncon hydrographique
precisioncoursdeau (string) = precision du cours d'eau
mnemo (string ou None) = mnémo du site
complementlibelle (string ou None) = complément du libellé
pkamont (float ou None) = pk amont
pkaval (float ou None) = pk aval
altitude (_composant_site.Altitude ou None) = Altitude du site
dtmaj (datetime.datetime ou None) = Date de mise à jour
bvtopo (float ou None = bassin versant topologique
bvhydro (float ou None) = bassin versant hydrologique
fuseau (int parmi NOMENCLATURE[530]) = fuseau horaire
statut (int parmi NOMENCLATURE[460]) = statut du site
dtpremieredonnee (datetime.datetime ou None) =
date de la première donnée
moisetiage (int ou None) = mois étiage
moisanneehydro (int ou None) = mois année hydro
dureecrues (int ou None) = durée caractéristique des crues
publication (int parmi NOMENCLATURE[871]) = droit de publication
essai (bool ou None) = site d'essai
influence (int parmi NOMENCLATURE[104]) = influende du site
influencecommentaire (unicode ou None) = commentaire de l'influence
commentaire (unicode ou None) = commentaire
siteassocie (Sitehydro ou None) = site associé
sitesattaches (iterable of Sitehydroattache) = sites attachés
massedeau (unidoe ou None) = masse d'eau
loisstat (iterable of _composant_site.LoiStat = lois statistiques
images (_composant_site.Image r iterbale of _composant_site.Image)
= images du site
roles (iterable of rolecontact.RoleContact) = roles des contacts
entitesvigicrues (iterable of _composant_site.EntiteVigiCrues) =
entités de vigilance crues
lamesdeau (iterable of SitemeteoPondere) = lames d'eau associées
sitesamont (iterable of Sitehydro) = sites hydro amont
sitesaval (iterbale of Sitehydro) = sites hydro aval |
|
- Method resolution order:
- Sitehydro
- _Site_or_station
- _Entitehydro
- builtins.object
Methods defined here:
- __init__(self, code, codeh2=None, typesite='REEL', libelle=None, libelleusuel=None, coord=None, stations=None, communes=None, entitehydro=None, zonehydro=None, tronconhydro=None, precisioncoursdeau=None, mnemo=None, complementlibelle=None, pkamont=None, pkaval=None, altitude=None, dtmaj=None, bvtopo=None, bvhydro=None, fuseau=None, statut=None, dtpremieredonnee=None, moisetiage=None, moisanneehydro=None, dureecrues=None, publication=None, essai=None, influence=None, influencecommentaire=None, commentaire=None, siteassocie=None, sitesattaches=None, massedeau=None, loisstat=None, images=None, roles=None, entitesvigicrues=None, lamesdeau=None, sitesamont=None, sitesaval=None, strict=True)
- Initialisation.
Arguments:
code (string(8)) = code hydro
codeh2 (string(8)) = ancien code hydro2
typesite (string parmi NOMENCLATURE[530], defaut REEL)
libelle (string)
libelleusuel (string)
coord (list ou dict) =
(x, y, proj) ou {'x': x, 'y': y, 'proj': proj}
avec proj (int parmi NOMENCLATURE[22]) = systeme de projection
stations (une Station ou un iterable de Station)
communes (a _composant_site.Commune
or an iterable of _composant_site.Commune))
entitehydro (string(8) = entité hydrographique
zonehydro (string(4)) = zone hydrographique
tronconhydro (string(8)) = troncon hydrographique
precisioncoursdeau (string) = precision du cours d'eau
mnemo (string ou None) = mnémo du site
complementlibelle (string ou None) = complément du libellé
pkamont (float ou None) = pk amont
pkaval (float ou None) = pk aval
altitude (_composant_site.Altitude ou None) = Altitude du site
dtmaj (datetime.datetime ou None) = Date de mise à jour
bvtopo (float ou None = bassin versant topologique
bvhydro (float ou None) = bassin versant hydrologique
fuseau (int parmi NOMENCLATURE[530]) = fuseau horaire
statut (int parmi NOMENCLATURE[460]) = statut du site
dtpremieredonnee (datetime.datetime ou None) =
date de la première donnée
moisetiage (int ou None) = mois étiage
moisanneehydro (int ou None) = mois année hydro
dureecrues (int ou None) = durée caractéristique des crues
publication (int parmi NOMENCLATURE[871]) = droit de publication
essai (bool ou None) = site d'essai
influence (int parmi NOMENCLATURE[104]) = influende du site
influencecommentaire (unicode ou None) = commentaire de l'influence
commentaire (unicode ou None) = commentaire
siteassocie (Sitehydro ou None) = site associé
sitesattaches (iterable of Sitehydroattache) = sites attachés
massedeau (unidoe ou None) = masse d'eau
loisstat (iterable of _composant_site.LoiStat = lois statistiques
images (_composant_site.Image r iterbale of _composant_site.Image)
= images du site
roles (iterable of rolecontact.RoleContact) = roles des contacts
entitesvigicrues (iterable of _composant_site.EntiteVigiCrues) =
entités de vigilance crues
lamesdeau (iterable of SitemeteoPondere) = lames d'eau associées
sitesamont (iterable of Sitehydro) = sites hydro amont
sitesaval (iterbale of Sitehydro) = sites hydro aval
strict (bool, defaut True) = le mode permissif permet de lever les
controles de validite du type, du code et des stations
- __str__(self)
- Return string representation from __unicode__ method.
- __unicode__(self)
- Return unicode representation.
Data descriptors defined here:
- altitude
- Return altitude.
- bvhydro
- Return bvhydro.
- bvtopo
- Return bvtopo.
- communes
- Return codes communes.
- dtmaj
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtpremieredonnee
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dureecrues
- Return dureecrues.
- entitehydro
- Return zonehydro.
- entitesvigicrues
- Return entitesvigicrues.
- essai
- Return essai.
- fuseau
- Return fuseau.
- lamesdeau
- Return lamesdeau.
- moisanneehydro
- Return moisanneehydro.
- moisetiage
- Return moisetiage.
- pkamont
- Return pkamont.
- pkaval
- Return pkaval.
- publication
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- siteassocie
- Return siteassocie.
- sitesamont
- Return sitesamont.
- sitesattaches
- Return sitesattaches.
- sitesaval
- Return sitesaval.
- stations
- Return stations.
- statut
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- tronconhydro
- Return tronconhydro.
- typesite
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- zonehydro
- Return zonehydro.
Data and other attributes defined here:
- __all__attrs__ = ('code', 'codeh2', 'typesite', 'libelle', 'libelleusuel', 'coord', 'stations', 'communes', 'entitehydro', 'zonehydro', 'tronconhydro', 'precisioncoursdeau', 'mnemo', 'complementlibelle', 'pkamont', 'pkaval', 'altitude', 'dtmaj', 'bvtopo', 'bvhydro', ...)
Data descriptors inherited from _Site_or_station:
- coord
- Return coord.
- images
- Return images.
- influence
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- loisstat
- Return loisstat.
- roles
- Return roles.
Methods inherited from _Entitehydro:
- __eq__(self, other, attrs=None, ignore=None, lazzy=False)
- Equal elaborate function.
Arguments:
self, other
attrs (iterable of strings, default to self.__class__.__all__attrs__ or
__self.__dict__.keys() = the attrs to compare
ignore (iterable of strings, default None) = attrs to ignore in the
comparison
lazzy (bool, default False) = if True does not test an attribute
whose counterpart is None
NB: functool.partial could be smarter than a private class variable to
fix the default attrs list, but it doesn't work with 'self'.
- __hash__(self)
- __ne__(self, other, attrs=[], ignore=[], lazzy=False)
Data descriptors inherited from _Entitehydro:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- code
- Return code hydro.
- codeh2
- Return code hydro2.
|
class Sitehydroattache(Sitehydro) |
|
Sitehydroattache(code=None, ponderation=None, decalage=None, dtdeb=None, dtfin=None, dtdebactivation=None, dtfinactivation=None)
Classe Sitehydroattache.
Classe pour manipuler des sites hydrometriques attachés.
Proprietes:
proprietes de Sitehydro
ponderation = pondération du site
decalage = décalage en minutes de l'hydrogramme
dtdeb = date de début
dtfin = date de fin
dtdebactivation = date de début d'activation
dtfinactivation = date de fin d'activation |
|
- Method resolution order:
- Sitehydroattache
- Sitehydro
- _Site_or_station
- _Entitehydro
- builtins.object
Methods defined here:
- __init__(self, code=None, ponderation=None, decalage=None, dtdeb=None, dtfin=None, dtdebactivation=None, dtfinactivation=None)
- Constructor.
Arguments:
code (string(8)) = code hydro
ponderation = pondération du site
decalage = décalage en minutes de l'hydrogramme
dtdeb = date de début
dtfin = date de fin
dtdebactivation = date de début d'activation
dtfinactivation = date de fin d'activation
- __str__(self)
- Return string representation from __unicode__ method.
- __unicode__(self)
- Return unicode representation.
Data descriptors defined here:
- decalage
- Return decalage.
- dtdeb
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtdebactivation
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtfin
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtfinactivation
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- ponderation
- Return ponderation.
Data and other attributes defined here:
- __all__attrs__ = ('code', 'ponderation', 'decalage', 'dtdeb', 'dtfin', 'dtdebactivation', 'dtfinactivation')
Data descriptors inherited from Sitehydro:
- altitude
- Return altitude.
- bvhydro
- Return bvhydro.
- bvtopo
- Return bvtopo.
- communes
- Return codes communes.
- dtmaj
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtpremieredonnee
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dureecrues
- Return dureecrues.
- entitehydro
- Return zonehydro.
- entitesvigicrues
- Return entitesvigicrues.
- essai
- Return essai.
- fuseau
- Return fuseau.
- lamesdeau
- Return lamesdeau.
- moisanneehydro
- Return moisanneehydro.
- moisetiage
- Return moisetiage.
- pkamont
- Return pkamont.
- pkaval
- Return pkaval.
- publication
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- siteassocie
- Return siteassocie.
- sitesamont
- Return sitesamont.
- sitesattaches
- Return sitesattaches.
- sitesaval
- Return sitesaval.
- stations
- Return stations.
- statut
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- tronconhydro
- Return tronconhydro.
- typesite
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- zonehydro
- Return zonehydro.
Data descriptors inherited from _Site_or_station:
- coord
- Return coord.
- images
- Return images.
- influence
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- loisstat
- Return loisstat.
- roles
- Return roles.
Methods inherited from _Entitehydro:
- __eq__(self, other, attrs=None, ignore=None, lazzy=False)
- Equal elaborate function.
Arguments:
self, other
attrs (iterable of strings, default to self.__class__.__all__attrs__ or
__self.__dict__.keys() = the attrs to compare
ignore (iterable of strings, default None) = attrs to ignore in the
comparison
lazzy (bool, default False) = if True does not test an attribute
whose counterpart is None
NB: functool.partial could be smarter than a private class variable to
fix the default attrs list, but it doesn't work with 'self'.
- __hash__(self)
- __ne__(self, other, attrs=[], ignore=[], lazzy=False)
Data descriptors inherited from _Entitehydro:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- code
- Return code hydro.
- codeh2
- Return code hydro2.
|
class Station(_Site_or_station) |
|
Station(code, codeh2=None, typestation='LIMNI', libelle=None, libellecomplement=None, commentaireprive=None, dtmaj=None, pointk=None, dtmiseservice=None, dtfermeture=None, surveillance=None, niveauaffichage=0, coord=None, droitpublication=10, delaidiscontinuite=None, delaiabsence=None, essai=None, influence=None, influencecommentaire=None, commentaire=None, stationsanterieures=None, stationsposterieures=None, qualifsdonnees=None, finalites=None, loisstat=None, images=None, roles=None, capteurs=None, refsalti=None, commune=None, reseaux=None, plages=None, stationsamont=None, stationsaval=None, plagesstationsfille=None, plagesstationsmere=None, strict=True)
Classe Station.
Classe pour manipuler des stations hydrometriques.
Proprietes:
code (string(10)) = code hydro
codeh2 (string(8)) = ancien code hydro2
typestation (string parmi NOMENCLATURE[531], defaut LIMNI)
libelle (string) = libellé
libellecomplement (string) = complément du libellé
commentaireprive (string) = commentaire privé ou descriptif
dtmaj (datetime.datetime ou None) = date de mise à jour
pointk (float) = point kilomètrique
dtmiseservice (datetime.datetime) = Date de mise en service
dtfermeture (datetime.datetime) = Date de fermeture
surveillance (boolean ou None) = station à surveiller
niveauaffichage (int) = niveau d'affichage
coord (list ou dict) =
(x, y, proj) ou {'x': x, 'y': y, 'proj': proj}
avec proj (int parmi NOMENCLATURE[22]) =
systeme de projection,
droitpublication (int parmi NOMENCLATURE[532]) =
droit de pubilcation
delaidiscontinuite (int ou None) =
délai de discontinuité en minutes
delaiabsence (int ou None) = délai d'absence en minutes
essai (bool ou None) = station d'essai
influence (int parmi NOMENCLATURE[104] = influence
influencecommentaire (str) = commentaire de l'influence
commentaire (str) = commentaire
stationsanterieures (Station ou iterbable de Station) =
stations antérieures
stationsposterieures (Station ou iterbable de Station) =
stations postérieures
qualifsdonnees(QualifDonnees ou iterbale de QualifDonnees) =
qualifications des données
finalites (int ou iterable de int parmi NOMENCLATURE[522]) =
finalités
loisstat (LoiStat or iterable of LoiStat)= lois statistiques
images (_composant_site.Image r iterbale of _composant_site.Image)
= images de la station
roles (RoleContact ou iterable de RoleContact) = roles des contacts,
capteurs (un Capteur ou un iterable de Capteur)
refsalti (RefAlti ou iterable de RefAlti) = références altimétriques
commune (string(5)) = code INSEE commune
reseaux (ReseauMesure ou un iterable de ReseauMesure)
= reseaux de mesure SANDRE
plages (PlageUtil ou un iterable
de PlageUtil) = plages d'utilisation
stationsamont (Station ou iterbable de Station) = stations en amont
stationsaval (Station ou iterbable de Station) = stations en aval
plagesstationsfille (PlageStation ou iterable de PlageStation) =
plages associées aux stations fille
plagesstationsmere (PlageStation ou iterable de PlageStation) =
plages associées aux stations mère |
|
- Method resolution order:
- Station
- _Site_or_station
- _Entitehydro
- builtins.object
Methods defined here:
- __init__(self, code, codeh2=None, typestation='LIMNI', libelle=None, libellecomplement=None, commentaireprive=None, dtmaj=None, pointk=None, dtmiseservice=None, dtfermeture=None, surveillance=None, niveauaffichage=0, coord=None, droitpublication=10, delaidiscontinuite=None, delaiabsence=None, essai=None, influence=None, influencecommentaire=None, commentaire=None, stationsanterieures=None, stationsposterieures=None, qualifsdonnees=None, finalites=None, loisstat=None, images=None, roles=None, capteurs=None, refsalti=None, commune=None, reseaux=None, plages=None, stationsamont=None, stationsaval=None, plagesstationsfille=None, plagesstationsmere=None, strict=True)
- Initialisation.
Arguments:
code (string(10)) = code hydro
codeh2 (string(8)) = ancien code hydro2
typestation (string parmi NOMENCLATURE[531], defaut LIMNI)
libelle (string) = libellé
libellecomplement (string) = complément du libellé
commentaireprive (string) = commentaire privé ou descriptif
dtmaj (datetime.datetime ou None) = date de mise à jour
pointk (float) = point kilomètrique
dtmiseservice (datetime.datetime) = Date de mise en service
dtfermeture (datetime.datetime) = Date de fermeture
surveillance (boolean ou None) = station à surveiller
niveauaffichage (int) = niveau d'affichage
coord (list ou dict) =
(x, y, proj) ou {'x': x, 'y': y, 'proj': proj}
avec proj (int parmi NOMENCLATURE[22]) =
systeme de projection,
droitpublication (int parmi NOMENCLATURE[532]) =
droit de pubilcation
delaidiscontinuite (int ou None) =
délai de discontinuité en minutes
delaiabsence (int ou None) = délai d'absence en minutes
essai (bool ou None) = station d'essai
influence (int parmi NOMENCLATURE[104] = influence
influencecommentaire (str) = commentaire de l'influence
commentaire (str) = commentaire
stationsanterieures (Station ou iterbable de Station) =
stations antérieures
stationsposterieures (Station ou iterbable de Station) =
stations postérieures
qualifsdonnees(QualifDonnees ou iterbale de QualifDonnees) =
qualifications des données
finalites (int ou iterable de int parmi NOMENCLATURE[522]) =
finalités
loisstat (LoiStat or iterable of LoiStat)= lois statistiques
images (_composant_site.Image r iterbale of _composant_site.Image)
= images de la station
roles (RoleContact ou iterable de RoleContact) =
roles des contacts,
capteurs (un Capteur ou un iterable de Capteur)
refsalti (RefAlti ou iterable de RefAlti) =
références altimétriques
commune (string(5)) = code INSEE commune
reseaux (ReseauMesure ou un iterable de ReseauMesure)
= reseaux de mesure SANDRE
plages (PlageUtil ou un iterable
de PlageUtil) = plages d'utilisation
stationsamont (Station ou iterbable de Station) = stations en amont
stationsaval (Station ou iterbable de Station) = stations en aval
plagesstationsfille (PlageStation ou iterable de PlageStation) =
plages associées aux stations fille
plagesstationsmere (PlageStation ou iterable de PlageStation) =
plages associées aux stations mère
strict (bool, defaut True) = le mode permissif permet de lever les
controles de validite du type et du code
- __str__(self)
- Return string representation from __unicode__ method.
- __unicode__(self)
- Return unicode representation.
Data descriptors defined here:
- capteurs
- Return capteurs.
- commune
- Return code commune.
- delaiabsence
- Return delaiabsence.
- delaidiscontinuite
- Return delaidiscontinuite.
- droitpublication
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- dtfermeture
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtmaj
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- dtmiseservice
- Class Datefromeverything.
A descriptor to store a datetime.datetime property that can be initiated
in different manners using numpy.datetime64 facilities.
- essai
- Return essai.
- finalites
- Return finalites.
- niveauaffichage
- Return niveau d'affichage.
- plages
- Return plages.
- plagesstationsfille
- Return plagesstationsfille.
- plagesstationsmere
- Return plagesstationsmere.
- pointk
- Return pointk.
- qualifsdonnees
- Return qualifsdonnees.
- refsalti
- Return refsalti.
- reseaux
- Return reseaux.
- stationsamont
- Return stationsamont.
- stationsanterieures
- Return stationsanterieures.
- stationsaval
- Return stationsaval.
- stationsposterieures
- Return stationsposterieures.
- surveillance
- Return surveillance.
- typestation
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
Data and other attributes defined here:
- __all__attrs__ = ('code', 'codeh2', 'typestation', 'libelle', 'libellecomplement', 'commentaireprive', 'dtmaj', 'pointk', 'dtmiseservice', 'dtfermeture', 'surveillance', 'niveauaffichage', 'coord', 'droitpublication', 'delaidiscontinuite', 'delaiabsence', 'essai', 'influence', 'influencecommentaire', 'commentaire', ...)
Data descriptors inherited from _Site_or_station:
- coord
- Return coord.
- images
- Return images.
- influence
- Class Nomenclatureitem.
A descriptor to deal with 'in nomenclature.NOMENCLATURES' properties.
Should raise only a ValueError when value is not allowed (even with
the None case).
Properties:
nomenclature (int) = the nomenclature ref
valuetype (type) = a function to cast values to the nomenclature's
items type
strict (bool, default True) = wether or not the instance value has
to be in the nomenclature items
required (bool, defaut True) = wether or not instance's value can
be None
default = a defautl value returned if the instance's value is not
in the dictionnary. Should be unused if the property has been
initialized.
data (weakref.WeakKeyDictionary)
- loisstat
- Return loisstat.
- roles
- Return roles.
Methods inherited from _Entitehydro:
- __eq__(self, other, attrs=None, ignore=None, lazzy=False)
- Equal elaborate function.
Arguments:
self, other
attrs (iterable of strings, default to self.__class__.__all__attrs__ or
__self.__dict__.keys() = the attrs to compare
ignore (iterable of strings, default None) = attrs to ignore in the
comparison
lazzy (bool, default False) = if True does not test an attribute
whose counterpart is None
NB: functool.partial could be smarter than a private class variable to
fix the default attrs list, but it doesn't work with 'self'.
- __hash__(self)
- __ne__(self, other, attrs=[], ignore=[], lazzy=False)
Data descriptors inherited from _Entitehydro:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- code
- Return code hydro.
- codeh2
- Return code hydro2.
|
class Tronconvigilance(builtins.object) |
|
Tronconvigilance(code=None, libelle=None)
Classe Tronconvigilance.
Classe pour manipuler les troncons de vigilance.
Proprietes:
code (string(8)) = code alphanumerique du troncon
libelle (string) = libelle du troncon |
|
Methods defined here:
- __eq__(self, other, attrs=None, ignore=None, lazzy=False)
- Equal elaborate function.
Arguments:
self, other
attrs (iterable of strings, default to self.__class__.__all__attrs__ or
__self.__dict__.keys() = the attrs to compare
ignore (iterable of strings, default None) = attrs to ignore in the
comparison
lazzy (bool, default False) = if True does not test an attribute
whose counterpart is None
NB: functool.partial could be smarter than a private class variable to
fix the default attrs list, but it doesn't work with 'self'.
- __init__(self, code=None, libelle=None)
- Initialisation.
Arguments:
code (string(8)) = code alphanumerique du troncon
libelle (string) = libelle du troncon
- __ne__(self, other, attrs=[], ignore=[], lazzy=False)
- __str__(self)
- Return string representation from __unicode__ method.
- __unicode__(self)
- Return unicode representation.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- __all__attrs__ = ('code', 'libelle')
- __hash__ = None
| |