Next: Loading spectro data (plates)
Up: Loading a database
Previous: Loading a database
You may want to create a shell script for loading multiple chunks.
- If the .fits files in the chunk directory are gzipped, you must
gunzip them before running the loader.
- Then, create log directories:
- Then change to the loader directory and run the loader:
./bin/sxLoad (-n) datapath chunknumber
The -n option stands for norun and shows only the output but
doesn't actually run the loader. datapath is the actual datapath, e.g.
/d001/chunk2007. chunknumber is the number of the observed chunk,
which is the last digit in the chunkname, e.g. 7.
Since output on stdout of the progress slows down the loading, you had better
redirect the output to a file, e.g.:
./bin/sxLoad /d001/chunk2007 7 > & load.out &
and have a look at it with:
The log files you will find in the directory $SX_CLIENT_DIR/log/loader/.
© The Johns Hopkins University 2000
Generated by Ani Thakar at 2002-01-18