Qt4 components. Qt is free and open source framework. PyQt4
is a Python binding of the cross-platform GUI toolkit Qt4. Like
Qt4, PyQt4 is a free software.
For the development of graphics display plugin Qgis, Qt4 and
pyQt4 libraries have been used. The necessary files of a QGIS
plugin and their structure is as follows:
PYTHON PLUGINS PATH/
myPlugin/
init. py
plugin.py
resources.qrc
resources.py
form.ui
form.py
where init .py is the starting point of the plugin, plugin.py
is the main working code of the plugin, resources.qrc is the
xml document created by Qt-Designer, resources.py is the
translation of the .qrc file described above to Python, form.ui is
the GUI created by Qt-Designer and form.py is the translation of
the form.ui described above to Python.
Figures 4 and 5 display the flowchart and user interface of the
developed plugin of a single module out of various as sample.
In places where sensitive parameters need to be changed
frequently to get desired results, the plugin allows the user to
change them during runtime in a simple manner. As such the
time required to make the changes in the actual parameter files
was saved.
NBSS&LUP,
sa DEM FAO SOIL
MAP
Y
—— » OVERLAY = + SUBSET,
REPROJECT
Y AE Y
AVG ANNUAL MEAN DOMINANT
PRECIPITATION ELEVATION OL Tory /4—À] OVERLAY
IN EACH GRID FOR GRID
GRID
Y
soil
PARAMETER
" FLEINASCH /*
FORMAT
Figure 4 Flowchart to create soil parameter file
INPUTS
GRID MAP: | a Browser
SOR TEMAS | erem | Browser |
AVG. RAINFALL MAP: m si ; T : is : -| Browser
PARAMETERS FILE: | | Browser
OUTPUT SOIL PARAM FILE: | | Browser
Help Cancel OK
Figure 5 User Interface to generate Soil Parameter file
5. CONCLUSIONS
It can be concluded that the tool for hydrological modeling
through VIC model FOSS4G specifically allows users (i) to
generate VIC input files rapidly, (ii) to change calibration
parameters during runtime and (iii) provides a user friendly
manner of dealing with otherwise, a very data intensive and
time consuming issue. A potential of QGIS allowed
customizing in such an casy and efficient manner to develop a
tool that is the best in its domain. The plugin also allows further
modifications to be made in order to enhance its efficiency to
any other area of interest.
Lastly, this study proves that use of FOSS tools and software
libraries have an upper hand over proprietary GIS tools when it
comes to developing custom user-specific applications for
hydrological modeling. Future works in this area can be
concentrated on merging the benefits of semantic assimilation
of datasets so as to avoid programming overheads in data
conversion.
REFERENCES
Barnsley, M. J., 1999. Digital remote sensing data and their
characteristics. Geographical Information Systems: Principles,
Techniques, Applications, and Management, pp. 451-466.
Bivand, R, & Lucas, A., 2000. Integrating models and
geographical information systems. Geocomputation, pp. 331-
364. Taylor & Francis London.
Gao, H., Q. Tang, X. Shi, C. Zhu, T. J. Bohn, F. Su, J.
Sheffield, M. Pan, D. P. Lettenmaier, and E. F. Wood, 2010.
Water Budget Record from Variable Infiltration Capacity (VIC)
Model. In Algorithm Theoretical Basis Document for
Terrestrial Water Cycle Data Records (in review).
Goodall, J. L., & Maidment, D. R., 2009. A spatiotemporal data
model for river basin-scale hydrologic systems. International
Journal of Geographical Information Science, 23(2), pp. 233-
247.
Jolma, A., Ames, D. P., Horning, N., Mitasova, H., Neteler, M.,
Racicot, A., & Sutton, T., 2008. Free and Open Source
Geospatial Tools for Environmental Modelling and
Management. Developments in Integrated Environmental
Assessment, 3, pp. 163-180.
Neumann, A. and Hugentobler, M., 2008. Open-source GIS
libraries. Encyclopedia of GIS, pp.816-820. Springer Science
Business Media LLC, NY.
Netcraft, 2011. *May 2011 Web Server Survey | Netcraft,”
http://news.netcraft.com/archives/201 1/05/02/may -201 1-web-
server-survey.html (31-Jan-2012).
Sanz-Salinas, J.-G., & Montesinos-Lajara, M., 2009. Current
Panorama of the FOSS4G Ecosystem. Novatica, X(2), PP- 4
51.
Stallman, R., 1999. The GNU Operating System and the Free
Software Movement. Open Sources: Voices from the open
source revolution, pp. 53-70. O’Reily & Associates CA.
Steiniger, S., &
and open sour
Journal of Ge
1345-1370.
Steiniger, S., é
geographic infoi
Informatics, 4(4
Su, D. Z, &
hydrological m
Computers, envi
ACKNOWLED
This work is
Organisation — (
are due to Dr P.S
S. K. Srivastav,
guidance, suppo
(HT-H) and Dr
GUI dev and VIC