Obstruction show/hide events between output times are ignored in masks
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 70/100
Línea de trabajo
Empieza en fdsreader/bndf/obstruction.py, en SubObstruction.get_visible_times, donde los eventos de mostrar/ocultar solo coinciden con los tiempos de salida exactos; Mesh.get_obstruction_mask consume su resultado. Cámbialo para que un evento en el tiempo t_e se aplique a todos los tiempos de salida >= t_e. Está terminado cuando una prueba construida con objetos reales Obstruction y SubObstruction, con tiempos de mostrar y ocultar entre tiempos de salida, da la visibilidad correcta en cada tiempo de salida.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found while reviewing #131.
SubObstruction.get_visible_times(times) (fdsreader/bndf/obstruction.py) only applies a show/hide event if its time is exactly one of the given output times:
for time in times:
if time in self.show_times:
hidden = False
if time in self.hide_times:
hidden = True
Show/hide times come from device/control activation and rarely coincide with slice/Plot3D/Smoke3D output times. An obstruction removed at t = 12.3 s with output every 1 s is therefore never hidden, and Mesh.get_obstruction_mask(times) masks it for the whole run. The time-dependent masks (to_global(masked=True) for slices, Plot3D and Smoke3D, and since #131 also 3D slices) are effectively constant for real cases.
Expected: an event at time t_e applies to all output times >= t_e (state of the obstruction at each output time).
A test should use real Obstruction/SubObstruction objects with show/hide times between output times; the tests in #131 use a fake obstruction that returns the visible times directly.
- Lenguaje dominante
- Python
- Estrellas
- 75
- Forks
- 28
- Merge medio
- 1 d 20 h
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de FireDynamics/fdsreader
-
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
FireDynamics/fdsreader#132 ·
Los mantenedores suelen responder en 1 día
-
[Bug]:the sum data of hrrpuv data in smoke_3d is five times smaller than the hrr data in CSVAbiertoenhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
FireDynamics/fdsreader#115 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
FireDynamics/fdsreader#81 ·
Los mantenedores suelen responder en 1 día
-
Get RGBA-Value of obstruction from Surf_IdQuizá libre de nuevo @goelakash la tomó hace 33 días y no hay ningún pull request abierto. Abiertoenhancement help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
FireDynamics/fdsreader#77 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
SCLF Data not AccurateAbiertohelp wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
FireDynamics/fdsreader#73 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de FireDynamics/fdsreader
Issues similares
-
fix(accounts): Balance Sheet and Profit and Loss crash on PostgreSQL due to MySQL force_indexAbierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Discord webhook notifications fail with HTTP 403 (Cloudflare blocks default urllib User-Agent)Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
tharje/spooler-v2#20 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Bump version of azure-servicebusPosiblemente ocupada @joostlek la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
home-assistant/core#186275 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100