Module Name: | global.properties |
Description: | Sets global properties for the application |
Why to Use? | To override default values and to set global variables |
Where to Use? | In the global.properties file in the root dir of the region |
Config Example |
|
Screendump: | na |
Outcome(s): | Updated behavior of the system |
Remark(s): |
|
Available since: | DelftFEWS200701 |
Overview
The global.properties file has two main uses:
- Define global variable that can be used within the (XML) configuration files (e.g. if you define NAME_OFPROGRAM=c:\Myexe.exe in the global.properties file you can use the variable $NAME_OFPROGRAM$ in the configuration files).
- To set software options.
Configuration
A list of available options is given below (all options are case sensitive):
Name | Value | Description | DefaultValue |
---|---|---|---|
localDatastoreFormat | firebird | Use firebird for the local datastore (instead of msacces). Useful if you have large (> 2GB) datastores | msaccess |
ARCHIVE_IMPORT_PATH |
|
| |
ARCHIVE_EXPORT_PATH |
|
| |
REGION_HOME |
|
| |
USE_CURRENT_SIMULATED_WITH_COLD_STATE_SELECTION | boolean | By default current simulated data of a module instance is visible during a run until the running forecast has started a new chain (i.e. selected a cold state) for that module instance. Setting this property to 'true' allows the use of a cold state selection in combination with timeseries of a current (approved) simulated forecast run | false |
allowParameterMergeForNonSample |
|
| |
timeSeriesDefaultCacheSizeMB | 50 | Allocated memory for caching time series. More memory increases the performance of handling time series (e.g. in graphs or spatial display) | 10 Mb |
timeSeriesTaskRunCacheSizeMB | 50 | Allocated memory for time series that are created during task runs (at a forecasting shell). | 10 Mb |
timeSeriesWriteCacheSizeMB | 50 | Temporary time series (synchLevel 9) are written to the database when the size of the write cache is not large enough to hold them in memory. This will cause a lot of extra work for the rolling barrel later on. | 10 Mb |
DEFAULT_EXPIRY_DAYS | Any number of days | Sets the default expiry time for timeseries in the database. You can override this when storing individual timeseries by specifying the expirytime in the timeseriesSet | 10 Days |
DEFAULT_EXPIRY_DAYS_LOGEVENT |
|
| |
DEFAULT_EXPIRY_DAYS_LOGEVENT_MANUAL |
|
| |
alwaysAllowWriteSimulatedBelongingToAlreadyRunnedModuleInstance |
|
| |
alwaysAllowDummyModuleInstanceRuns |
|
| |
SCHEMALOCATION |
|
| |
PI_SCHEMALOCATION |
|
| |
UseLenientPiTimeSeriesParser |
|
| |
EXPLORER_SYSTEMCAPTION | any string value | Option to set the window title of the FEWS Explorer (i.s.o. Explorer.xml). In Explorer.xml the element <systemCaption> underneath <systemInformation> should contain a reference ($EXPLORER_SYSTEMCAPTION$) to this global property variable | |
IDENTIFIER |
|
| |
NIMROD_DUMP_VALUES |
|
| |
checkFileWillExistOnCaseSensitiveFileSystem |
|
| |
GA_shiftExternalTimesToYear2000 |
|
| |
REPORT_HTML2PDF_PROGRAM |
|
| |
REPORTS_LEFTCOLMCID | MCID | Reference to MCID (e.g. MC00 or MC01) to put benchmark values in left or right column of a specific system status report | |
REPORTS_RIGHTCOLMCID | MCID | Reference to MCID (e.g. MC00 or MC01) to put benchmark values in left or right column of a specific system status report | |
checkFileWillExistOnCaseSensitiveFileSystem |
|
| |
mapLayersCacheDir | any local directory | Local directory to keep an up-to-date cache of maplayers which are retrieved from a network drive. Allows central maintenance of MapLayer-files without storage in the central database. | |
LANGUAGE |
|
| |
COUNTRY |
|
| |
IP |
|
| |
PREFIXED_IP |
|
| |
NESTED_IP |
|
|
Known issues
- all options are case sensitive
- Some the of options listed here are deprecated