hapi-server / uri-templates

Repository of tools for URI templates
Apache License 2.0
2 stars 0 forks source link

consider adding phasereset to count off ten-day intervals within a year #9

Open jbfaden opened 2 years ago

jbfaden commented 2 years ago

At the U Iowa Plasma Wave Group, we produce 10-day plots for out PDS volumes which always start on January 1st of the year. This is a nice system because you always know what the names will be for any year without having to enumerate from some phase start. I propose we introduce "phasereset=Y" for this, to match the existing phasestart:

('$Y$m$d_$(Y;end)$m$(d;delta=10;phasereset=Y)')

There would also allow for phasereset=m or phasereset=d.

This might be the first time that two intervals overlap, and I could see this causing problems. I suggest then where there is overlap at the end of the year (20191227_20200106.PNG and T20200101_20200111.PNG) then the second interval would be preferred.

jbfaden commented 11 months ago

I could still use this.