Last valid point as read_type
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia dal punto di ingresso c.read e dalla definizione di tagreader.ReaderType, quindi esamina come vengono gestiti i valori read_type esistenti. Implementa il comportamento LastValid per il passo temporale richiesto e verifica che ogni timestamp di output utilizzi il punto valido più recente a quell'istante o precedente, inclusi i punti riportati attraverso le lacune.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Demand for new functionality:
Example call:
df = c.read(['BA:CONC.1'], '05-Jan-2020 08:00:00', '05/01/20 11:30am', 60, read_type=tagreader.ReaderType.LastValid)
This should return data with a time step of 60 seconds. At each time step the data returned should be the last valid data point recorded before this.
Example: for the example call the first time step is 05-Jan-2020 08:00:00. The value given back should here be the last valid data point before this. This data point could be 1 second before or 1 month before, whatever is in the IMS.
The next time step is 05-Jan-2020 08:01:00. The value given back will be the same as for the first time step unless there is new valid time steps between 08:00:00 and 08:01:00. If there are several, the one closest to 05-Jan-2020 08:01:00 should be chosen.
- Lingua principale
- Python
- Stelle
- 55
- Fork
- 21
- Merge medio
- 11g 9h
- PR unite (30g)
- 2
Guida per i contributori
Apri 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 equinor/tagreader-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
equinor/tagreader-python#474 · 1 commento ·
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 55/100
equinor/tagreader-python#473 ·
-
Special characters in tags Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
equinor/tagreader-python#469 · 1 commento ·
-
Update documentation Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
equinor/tagreader-python#447 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
equinor/tagreader-python#393 ·
Tutte le issue di equinor/tagreader-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/skills#1811 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
speaches-ai/speaches#678 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
datalayer/mcp-compose#42 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
UKGovernmentBEIS/inspect_evals#2523 ·