EIS Master Study Database

Updating an existing science study

Procedure

Alter raster properties

  1. Log onto msslqm as user 'solarb'.
  2. tar cvfz eis_pm_db_yyyymmdd.tar.gz eis_pm_db
  3. tar cvfz planning_db_yyyymmdd.tar.gz planning_db
  4. mv eis_pm_db_yyyymmdd.tar.gz eis_pm_db_backup
  5. mv planning_db_yyyymmdd.tar.gz planning_db_backup
  6. Start sswidl
  7. @pm to select the pm database
  8. @m to run eis_mk_raster
  9. Load the raster to change from the database
  10. Make the required alterations
  11. Save back into the database:
    1. Fill in new acronym
    2. Select 'create new' option
    3. Select save
  12. Make a note of the new raster id
  13. Exit eis_mk_raster

Update study

  1. @s to run eis_mk_study
  2. Load original study from the database
  3. Select the raster which is to be udated
  4. Delete raster
  5. Insert new raster from dataase
  6. Save study into database:
    1. Fill in new acronym
    2. Select 'create new' option
    3. Select save
  7. Make a note of the new study id
  8. Exit eis_mk_study

Test on flight spare using the pm (non-master) database

  1. Log onto msslqm as user 'solarb'.
  2. Backup the pm study database:
  3. Change directory to ~/pm_study/mcrw
  4. Create a new directory with the same name as the new study and place the 2 files into the new folder.
  5. Change directory to solarb home
  6. Start sswidl
  7. @pm
  8. @s
  9. Import study (the .def file).

    If the study defines a new raster and/or a new linelist then these will be automatically created.

  10. @p
  11. Select the new study from the list (will be at the bottom).
  12. Insert the study at the cursor timeline. (Ignore any data rate warnings.)
  13. Select 'CPT' from the tools menu.
  14. Select:
  15. Press 'Test CPT'. This should run ok.
  16. Press 'Run CPT'. This should be ok too. This will generate the plan which we can use to test the new study on the flight spare.
  17. Exit sswidl.
  18. In the xterm back up the database by running 'db_backup.sh'.
  19. In the xterm create a new version of the plan by running 'mkplan'.
  20. Turn ICU on. Make note of the run number, dump file number and housekeeping file number (st_data.nnnn).
  21. In the commshell enter 'run startup'.
  22. When startup has finished enter 'run 'cpt/plan''. Make a note of the mission data files produced.

Import study into master database

Follow the instructions for putting the database on the server as before.