jjk-code-otter / climate-indicator-manager

GNU General Public License v3.0
2 stars 1 forks source link

Filenames for certain files have YYYYMMMM placeholders in the history #113

Closed jjk-code-otter closed 2 years ago

jjk-code-otter commented 2 years ago

NOAAGlobalTemp and ERA5 (possibly others, make a list) filenames contain wildcards or placeholders in the metadata file because the filename changes each month according to an established pattern. When these datasets are read in, the filename is populated with the latest file, but this information doesn't currently appear in the "file created" entry in the "history" metadata - the filename there still has the wildcards/placeholders in it. This information is available when the data are read, so it's a simple task to make sure it appears in the history appropriately.

jjk-code-otter commented 2 years ago

2fb53b9e2893878db5abbff0392a578a26a48f01 Filled in placeholders in the filenames and URLs when the files are read in. This information is then used to fill the history metadata and to updated the filename and URL metadata elements so that they later appear with the correct names and links in the webpage.