The changes in this beta will be available in the Source version 5 production release, due out at the end of June 2020.
Changes in this release include:
- Utility for interacting with the new Results streaming format
Results Streaming
Results can now be streamed to files on disk rather than stored in memory. This is to prevent memory issues with large runs. Results streaming is off by default, however, it can be turned on in Project Options:
The format used (called Source Time Series Database .sdb) is now also available as a general timeseries format.
Source.DataUtility.exe - eWater Source Time Series Data Utility Usage: -?, --help[optional]... Show usage help -i, --input[optional]... Input file to read timeseries from. All standard TIME timeseries formats are supported. Example: -i "Run1.sdb" or -i "Run1.res.csv" -o, --output[optional]... Output file to save timeseries to. The extension selects the output format based on the standard TIME I/O formats. A directory of the name specified will be created if the format only supports a single timeseries. Example: -o "output.res.csv" for Source Results CSV or -o "output.sdb" for SourceDB etc. -k, --key[optional]... Key of a timeseries to output. This can appear multiple times. If no keys are specified then all timeseries will be exported. Use the '--list' option to list timeseries in the input file. The DisplayName is used as the key. Example: -k "someResult" -k "someOtherResult" -q, --query[optional]... SourceDB filter query. Use the '--list' option to list timeseries in the input file together with possible MetadataKeys to filter on. Example: -q "WaterFeatureType=Storage" -q "ElementName=Storage Volume" --startTime, --st[optional]... Start time for extracting partial results. If not specified the start of the input timeseries is used. Example: --st 1/1/2011 --endTime, --et[optional]... End time for extracting partial results. If not specified the end of the input timeseries is used. Example: --et 31/12/2011 -l, --list[optional]... List the timeseries and metadata contained in the input timeseries file. Standard output may be redirected to a '.json' file. -a, --addOrReplace[optional]... Add input timeseries to an existing output SourceDb (.sdb) file. Existing timeseries with matching metadata will be replaced. Only supported for SourceDb output files. Example: --addOrReplace -f, --force[optional]... Don't prompt for confirmation when overwriting an existing file.
Plugin Developers
We have moved to .NET 4.8 and are looking at moving to the new .csproj format on our journey to .net core. Once we complete this we may need to upgrade to Visual Studio 2019.
Regression Testing
We have removed the tolerance in our regression tests to help find issues earlier if we get different results on different machines or versions of operating systems.
Details here: 4.12.4 Regression Test Changes
Insight
To run Insight, you also need to install the 32bit version of Microsoft Visual C++ 2010 Redistributable Package.
This installer is for both 32bit machines and 64bit machines since the library we use is 32bit: Microsoft Visual C++ 2010 Redistributable Package (x86).
Full Release Documentation