<commit_before>Ouranos
=========

Importation tests for Regional Climatic Models (HDF5 format, version >7.4, ```*.mat```) outputs into PostGIS raster objects.

Dependencies
============

### Libraries 

**Python (2.7+):**

	import h5py
	import numpy
	import pandas

**R (3.0+):**

	require(sp)
	require(ggplot2)
	require(ggmap)
	require(stringr)

**PostgreSQL (9.3):**

	CREATE EXTENSION postgis;

Getting started
===============

1. Create database:

	psql -h localhost -p 5432 -U user -c "CREATE DATABASE ouranos_db"
	psql -h localhost -p 5432 -U -c "CREATE DATABASE ouranos_db;"
	psql -h localhost -p 5432 -U -c "\i ./archi_sql/modclim_db.sql;"

2. Import archi 	

2. Add Ouranos files (```.mat```) in mat_files folder

3. Execute command:

	git clone git@github.com:SteveViss/OuranosDB.git
	cd Ouranos
	python ./imp_rasters_ouranos.py --log=INFO<commit_msg>Quick modifs on README<commit_after>Ouranos
=========

Importation tests for Regional Climatic Models (HDF5 format, version >7.4, ```*.mat```) outputs into PostGIS raster objects.

Dependencies
============

### Libraries 

**Python (2.7+):**

	import h5py
	import numpy
	import pandas

**R (3.0+):**

	require(sp)
	require(ggplot2)
	require(ggmap)
	require(stringr)

**PostgreSQL (9.3):**

	CREATE EXTENSION postgis;

Getting started
===============

###1. Create database:

	psql -h localhost -p 5432 -U user -c "CREATE DATABASE ouranos_db"
	psql -h localhost -p 5432 -U -c "CREATE DATABASE ouranos_db;"
	psql -h localhost -p 5432 -U -c "\i ./archi_sql/modclim_db.sql;"

###2. Import archi 	

###3. Add Ouranos files (```.mat```) in mat_files folder

###4. Execute command:

	git clone <EMAIL>:SteveViss/OuranosDB.git
	cd Ouranos
	python ./imp_rasters_ouranos.py --log=INFO
{'fraction_non_alphanumeric': 0.1716589861751152, 'fraction_numerical': 0.03110599078341014, 'mean_word_length': 4.154302670623146, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1102367', 'n_tokens_mistral': 700, 'n_tokens_neox': 641, 'n_words': 192}