Configuration of VIRs in Inishell
This Issue is an exhausted explanation of what I experienced trying to use Virtual Stations and what is missing or wrong with Inishell configurations.
I got VIRs running with manual modifications of the .io-File. I did this according to the explanation found in the documentation:
https://models.slf.ch/docserver/meteoio/html/spatial_resampling.html
On this we can see that the commands should be in the [Input] section of the .io-File. However, if we set up a VIR-configuration with Inishell, one can see that the commands show up in the own [Input Editing] section of the .io-File. SNOWPACK is not recognizing this section and only starts running on the defined input meteo-stations, using the first .sno-files which were actually meant to be for the VIRs.
Example: I am using four stations and want to interpolate 10 VIRs in between. When I start SNOWPACK, it runs for the four stations, using the first four .sno-Files from the list of ten .sno-files, even if they were meant to be for the 10 VIRS. The VIRs do not get calculated at all.
Running the VIRs with manual editing of the .io-File works for me. Here is the attached section of the .io-File and how it is supposed to be looking when coming out of Inishell:
[INPUT]
...
RESAMPLING_STRATEGY = VSTATIONS
VIRTUAL_PARAMETERS = TA RH PSUM PSUM_PH ILWR P VW ISWR TSG RSWR TSS
VSTATION01 = latlon 46.81860666 9.836693151 1803
VSTATION02 = latlon 46.81730042 9.835261476 1801
VSTATION03 = latlon 46.81807001 9.833798598 1880
VSTATION04 = latlon 46.82153266 9.836398119 1909
VSTATION05 = latlon 46.82254657 9.8339609 2043
VSTATION06 = latlon 46.82146987 9.832020879 2069
VSTATION07 = latlon 46.81872706 9.835625947 1848
VSTATION08 = latlon 46.82021042 9.833028772 1966
VSTATION09 = latlon 46.81938632 9.83628006 1943
VSTATION10 = latlon 46.81915118 9.830371909 2036
VSTATIONS_REFRESH_RATE = 1800
SLOPE_FROM_SNO = TRUE
...
Also note the naming of the VIRs with numbers VSTATION01 instead of VSTATION1, which I reported in an extra Issue.
I hope this explanation helps to adjust Inishell in order to easily use VIRs in the future.