pyspc.convention.scores

Convention - Projet SCORES

Module Attributes

VERSIONS

Versions de Scores

SECTIONS_OPTIONS

Liste des (sections, options) de configuration de Scores-1.3.3

SECTIONS_OPTIONS_2

Liste des (sections, options) de configuration de Scores-2.0

EXPORT_DTYPES

Type de format prv de Scores

EXPORT_UNITS

Unités des grandeurs pour le format prv de Scores

EXPORT_COLS

Liste des entêtes du format prv de Scores

EXPORT_FCST_COLS

Liste des entêtes supplémentaires pour les prévisions

SCORES_DTYPES

Modes de fonctionnement de Scores

SCORES_ASSOC

Informations sur les critères numériques implémentés dans Scores-1.3.3

SCORES_NAMES

Liste des critères numériques implémentés dans Scores-1.3.3

pyspc.convention.scores.EXPORT_COLS = ['Stations', 'Grandeurs', 'IdSeries']

Liste des entêtes du format prv de Scores

pyspc.convention.scores.EXPORT_DTYPES = {'fcst': 'PREVISION', 'obs': 'OBSERVATION', 'sim': 'SIMULATION'}

Type de format prv de Scores

pyspc.convention.scores.EXPORT_FCST_COLS = ['# Modeles', '# Scenarios', '# DtDerObs', '# Probas']

Liste des entêtes supplémentaires pour les prévisions

pyspc.convention.scores.EXPORT_UNITS = {'H': 'm', 'Q': 'm3/s', 'RR': 'mm', 'TA': 'Celsius'}

Unités des grandeurs pour le format prv de Scores

pyspc.convention.scores.SCORES_ASSOC = {'BIAS': {'nom': 'Biais', 'numero': '5'}, 'C2MP': {'nom': 'C2MP', 'numero': '7'}, 'CSI': {'nom': 'Indice de succès critique', 'numero': '19'}, 'FAR': {'nom': 'Taux de fausse alarme', 'numero': '18'}, 'FB': {'nom': 'Biais en fréquence', 'numero': '14'}, 'MAE': {'erreur_absolue': 'OUI', 'nom': 'Erreur moyenne', 'numero': '1'}, 'MAE_CDF': {'erreur_absolue': 'OUI', 'nom': 'Distribution des erreurs', 'numero': '9'}, 'MARE': {'erreur_absolue': 'OUI', 'nom': 'Erreur relative moyenne', 'numero': '2'}, 'MAX_MAE': {'erreur_absolue': 'OUI', 'nom': 'Erreur commise sur la pointe', 'numero': '11'}, 'MAX_ME': {'erreur_absolue': 'NON', 'nom': 'Erreur commise sur la pointe', 'numero': '11'}, 'ME': {'erreur_absolue': 'NON', 'nom': 'Erreur moyenne', 'numero': '1'}, 'ME_CDF': {'erreur_absolue': 'NON', 'nom': 'Distribution des erreurs', 'numero': '9'}, 'MRE': {'erreur_absolue': 'NON', 'nom': 'Erreur relative moyenne', 'numero': '2'}, 'NASH': {'nom': 'Critère de Nash', 'numero': '8'}, 'PERS': {'nom': 'PERSISTANCE', 'numero': '7'}, 'POD': {'nom': 'Taux de détection', 'numero': '16'}, 'POND': {'nom': 'Taux de non détection', 'numero': '17'}, 'PREC': {'nom': 'Précision', 'numero': '6'}, 'RMSE': {'nom': 'Erreur quadratique moyenne', 'numero': '4'}, 'SR': {'nom': 'Taux de succès', 'numero': '15'}, 'STDERR': {'nom': 'Ecart-type des erreurs', 'numero': '3'}, 'TMAX_MAE': {'erreur_absolue': 'OUI', 'nom': 'Décalage temporel sur la pointe', 'numero': '12'}, 'TMAX_ME': {'erreur_absolue': 'NON', 'nom': 'Décalage temporel sur la pointe', 'numero': '12'}, 'VOL': {'nom': 'Erreur sur les volumes de crues', 'numero': '10'}}

Informations sur les critères numériques implémentés dans Scores-1.3.3

pyspc.convention.scores.SCORES_DTYPES = ['sim', 'fcst']

Modes de fonctionnement de Scores

pyspc.convention.scores.SCORES_NAMES = ['ME', 'MAE', 'MRE', 'MARE', 'STDERR', 'RMSE', 'BIAS', 'PREC', 'ME_CDF', 'MAE_CDF', 'PERS', 'C2MP', 'NASH', 'VOL', 'MAX_ME', 'MAX_MAE', 'TMAX_ME', 'TMAX_MAE', 'FB', 'SR', 'POD', 'POND', 'FAR', 'CSI']

Liste des critères numériques implémentés dans Scores-1.3.3

pyspc.convention.scores.SECTIONS_OPTIONS = [('GENERAL', 'FONCTIONNEMENT'), ('GENERAL', 'MODE'), ('GENERAL', 'ENTITE'), ('GENERAL', 'GRANDEUR'), ('GENERAL', 'TAUX_PAS_DE_TEMPS'), ('CSV', 'CSV_DELIMITEUR'), ('OBSERVATION', 'DONNEES_OBSERVATION'), ('OBSERVATION', 'LACUNE_EVENEMENT'), ('OBSERVATION', 'DETECTION_EVENEMENT'), ('OBSERVATION', 'LISTE_EVENEMENT'), ('PREVISION', 'DONNEES_PREVISION'), ('PREVISION', 'LISTE_MODELE'), ('PREVISION', 'LISTE_EXECUTION'), ('PREVISION', 'LISTE_ECHEANCE'), ('INTERPOLATION', 'METHODE_INTERPOLATION'), ('EXPORT', 'EXPORT_PREVISION_ECHEANCE_FIXE'), ('EXPORT', 'DOSSIER_EXPORT_PREVISION_ECHEANCE_FIXE'), ('CALCUL', 'FICHIER_RESULTAT'), ('CALCUL', 'LISTE_GROUPES_SCORES'), ('CALCUL', 'ERREURS_ABSOLUES'), ('CALCUL', 'DELAI_PREVISION'), ('CALCUL', 'RAPPORT_DE_POINTE'), ('CALCUL', 'RAPPORT_ECHELLE'), ('CALCUL', 'DISTRIBUTION_ERREUR'), ('CALCUL', 'METHODE_CALCUL_FRANCHISSEMENT_SEUIL'), ('CALCUL', 'LISTE_SEUIL'), ('CALCUL', 'SEUIL_MINIMAL'), ('CALCUL', 'TAUX_VALEURS_IGNOREES'), ('CALCUL', 'FENETRE_TEMPORELLE'), ('CALCUL', 'HYSTERESIS'), ('CALCUL', 'CALCUL_PAR_CLASSE'), ('CALCUL', 'NATURE_CLASSE'), ('CALCUL', 'PORTEE_CLASSE'), ('CALCUL', 'NOMBRE_CLASSE'), ('CALCUL', 'LISTE_CLASSE'), ('CALCUL', 'CALCUL_AVEC_REPHASAGE'), ('CALCUL', 'LISTE_REPHASAGE'), ('CALCUL', 'PHASE_DE_MONTEE'), ('CALCUL', 'DELTA_TEMPS_ENTREE_PHASE_MONTANTE'), ('CALCUL', 'DELTA_TEMPS_SORTIE_PHASE_MONTANTE')]

Liste des (sections, options) de configuration de Scores-1.3.3

pyspc.convention.scores.SECTIONS_OPTIONS_2 = [('GENERAL', 'FONCTIONNEMENT'), ('GENERAL', 'MODE'), ('GENERAL', 'ENTITE'), ('GENERAL', 'GRANDEUR'), ('GENERAL', 'TAUX_PAS_DE_TEMPS'), ('CSV', 'CSV_DELIMITEUR'), ('OBSERVATION', 'DONNEES_OBSERVATION'), ('OBSERVATION', 'LACUNE_EVENEMENT'), ('OBSERVATION', 'DETECTION_EVENEMENT'), ('OBSERVATION', 'LISTE_EVENEMENT'), ('PREVISION', 'DONNEES_PREVISION'), ('PREVISION', 'LISTE_MODELE'), ('PREVISION', 'LISTE_EXECUTION'), ('PREVISION', 'LISTE_ECHEANCE'), ('PREVISION', 'QUANTILES_PROBA'), ('INTERPOLATION', 'METHODE_INTERPOLATION'), ('EXPORT', 'EXPORT_PREVISION_ECHEANCE_FIXE'), ('EXPORT', 'DOSSIER_EXPORT_PREVISION_ECHEANCE_FIXE'), ('CALCUL', 'FICHIER_RESULTAT'), ('CALCUL', 'DOSSIER_RESULTAT'), ('CALCUL', 'LISTE_GROUPES_SCORES'), ('CALCUL', 'ERREURS_ABSOLUES'), ('CALCUL', 'UNITE_TEMPS'), ('CALCUL', 'DELAI_PREVISION'), ('CALCUL', 'RAPPORT_DE_POINTE'), ('CALCUL', 'RAPPORT_ECHELLE'), ('CALCUL', 'DISTRIBUTION_ERREUR'), ('CALCUL', 'METHODE_CALCUL_FRANCHISSEMENT_SEUIL'), ('CALCUL', 'LISTE_SEUIL'), ('CALCUL', 'SEUIL_MINIMAL'), ('CALCUL', 'SEUIL_BRIER'), ('CALCUL', 'TAUX_VALEURS_IGNOREES'), ('CALCUL', 'FENETRE_TEMPORELLE'), ('CALCUL', 'HYSTERESIS'), ('CALCUL', 'CALCUL_PAR_CLASSE'), ('CALCUL', 'NATURE_CLASSE'), ('CALCUL', 'PORTEE_CLASSE'), ('CALCUL', 'NOMBRE_CLASSE'), ('CALCUL', 'LISTE_CLASSE'), ('CALCUL', 'CALCUL_AVEC_REPHASAGE'), ('CALCUL', 'LISTE_REPHASAGE'), ('CALCUL', 'PHASE_DE_MONTEE'), ('CALCUL', 'DELTA_TEMPS_ENTREE_PHASE_MONTANTE'), ('CALCUL', 'DELTA_TEMPS_SORTIE_PHASE_MONTANTE'), ('FICHIER', 'PREFIXE'), ('FICHIER', 'FORMAT_GRAPH'), ('FICHIER', 'RESOLUTION_GRAPH'), ('FICHIER', 'RESOLUTION_PERSO'), ('FICHIER', 'TAILLE_GRAPH_TYPE'), ('FICHIER', 'TAILLE_GRAPH_VAL_L'), ('FICHIER', 'TAILLE_GRAPH_VAL_H')]

Liste des (sections, options) de configuration de Scores-2.0

pyspc.convention.scores.VERSIONS = [1, 2]

Versions de Scores