Changes between Version 3 and Version 4 of Procedures/NEODCDelivery


Ignore:
Timestamp:
Feb 4, 2008, 6:20:26 PM (17 years ago)
Author:
mggr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Procedures/NEODCDelivery

    v3 v4  
    33This page documents the procedure to follow when delivering data to NEODC.
    44
    5 First, we need to have some data to send - this should be datasets that are 'completed'
     5First, we need to have some data to send - these should be datasets that are 'completed'.
    66
    7 ''saved as partial''
     7'''Work in progress!'''
    88
    9 Handy commands:
    10 
    11  * `find -type f -not -wholename *bin/az* -and -not -regex '.*/run[aceh]/.*sh' -and -perm /a=x -exec chmod a-x {} \;`
    12    * removes executable bit on all files (except bin/az* and the run[aceh] scripts)
    13  * `find -regex '.*[^-0-9a-zA-Z/._].*'`
    14    * find all files/dirs with unusual characters (space, brackets, etc) - these need a manual rename
    15  * `chmod -R a+rX .`
    16    * recursively give everyone read permissions (and execute if it has user execute) for the current directory and below
     9 1. Copy the relevant datasets onto the disk.  For each dataset:
     10   1. Make sure everything is where it should be! (see [wiki:Procedures/DataFlow this wiki page] for the layout)
     11   1. Add a copy of the relevant trac ticket(s) - save these as html (including images) and put in the admin/ subdir.
     12 1. Write a README.txt that explains:
     13   1. The layout of the disk and what's on it
     14   1. Any additional information that'll help explain unusual files/dirs
     15 1. Scan the filesystem for any 'bad' things and fix them:
     16   1. Remove executable bit on all files (except bin/az* and the run[aceh] scripts) -> `find -type f -not -wholename *bin/az* -and -not -regex '.*/run[aceh]/.*sh' -and -perm /a=x -exec chmod a-x {} \;`
     17   1. Find all files/dirs with unusual characters (space, brackets, etc) - these need a manual rename at present -> `find -regex '.*[^-0-9a-zA-Z/._].*'`
     18   1. Give everyone read permissions (and execute if it has user execute) for the current directory and below - `chmod -R a+rX .`
     19 1. Create a filelist (`find -ls > file_list.txt`)
     20 1. Copy the README and filelist to the USB stick associated with the disk.
     21 1. Print out and attach listings & README to the logbook.
     22 1. Package up the disk, USB stick and log book nicely and post to NEODC at the address below:
     23{{{
     24ARSF Data Archiving c/o Victoria Jay
     25NERC Earth Observation Data Centre
     26Space Science & Technology Dept.
     27STFC Rutherford Appleton Laboratory
     28Chilton, Didcot OX11 0QX
     29}}}