Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imprecise columns in MD hour + week #310

Closed

Conversation

why-not-try-calmer
Copy link
Contributor

No description provided.

@why-not-try-calmer why-not-try-calmer linked an issue Dec 1, 2023 that may be closed by this pull request
@why-not-try-calmer why-not-try-calmer force-pushed the 269-imprecise-columns-in-MD-hour-week branch from e40c278 to 6bb7f47 Compare December 1, 2023 09:53
@why-not-try-calmer
Copy link
Contributor Author

why-not-try-calmer commented Dec 1, 2023

@spch-GL Salut! Malheureusement je n'arrive pas à générer de rapport annuel mobilité douce avec ces paramètres:

file_name = "64540060_Latenium_PS2021_ChMixte.txt
installation_name = "64540060"
year = 2021

En particulier, les résultats (QuerySet) correspondant aux données de rapports sont vides (report.values_by_hour_and_direction(1) = NULL)
Est-ce que le fichier en question devrait permettre de générer ce type de rapport?

@spch-GL
Copy link
Contributor

spch-GL commented Dec 1, 2023

Dans le fichier, il est écrit:
Durée D'Enquête: 10:34 jeudi, 18 février 2021 => 12:39 jeudi, 13 janvier 2022
Donc oui cela devrait être possible

Mais ce fichier a peut-être été manipulé car, en regardant plus bas, on voit
Heure de filtre: 00:00 vendredi, 1 janvier 2021 => 00:00 samedi, 1 janvier 2022 (365)

et le premier passage a été détecté le 2021-01-01 11:21:27
et le dernier passage a été détecté le 2021-12-31 21:52:41

Et il y a plus 154'000 passages enregistrés

Donc oui, même si il a été manipulé, ce fichier devrait permettre la génération du rapport annuel Mobilité Douce

Lorsque tu génères les graphiques pour ce comptages que vois-tu ?

@spch-GL
Copy link
Contributor

spch-GL commented Dec 1, 2023

ou alors les données sont-elles bien correctement insérées dans la base ?

@spch-GL
Copy link
Contributor

spch-GL commented Dec 1, 2023

Je ne maitrise malheureusement pas ces tests...

  1. Est-il possible que la BD ne soit pas correctement remplie ?
  2. Arrives-tu générer les graphiques pour ce comptages ?

@spch-GL
Copy link
Contributor

spch-GL commented Dec 1, 2023

J'ai importé ce même fichier de données dans ma base de test, voici le graphique par catégorie:
image

Puis j'ai lancé la génération du rapport annuel:
image
et voici le rapport
64540060_2021_r.xlsx

Le tout avec la version du plug-in 2.1.1 (modification GL6, par mes soins, pour ne pas calculer les moyennes)

@why-not-try-calmer
Copy link
Contributor Author

why-not-try-calmer commented Dec 11, 2023

@spch-GL Comment puis-je obtenir un CountDetails pour l'installation avec pour nom 64540060 à partir du fichier 64540060_Latenium_PS2021_ChMixte.txt? Si j'ajoute un Count à partir de ce fichier, le Count est crée mais il n'existe aucun CountDetail correspondant.

@spch-GL
Copy link
Contributor

spch-GL commented Dec 11, 2023

Après avoir créer un count, tu dois importer les données (Et éventuellement les valider). Ensuite tu auras les détails

@why-not-try-calmer why-not-try-calmer marked this pull request as ready for review December 18, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants