I am doing this to cope with prior files that are not in wgs 84 coordinates. In consequence, we cannot use the (-te -180 -90 180 90) parameter with them and cannot make them global. However, as the .vrt-files are georeferenced, I think it might actually be okay if they are not global.
If we need them to be global, we could try o think of something more sophisticated where we derive the correct parameter setting.
Added a commit with respect to safe use of pyyaml. This is not really connected to the issue with the wgs84 problems, but I felt it was too much to open an extra branch for this.
I am doing this to cope with prior files that are not in wgs 84 coordinates. In consequence, we cannot use the (-te -180 -90 180 90) parameter with them and cannot make them global. However, as the .vrt-files are georeferenced, I think it might actually be okay if they are not global. If we need them to be global, we could try o think of something more sophisticated where we derive the correct parameter setting.