VIR Station order when using 10 or more VIRs
When using more than 10 VIRs, Inishell puts them in order like this (just example):
VSTATION1 = latlon (46.81860666,9.836693151,1803)
VSTATION2 = latlon (46.81860666,9.836693151,1803)
VSTATION3 = latlon (46.81860666,9.836693151,1803)
VSTATION4 = latlon (46.81860666,9.836693151,1803)
VSTATION5 = latlon (46.81860666,9.836693151,1803)
VSTATION6 = latlon (46.81860666,9.836693151,1803)
VSTATION7 = latlon (46.81860666,9.836693151,1803)
VSTATION8 = latlon (46.81860666,9.836693151,1803)
VSTATION9 = latlon (46.81860666,9.836693151,1803)
VSTATION10 = latlon (46.81860666,9.836693151,1803)
The issue with that is, that SNOWPACK then produces the forcings in the order 1, 10, 2, 3, 4 ... and so on. Therefore it takes the information from the .sno-files incorrectly, as they`re still in the order 1, 2, 3, 4 ... 10.
I fixed it by changing the naming of the VSTATIONS to (always adding the 0 before the single digit count):
VSTATION01 = latlon (46.81860666,9.836693151,1803)
VSTATION02 = latlon (46.81860666,9.836693151,1803)
VSTATION03 = latlon (46.81860666,9.836693151,1803)
VSTATION04 = latlon (46.81860666,9.836693151,1803)
VSTATION05 = latlon (46.81860666,9.836693151,1803)
VSTATION06 = latlon (46.81860666,9.836693151,1803)
VSTATION07 = latlon (46.81860666,9.836693151,1803)
VSTATION08 = latlon (46.81860666,9.836693151,1803)
VSTATION09 = latlon (46.81860666,9.836693151,1803)
VSTATION10 = latlon (46.81860666,9.836693151,1803)
Maybe this can be implemented so working with multiple VIRs doesn`t mix up the linking between VIR and the according .sno-files.