selecting a discrete set of years from a timeseries
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start by reading the subspace and year APIs and their tests to see how time selections are parsed and applied. Check whether cf.year accepts a list and how subspace handles the resulting selection. Done means selecting cf.year(vyears) returns the requested annual values in the expected order and existing time selection tests still pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I have a annual timeseries tso and a list of years vyears from which I would like the values, for a statistical test. I can a list of these values with
[tso.subspace(T=cf.year(y)).data.array[0] for y in vyears]
but I would prefer something like
tso.subspace(T=cf.year(vyears)).data.array
which is more compact and seems more logical to me. Is there a way to do that?
Thanks, Jonathan
- Lenguaje dominante
- Python
- Estrellas
- 151
- Forks
- 23
- Métricas de merge de PR
- Sin PR fusionados en 30 d
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 NCAS-CMS/cf-python
-
documentation missing (404 errors)Posiblemente ocupada @davidhassell la tomó hace 1 día. Abiertobug documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
installation
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
Attempt at unsupported conservative 3D mesh regriddingQuizá libre de nuevo @sadielbartholomew la tomó hace 58 días y no hay ningún pull request abierto. Abiertobug?
-
error from netCDF in cf.writeAbiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
API review (4.0.0) documentation
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Todos los issues de NCAS-CMS/cf-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
aws-samples/sample-per-model-bedrock#795 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Pretalx reports older version to be the latest release than what is actually installed and availableAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
micropython/micropython#19906 ·
Los mantenedores suelen responder en 1 día