This plugin reads the meteorological forecast data downscaled for each of the Swiss meteorological networks IMIS/ANETZ stations as preprocessed by the Operational Snow-Hydrological Service of the WSL. The data is written as Matlab binary files (.mat), one per meteorological parameter and per timestep, available on an access-controlled server after each new COSMO run. It therefore requires a third party library to read this file format: the Open Source MatIO library. This can be installed directly from the default repositories under Linux or installed by downloading the proper package for Windows or OsX.
The files are named with the following schema: {parameter}_{timestep}_{cosmo model version}_F_{run time}.mat with the following possible values:
The files have the following internal data structure (represented as "name {data type}"):
stat {1x1 struct}
├── time {1x1 array of doubles}
├── data {1x623 array of doubles}
├── acro {1x623 array of arrays of char}
├── dunit {array of char}
├── type {array of char}
└── name {array of char}The stations' acronyms follow a fixed order but their coordinates must be provided in a separate file, given as METAFILE key (see below). This file must have the following structure (the x and y coordinates being the CH1903 easting and northing, respectively):
statlist {1x1 struct}
├── acro {1x623 array of arrays of char}
├── name {1x623 array of arrays of char}
├── x {1x623 array of doubles}
├── y {1x623 array of doubles}
└── z {1x623 array of doubles}This plugin uses the following keywords: