[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[python #HIY-308608]: siphon filter_time_nearest w/ "day of year" (for GOES ABI & GLM)



Greetings!

Yes, the filter functions in the last release of Siphon do not work with the 
GOES products. On the Siphon master branch, we've added the ability to specify 
your `strptime` format string, as well as adjusting the regex with a `strptime` 
named group to allow for that very use case. The Pull Request adding it is:

  https://github.com/Unidata/siphon/pull/272/files

If you'd like to install master yourself, you can do that with:

    python -m pip install git+https://github.com/Unidata/siphon.git

Hope that helps,

Ryan

> Ryan :
> 
> FYI, GOES ABI & GLM use "day of year" in their file name time stamps.
> 
> I hacked a patch to siphon/catalog.py to handle "day of year" (attached).
> 
> Should I open an "issue" for this ?
> 
> 
> PS, here's the regex :
> 
> re0 =
> r'_s(?P<year>\d{4})(?P<doy>[0123]\d{2})(?P<hour>[012]\d)(?P<minute>[0-5]\d)(?P<second>[0-5]\d)._e'
> 


Ticket Details
===================
Ticket ID: HIY-308608
Department: Support Python
Priority: Low
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.



pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy