[Esip-discovery] proposal for seasonal / annually-repeating-dates
Mattmann, Chris A (398J)
chris.a.mattmann at jpl.nasa.gov
Wed Jul 17 15:36:30 EDT 2013
Me, and in Solr :) Also would be a good candidate for bringing
to the Blaze/Continuum and NumPy folks.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann at nasa.gov
WWW: http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----Original Message-----
From: <Lynnes>, "Lynnes, Christopher S. (GSFC-6102)"
<christopher.s.lynnes at nasa.gov>
Date: Wednesday, July 17, 2013 12:08 PM
To: "esip-discovery at lists.esipfed.org" <esip-discovery at lists.esipfed.org>
Subject: [Esip-discovery] proposal for seasonal / annually-repeating-dates
>We find ourselves wanting to search a server for a set of repeating date
>ranges, to support seasonal analysis. For example, we want all March
>data over a 12 year period, say, or all data from Dec. 21 to March 20
>over a 10 year period.
>
>I would like to suggest a formulation using the ISO 8601 specification
>for Recurring time interval
>(http://en.wikipedia.org/wiki/ISO_8601#Repeating_intervals), e.g.,
>R3/2008-03-01T13:00:00Z/P1Y, which describes a one year duration,
>repeating 3 times, with each year starting on March 1st, i.e.,
>
>2008-03-01T13:00:00Z to 2009-03-01T12:59:59Z
>2009-03-02T13:00:00Z to 2010-03-01T12:59:59Z
>2009-03-03T13:00:00Z to 2011-03-01T12:59:59Z
>
>Now in our case, we want discrete sub-intervals within the year,
>repeating each year. However, we can use the start and end times to
>encode this. For Mar/Apr/May, we would have:
>
>time:start = R3/2003-03-01/P1Y (Repeat 3 times, interval duration is 1
>year)
>time:end = R3/2003-05-31/P1Y
>
>These would expand out to:
>Start: 2003-03-01, 2004-03-01, 2005-03-01
>End: 2003-05-31, 2004-05-31, 2005-05-31
>
>Giving 3 pairs of start-stop times:
>2003-03-01 - 2003-05-31
>2004-03-01 - 2004-05-31
>2005-03-01 - 2005-05-31
>
>So we would not have to modify the OpenSearch template; just allow
>additional ISO 8601 specifications of more complicated dates.
>
>Who else would be interested in making use of such a construct?
>--
>Dr. Christopher Lynnes NASA/GSFC, Code 610.2 phone: 301-614-5185
>"Making the simple complicated is commonplace; making the complicated
>simple, awesomely simple, that's creativity." -- C. Mingus
>
>
>_______________________________________________
>Esip-discovery mailing list
>Esip-discovery at lists.esipfed.org
>http://www.lists.esipfed.org/mailman/listinfo/esip-discovery
More information about the Esip-discovery
mailing list