Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix gaw-test #1415

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pyaerocom/io/gaw/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@
if any("99:99" in s for s in data[:, 1]):
datestring = data[:, 0]
else:
datestring = np.core.defchararray.add(data[:, 0], "T")
datestring = np.core.defchararray.add(datestring, data[:, 1])
datestring = data[:, 0] + "T" + data[:, 1]

Check warning on line 236 in pyaerocom/io/gaw/reader.py

View check run for this annotation

Codecov / codecov/patch

pyaerocom/io/gaw/reader.py#L236

Added line #L236 was not covered by tests
data_out["dtime"] = datestring.astype("datetime64[s]")

# Replace invalid measurements with nan values
Expand Down
Loading