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

Datasets in inventory have times which include milliseconds #64

Open
ellesmith88 opened this issue Mar 5, 2021 · 1 comment
Open

Datasets in inventory have times which include milliseconds #64

ellesmith88 opened this issue Mar 5, 2021 · 1 comment

Comments

@ellesmith88
Copy link
Contributor

Description

A few datasets in the inventory (v20210301) had times that included milliseconds and microseconds, these were:

c3s-cmip6.ScenarioMIP.CAS.FGOALS-g3.ssp534-over.r1i1p1f1.SImon.siconc.gn.v20200706
c3s-cmip6.ScenarioMIP.CAS.FGOALS-g3.ssp126.r1i1p1f1.Omon.zos.gn.v20191229
c3s-cmip6.ScenarioMIP.CAS.FGOALS-g3.ssp370.r1i1p1f1.Omon.zos.gn.v20191231
c3s-cmip6.ScenarioMIP.CAS.FGOALS-g3.ssp534-over.r1i1p1f1.Omon.sos.gn.v20200526

in the inventory this looks like
time: 2015-01-16T13:00:00.000007 2100-12-16T12:00:00

What I Did

I have updated the inventory maker so it finds the times using all_times[0].isoformat(timespec="seconds") rather than all_times[0].isoformat(). This means all the times are consistent.

But it looks like the data is incorrect.

@Zeitsperre
Copy link
Contributor

@agstephens Is this issue still relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants