Project

General

Profile

Data (measurements auxiliary tables) » History » Version 3

Philippe May, 22/11/2016 14:43

1 1 Philippe May
h1. Data (measurements auxiliary tables)
2 1 Philippe May
3 3 Philippe May
Besides the importation of [[shapefiles]], Gisaf can import non-geophical information: auxiliary data (typically categories like the list of locations names, well types, etc), and temporal informations (well levels, etc).
4 3 Philippe May
5 1 Philippe May
h2. Command line
6 1 Philippe May
7 2 Philippe May
The @import_to_db.py@ script imports files, fetched from a set of URLs (typically, in the Redmine Files section of this project), formats and pre-process, and imports to the database.
8 1 Philippe May
9 2 Philippe May
@import_to_db.py@ is a support tool, that is planned to be integrated with the web interface.
10 2 Philippe May
11 2 Philippe May
Import all with:
12 2 Philippe May
13 1 Philippe May
<pre>
14 1 Philippe May
phil@phil-mbp:~/BlueLight/gisaf_src/gisaf$ python import_to_db.py
15 1 Philippe May
</pre>
16 2 Philippe May
17 2 Philippe May
The script currently accepts an argument for filtering the URLs to import.