Changeset 18472 for trunk/DataCheck


Ignore:
Timestamp:
04/22/16 21:19:43 (9 years ago)
Author:
Daniela Dorner
Message:
implemented filling of fact period
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Processing/FillMoonInfo.sh

    r18325 r18472  
    3838   fi
    3939   printprocesslog "INFO processing date "$date
     40   echo "INFO processing date "$date
    4041
    4142   # get file numbers from DB
     
    7778     
    7879      # build query to update runinfo in DB
    79       query="UPDATE RunInfo SET fSunZenithDistance="${lightinfo[2]}", fMoonDisk="${lightinfo[4]}
    80       query=$query", fMoonZenithDistance="${lightinfo[5]}
     80      query="UPDATE RunInfo SET fSunZenithDistance="${lightinfo[2]}", fPeriod="${lightinfo[3]}", fMoonDisk="${lightinfo[5]}
     81      query=$query", fMoonZenithDistance="${lightinfo[6]}
    8182      if [ "${info[0]}" != "999" ] && [ "${info[1]}" != "999" ]
    8283      then
    83          query=$query", fAngleToMoon="${lightinfo[6]}
    84          query=$query", fAngleToSun="${lightinfo[7]}
     84         query=$query", fAngleToMoon="${lightinfo[7]}
     85         query=$query", fAngleToSun="${lightinfo[8]}
    8586      fi
    8687      # add where condition
Note: See TracChangeset for help on using the changeset viewer.