equinor / equinor/res2df

[summary] Warn about sub-second timesteps

Open
#391 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
37
Forks
38
Avg merge
1h 45m
Merged PRs (30d)
1

Description

It is possible in Eclipse to take sub-second timesteps that are exported to UNSMRY-files. Sub-second accuracy seems not supported in `libecl`, and in `ecl2df` it will end up as a repeated time index at the same second. This easily gets the user into trouble, and at least a warning could be issued when this (sub-second timestep) seems to be the case.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how ecl2df reads UNSMRY files and constructs the time index, especially where sub-second timestamps are converted to seconds. Confirm the repeated-index behavior described in the issue, then add a warning for detected sub-second timesteps and verify that the warning appears without changing other timestep handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.