Project

General

Profile

7. check in new datasource

from README.TXT > Datasource setup

  1. commit & upload:
    make inputs/$datasrc/add # place files under version control
    svn di inputs/$datasrc/*/test.xml.ref # make sure the test outputs are correct
    svn st # make sure all non-data files are under version control
    svn ci -m "added inputs/$datasrc/" 
    make inputs/upload # check that changes are as expected
    make inputs/upload live=1
    
  2. if you ran the mapping steps on the local machine, sync to vegbiendev:
    1. log in to vegbiendev:
      ssh -t vegbiendev.nceas.ucsb.edu exec sudo -u aaronmk -i
      
    2. download:
      svn up
      make inputs/download # check that changes are as expected
      make inputs/download live=1
      
    3. set vars as above
    4. perform pre-import actions:
      inputs/$datasrc/run
      

8. import to VegBIEN

  1. log in to vegbiendev:
    ssh -t vegbiendev.nceas.ucsb.edu exec sudo -u aaronmk -i
    
  2. set vars as above
  3. run column-based import: (from README.TXT > Single datasource refresh)
    make inputs/$datasrc/reimport_scrub by_col=1 &
    tail -150 inputs/$datasrc/*/logs/public.log.sql # view progress
    
  4. see README.TXT > Single datasource refresh > steps after reimport_scrub