google / weather-tools

Tools to make weather data accessible and useful.

Home Page:https://weather-tools.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Splitter template syntax is not expressive enough for backwards compatability.

alxmrs opened this issue · comments

I used the weather splitter on a file system before it had templates, and now in its current version. The original file system I have looks like:
.../2020/202001_hres_pcp.grb2_surface_d2m.grib

Using the new templating system in the weather splitter, I cannot format a template string to match this file path. This is because I don't have control over the position of the level and short_name variables. It seems like the templating system is oriented towards setting variable file paths instead of templating the variable and level placement in the string. The latter templating options are more needed than the former.