Closed aaronjgirard closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
2fd62c7
) 99.53% compared to head (e56ee02
) 99.53%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
OK yes that is fair I will reëvaluate how this should be done. Thanks for the eyes on it.
Aaron Girard
On Tue, Jan 30, 2024, 19:35 Derrick Chambers @.***> wrote:
@.**** commented on this pull request.
In dascore/io/rsf/core.py https://github.com/DASDAE/dascore/pull/344#discussion_r1472235881:
- if i == 0:
- hdr_info.append(f"o{i+1}=0.0")
- hdr_info.append(f"starttime={axis_origs[i]}")
- else:
- hdr_info.append(f"o{i+1}={axis_origs[i]}")
I don't think we guarantee that the 0th axis is time here. Maybe:
if axis_names[i] == "time"
would be a better condition?
— Reply to this email directly, view it on GitHub https://github.com/DASDAE/dascore/pull/344#pullrequestreview-1852791655, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEX7T3YH32WFFR4WN6H6QF3YRGUWXAVCNFSM6AAAAABCSBGQOSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQNJSG44TCNRVGU . You are receiving this because you authored the thread.Message ID: @.***>
Description
For ease of readability by Madagascar, the RSF writer has now been modified to output o1=0.0 A dummy variable with the real start time called 'starttime' is placed in the RSF header. At a later date when an RSF reader is created, that dummy variable can be used.
Checklist
I have (if applicable):