-
Notifications
You must be signed in to change notification settings - Fork 5
Projects
Projects are collections of data, options and parameters and are a useful way to handle with different data sources. A project is physically a .ini file containing several information on data sources and paths. In the following an example of project .ini file:
[settings]
parameters_file=./SETTINGS/parameters.ini
log_file=logERG5.txt
[location]
lat=44.5
lon=11.35
utm_zone=32
time_zone=1
is_utc=true
[project]
name=ERG5 v2.0
dem=../../DEM/DEM_ER_bacini_500m.flt
meteo_points=../../METEOPOINT/dbERG5.db
meteo_grid=../../METEOGRID/DBGridXML_ERG5_v2.1.xml
load_grid_data_at_start=false
settings block contains the parameters and the log file paths. location contains the coordinates for centering the initial map in the GUI, the UTM zone (PRAGA uses WGS84 UTM reference system). Time zone is used for several computation (e.g. solar radiation). is_utc specifies whether the meteorological data refer to Universal Time Convention. project block includes the information on the project itself: the project name, the paths for DEM, meteo points and meteo grid XML files. The option load_grid_data_at_start specifies whether PRAGA should load grid data of the last available date, when opening the project (sometimes this could take a long time).
Some of these settings are editable from the GUI menu Settings-->Parameters (PROJECT tab).
PRAGA has a default project (default.ini
) which is loaded whenever you open the software. This file is usually placed in the main PRAGA directory.