Last valid point as read_type
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start at the c.read entry point and the tagreader.ReaderType definition, then inspect how existing read_type values are handled. Implement the LastValid behavior for the requested time step and verify that each output timestamp uses the latest valid point at or before it, including points carried forward across gaps.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 55
- Forks
- 21
- Avg merge
- 11d 9h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from equinor/tagreader-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
equinor/tagreader-python#474 · 1 comment ·
-
Difficulty 2/5 Under an hour Newbie friendliness 55/100
equinor/tagreader-python#473 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
equinor/tagreader-python#469 · 1 comment ·
-
Update documentation Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
equinor/tagreader-python#447 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
equinor/tagreader-python#393 ·
All issues in equinor/tagreader-python
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·