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

Month-day ISO times in selection file #2

Open
crotwell opened this issue May 13, 2019 · 5 comments
Open

Month-day ISO times in selection file #2

crotwell opened this issue May 13, 2019 · 5 comments

Comments

@crotwell
Copy link

Nice to use standard ISO time format for start and end times in selection file as easy to grab those from things like the availability web service.

Also allowing ISO times means users can use year-month-day instead of year-dayofyear which can be easier on a person.

@chad-earthscope chad-earthscope changed the title iso times in selection file Month-day ISO times in selection file May 13, 2019
@chad-earthscope
Copy link

This functionality is in libmseed, and the implications span many tools that use this capability to limit data. I've really wanted to add the month-day format for a while, but it's not trivial.

See EarthScope/libmseed#48

Note for the pedantic: ordinal (day-of-year) dates supported now are ISO standard as well, the month-day format is most common amongst the ISO forms. I changed the title to be more specific.

@crotwell
Copy link
Author

Can I use day of year ISO times in the select file now? The docs show this:

IU   COLA 00   LHZ   *     2008,100,10,00,00 2008,100,10,30,00

I would really like to be able to do this:

IU   COLA 00   LHZ   *     2019-05-13T17:04:05.000001Z  2019-05-13T18:18:20.000000Z

but even just this would be nice:

IU   COLA 00   LHZ   *     2019-133T17:04:05.000001Z  2019-133T18:18:20.000000Z

@chad-earthscope
Copy link

Can I use day of year ISO times in the select file now?

No.

but even just this would be nice
IU COLA 00 LHZ * 2019-133T17:04:05.000001Z 2019-133T18:18:20.000000Z

That should work just fine.

@chad-earthscope
Copy link

Can I use day of year ISO times in the select file now?

No.

Yes! meant yes.

@crotwell
Copy link
Author

Cool!

Then just updating the docs would make me happy! :)

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