gb_sql: JSON and SQL tools
This is library of bash scripts to manipulate and copy data between JSON files, bash variables, the Postgresql database, and Scilab scripts.
Installation
Get the git repository. Assuming you keep your git repos in ~/git then:
cd ~/git
git clone lilo.science.ru.nl:/vol/thchem/git/gb_sql
# If you already have it, you may want to update it:
git pull
Next, make sure this directory is in your GB_PATH. This can be done with commands from the gb_bash library (described :ref: gb_bash) to achieve this:
gb_addpath -n GB_PATH "$HOME"/git/gb_sql
gb_sc
New project:
Sc init HeCO2fm_v24
After run copy results for plotting on PC or laptop:
Sc get HeCO2fm_v24
cd HeCO2fm_v24/run1
Sc cp