selecting a discrete set of years from a timeseries
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 151
- Fork
- 23
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NCAS-CMS/cf-python
-
documentation missing (404 errors)Forse già presa @davidhassell l’ha presa 1 giorno fa. Apertabug documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
installation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Attempt at unsupported conservative 3D mesh regriddingForse di nuovo libera @sadielbartholomew l’ha presa 58 giorni fa e non c’è nessuna pull request aperta. Apertabug?
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
API review (4.0.0) documentation
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di NCAS-CMS/cf-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
aws-samples/sample-per-model-bedrock#795 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Pretalx reports older version to be the latest release than what is actually installed and availableAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
micropython/micropython#19906 ·
I maintainer di solito rispondono entro 1 giorno