Changeset 3179 for TI01-discovery/trunk


Ignore:
Timestamp:
04/01/08 19:22:23 (12 years ago)
Author:
selatham
Message:

tidying up a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/ingestAutomation/OAIBatch/oai_ingest.py

    r3177 r3179  
    11#!/usr/bin/env python 
    2 """ Script oai_ingest.py takes parameter <datacentre>. 
     2""" Script oai_ingest.py takes parameters <datacentre> <dbinfofile>. 
    33The /usr/local/WSClients/OAIBatch directory contains:- 
    4  - this python script, plus some other modules for parts of the process. 
     4 - this python script, plus some other modules eg ndgUtils for parts of the process. 
    55 - a DataProvider specific config file, 
    6  - the d2b.jar moles creator class which creates moles discovery records, 
    76 - the python module for extracting spatiotemporal information and adding to postgres db. 
    87Under this directory the following structure should be maintained: 
     
    146145        continue 
    147146    dbaccess[(words[0],words[1])] = [words[2]] 
    148 datacentre_config_file.close() 
     147dbinfo_file.close() 
    149148#print dbaccess 
    150149db_admin = dbaccess[(host,'admin')][0] 
Note: See TracChangeset for help on using the changeset viewer.