tcheck for deglaciation age and its uncertainty - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
 (HTM) git clone git://src.adamsgaard.dk/cosmo
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7d5bb9cf840993ec45b28c4291fa22bbfe554840
 (DIR) parent d80838fb0cbf6874c6a168b67827a9f37785bec8
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Mon, 24 Aug 2015 10:31:25 +0200
       
       check for deglaciation age and its uncertainty
       
       Diffstat:
         M uploadhistory.php                   |       5 +++++
       
       1 file changed, 5 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/uploadhistory.php b/uploadhistory.php
       t@@ -41,6 +41,9 @@ if (!isset($_POST['epsilon_int_max']) || $_POST['epsilon_int_max'] == '') {
        if (!isset($_POST['t_degla']) || $_POST['t_degla'] == '') {
            array_push($missing_fields, 'Time since deglaciation');
        }
       +if (!isset($_POST['uncer_t_degla']) || $_POST['uncer_t_degla'] == '') {
       +    array_push($missing_fields, 'Uncertainty of time since deglaciation');
       +}
        if (!isset($_POST['d18O_threshold_min']) || $_POST['d18O_threshold_min'] == ''){
            array_push($missing_fields, 'Min. &delta;<sup>18</sup>O threshold value');
        }
       t@@ -135,6 +138,8 @@ $fieldnames = array(
            'epsilon_gla_max',
            'epsilon_int_min',
            'epsilon_int_max',
       +    't_degla',
       +    'uncer_t_degla',
            'd18O_smoothing', // check if set missing
            'd18O_threshold_min',
            'd18O_threshold_max');