home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / DBASE / BCAST101.ZIP / BCAST.MAN < prev    next >
Text File  |  1992-02-19  |  52KB  |  1,025 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.                    DAILY SOLAR GEOPHYSICAL DATA BROADCAST PROCESSOR
  31.  
  32.                            DATABASE MANAGER - USERS MANUAL
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.                                      Version 1.01
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.                                 (c) Copyright 1992 by
  51.  
  52.                             The Solar Terrestrial Dispatch
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                                   Table Of Contents
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.           Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
  75.  
  76.           The SGDB Data Sets  . . . . . . . . . . . . . . . . . . . . .   4
  77.  
  78.           Registering BCAST . . . . . . . . . . . . . . . . . . . . . .   4
  79.  
  80.           Starting Up BCAST . . . . . . . . . . . . . . . . . . . . . .   5
  81.  
  82.           The Configuration File  . . . . . . . . . . . . . . . . . . .   5
  83.  
  84.           The BCAST Environment Variable  . . . . . . . . . . . . . . .   6
  85.  
  86.           Processing Data Sets  . . . . . . . . . . . . . . . . . . . .   7
  87.  
  88.           Displaying Data Sets On-Screen  . . . . . . . . . . . . . . .   9
  89.  
  90.           The Archive and Analysis Menu . . . . . . . . . . . . . . . .   9
  91.                Saving Loaded Data Sets to the Database  . . . . . . . .  10
  92.                Loading a Dataset from the Database  . . . . . . . . . .  11
  93.                The Graphical Analysis Options . . . . . . . . . . . . .  12
  94.                Generating an Activity Summary Report  . . . . . . . . .  13
  95.                Generating a Standard SGDB File & Modifying Records  . .  14
  96.                Dumping Data Sets to an ASCII File . . . . . . . . . . .  15
  97.                Deleting Data Sets from the Database . . . . . . . . . .  15
  98.                Returning to the Main Menu . . . . . . . . . . . . . . .  16
  99.  
  100.           Exiting BCAST and Returning to DOS  . . . . . . . . . . . . .  16
  101.  
  102.           The Batch Processing Feature of BCAST . . . . . . . . . . . .  16
  103.  
  104.           Alternate Methods of Executing BCAST  . . . . . . . . . . . .  17
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.                                                                           3
  112.  
  113.           Introduction
  114.  
  115.                The Solar Terrestrial  Dispatch (STD)  has been providing  a
  116.           comprehensive  set  of  daily solar  geophysical  indices  to the
  117.           public in  the  form of  a  product  known as  the  "Daily  Solar
  118.           Geophysical  Data  Broadcast"  (SGDB).    The  data  and  indices
  119.           contained in the SGDB are very  valuable to persons interested in
  120.           ionospheric   radio   communications,  solar   activity,  auroral
  121.           activity,  and related  geomagnetic  events and  even atmospheric
  122.           phenomena.  The data sets are being used by research institutions
  123.           and astronomical organizations around the world.
  124.  
  125.                It was clearly  evident that such  a large dataset would  be
  126.           more useful if  it could be archived  and studied over time.   To
  127.           satisfy this  need, the STD  developed a  software package  which
  128.           would automatically  extract all  of the relevant  data from  the
  129.           SGDBs  and archive  them to disk  for analysis  and study.   This
  130.           software  is  known  as  "BCAST",   the  Solar  Geophysical  Data
  131.           BroadCAST Processor and Database Manager.
  132.  
  133.                BCAST provides  complete  archive  and  database  management
  134.           facilities in  a user-friendly  and easily  operated environment.
  135.           It  will  automatically maintain  a fully  sorted archive  of the
  136.           datasets for instant recall or graphical  analysis.  It will also
  137.           produce detailed summaries of the datasets in laymans terms which
  138.           may be printed out and distributed, or filed away.
  139.  
  140.                BCAST also provides  a powerful batch processing  feature to
  141.           automatically archive large numbers of SGDB reports in one simple
  142.           step.  In addition,  a completely new full-screen file  selection
  143.           facility has  been added to  simplify and enhance  the processing
  144.           and selection of the datasets.
  145.  
  146.                Extensive and complete monthly archives  of all SGDB reports
  147.           are available from the STD, through the STD BBS, or via anonymous
  148.           FTP for those who are connected to the larger electronic networks
  149.           such as the Internet.  Each of the monthly archives may  be batch
  150.           processed or selectively processed using BCAST.
  151.  
  152.                The STD also supplies extensive  documentation to help those
  153.           who are less  familiar, understand the  significance of the  data
  154.           contained in the daily SGDB reports.  The document "Understanding
  155.           Solar Terrestrial  Reports" comes  in two-parts and  is a  superb
  156.           introductory text for those  who want to know more  regarding the
  157.           relations between  solar  activity  and  Earth-based  terrestrial
  158.           activity.  These documents  are also available from the  STD BBS,
  159.           or through anonymous FTP.
  160.  
  161.                The STD BBS is accessible 24 hours a day, 7 days a week, and
  162.           provides  alerts, warnings,  and  forecasts  regarding solar  and
  163.           geophysical phenomena.  Forecasts of such things as major flares,
  164.           auroral activity, geomagnetic  storms, etc, are available  on the
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.                                                                           4
  172.  
  173.           BBS.  The phone number to the BBS is: 403 756-3008.
  174.  
  175.                The database  generated and maintained by BCAST will let you
  176.           analyze and study the cyclical behaviour  of such things as solar
  177.           activity,  geomagnetic  activity,  and ionospheric  disturbances.
  178.           You may also  be able to  anticipate the future behaviour  of the
  179.           indices.    This is  invaluable to  those  who, for  example, are
  180.           interested  in    predicting when  radio  communications  will be
  181.           optimum, or when auroral activity may  again be observed, or when
  182.           the next group of hot solar regions is due to rotate into view.
  183.            
  184.  
  185.           The SGDB Data Sets
  186.  
  187.                The Solar Geophysical Data Broadcasts (SGDBs) released daily
  188.           by the Solar  Terrestrial Dispatch  are composed of  a number  of
  189.           compact textual lines.  In order to fully describe the meaning of
  190.           each  component of each line in the SGDBs, a document was created
  191.           which  goes  through the  data sets  line  by line,  component by
  192.           component. 
  193.            
  194.                A complete copy of this descriptive document may be found in
  195.           the file "SGDB.DOC".
  196.  
  197.  
  198.           Registering BCAST
  199.  
  200.                BCAST is not  free.  A  considerable amount of our  time and
  201.           resources have been  expended to  develop this software  package,
  202.           not to mention the large number  of resources which are regularly
  203.           dedicated to produce the daily data sets.
  204.            
  205.                In order to be  able to continue providing these  daily data
  206.           sets and software to  use them, it  is important that we  recover
  207.           our costs for providing  these services.  In order  to accomplish
  208.           this,  we have  based the BCAST software  on the shareware  theme
  209.           and will require  payment from those who  wish to use all  of its
  210.           capabilities.
  211.  
  212.                The  BCAST  software   package  is  freely  distributed   as
  213.           "Unregistered" software.  To purchase the  software so all of its
  214.           features may  be used,  it must  be registered.  The only  way to
  215.           accomplish this is  to send a  cheque or  money order for  $35.00
  216.           dollars (in Canadian or U.S. funds) to:
  217.  
  218.                              Solar Terrestrial Dispatch
  219.                              P.O. Box 357
  220.                              Stirling, Alberta, Canada
  221.                              T0K 2E0
  222.  
  223.                All  funds  should  be remitted  to  the  "Solar Terrestrial
  224.           Dispatch".    U.S. cheques  or money  orders  are acceptable.   A
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.                                                                           5
  232.  
  233.           sample registration form is contained  with this software package
  234.           under the  filename "REGISTER.DOC".  You may print out a copy and
  235.           mail it to us with your payment, if desired. 
  236.            
  237.                Upon receipt of  your registration  request and payment,  we
  238.           will immediately send you the necessary instructions to make your
  239.           copy of the  BCAST software  a registered copy,  along with  your
  240.           unique registration I.D. number.  Thereafter, you will be able to
  241.           use the BCAST software without limitation. 
  242.            
  243.                If  you have an email address  on one of the larger INTERNET
  244.           or BITNET  networks, include  your e-mail  address(es) with  your
  245.           registration request so  we can contact  you through e-mail.   If
  246.           you don't have  an e-mail address  or if you  fail to include  it
  247.           with your payment, we will notify you through postal mail. 
  248.  
  249.  
  250.           Starting Up BCAST
  251.  
  252.                There are two ways you can invoke BCAST.  The easiest method
  253.           is simply to  type "BCAST" at your DOS command line prompt.  This
  254.           will immediately load  the program  and execute it.   The  second
  255.           method  of  invoking BCAST  is  through  the use  of  the "batch"
  256.           feature  for  processing  multiple  SGDB  data sets  quickly  and
  257.           easily.  This feature will be described later. 
  258.            
  259.                In  order for BCAST  to be able to  find the various support
  260.           files it requires for normal  operation (ex. the database  file),
  261.           you  should  execute  BCAST  in  the  directory  where  the BCAST
  262.           database   file exists.   When  you are  maintaining a  database,
  263.           BCAST  expects  to find  the  database  file with  the  filename:
  264.           "DATASETS.DAT".  BCAST will not utilize the database if this file
  265.           cannot be found in the same directory that you execute BCAST. 
  266.            
  267.                After you have  executed BCAST, a  title page should  appear
  268.           on-screen.   If you have registered your  copy of BCAST, the word
  269.           "Registered" will appear on the title page.  If you have  not yet
  270.           registered your copy  of BCAST, the  word "Unregistered" will  be
  271.           displayed.  Unregistered copies  of BCAST are heavily limited  in
  272.           the  number of functions which may be performed, in order to help
  273.           encourage payment for the program.
  274.            
  275.                Pressing any key will move you from the title page screen to
  276.           the main menu screen.  This screen has four major functions which
  277.           may be selected using the arrow keys.  Each function is discussed
  278.           below. 
  279.  
  280.  
  281.           The Configuration File
  282.  
  283.                Version 1.01 of  BCAST supports a simple  configuration file
  284.           to help automate and customize program operation.  This file must
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.                                                                           6
  292.  
  293.           be located  in the same directory as BCAST.EXE.   The name of the
  294.           configuration  file is  "BCAST.INI".  At  the present  time, this
  295.           configuration  file supports  two commands:  MASK and  GRAPHSTEP.
  296.           Each of these commands will be described below.
  297.  
  298.                The MASK command  is used by  BCAST to determine what  files
  299.           will be  displayed when  selecting SGDB  files to  process.   For
  300.           example,  the  daily  SGDB  reports  commonly have  the  filename
  301.           extension ".dly"  (ex. 92-02-14.dly) to  distinguish SGDB reports
  302.           from other files.  The default  MASK parameter "*.dly" will force
  303.           BCAST  to  select only  those  files which  contain  the filename
  304.           extension ".dly" from your disk.
  305.  
  306.                The MASK parameter  can also contain drive  and/or directory
  307.           structure  information.    This  is  very  useful  if   you  have
  308.           established a separate data  directory for the SGDB reports.   If
  309.           for example,  your BCAST  software was  located in the  directory
  310.           "C:\bcast"  and  your data  directory  storing  all of  the  SGDB
  311.           reports was located  in "C:\bcast\daily", you could  inform BCAST
  312.           to   use  the   data   directory   by   specifying  a   MASK   of
  313.           "C:\bcast\daily\*.dly".  Thereafter, whenever you want to process
  314.           another SGDB report,  all you would need to do is  run BCAST.  It
  315.           would automatically select your data directory.
  316.  
  317.                The GRAPHSTEP configuration  command is associated  with new
  318.           graphics  commands  imbedded  within  the   routines  which  draw
  319.           graphical  charts of  the various  solar  geophysical quantities.
  320.           Version 1.01 of BCAST permits  movement within the database  when
  321.           displaying graphs  of data  on-screen.   Using  the PAGEDOWN  and
  322.           PAGEUP  keys, you  can  move  forward  or  backward  through  the
  323.           database  to graphically  view different  periods of  time.   The
  324.           GRAPSTEP command determines how many days  forward or backward to
  325.           advance when using PAGEDOWN or PAGEUP.  The default  given in the
  326.           "BCAST.INI" configuration file is  35.  That is, BCAST  will move
  327.           through the database +/-  35 days at a time.   This is equivalent
  328.           to advancing by half a screen  forward or backward (one graphical
  329.           chart on-screen can contain up to 70 days worth of data).
  330.  
  331.  
  332.           The BCAST Environment Variable
  333.  
  334.                Version 1.01  supports  the definition  of  the  environment
  335.           variable "BCAST".   This variable should contain the  location of
  336.           the BCAST software.  Specifically, it  must contain the full path
  337.           to the BCAST.EXE and BCAST.INI files.  For example, if your BCAST
  338.           software  is  located  in  the  directory "C:\bcast",  then  your
  339.           AUTOEXEC.BAT   file    should   contain    the   command:    "SET
  340.           BCAST=C:\BCAST".
  341.  
  342.                Using this environment variable, you will be able to execute
  343.           BCAST from any directory in your computer.  This was not possible
  344.           with version 1.00 of BCAST.
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.                                                                           7
  352.  
  353.  
  354.  
  355.           Processing Data Sets
  356.  
  357.                This section of  BCAST was completely rewritten  for version
  358.           1.01 in order to enhance and  simplify the processing of datasets
  359.           by  BCAST.   It provides  a powerful interface  and will  let you
  360.           selectively  process any number of  SGDB reports for inclusion in
  361.           the database or for viewing on-screen.
  362.  
  363.                To process data sets from the main menu of BCAST, select the
  364.           "Process Datasets" option.  A screen  will appear showing you the
  365.           names of the files BCAST identified with the MASK parameter given
  366.           in the configuration file.   If no files match, the statement "No
  367.           Files Selected"  will appear  on the  bottom of  the screen.   If
  368.           files are selected, they will  be sorted from left to right,  and
  369.           top to bottom.  One screen can display up to 72 files at a  time.
  370.           If  BCAST  identifies more  than 72  files,  it will  display the
  371.           remaining files  on additional  screens after  you have  finished
  372.           processing the desired files from the current screen.
  373.  
  374.                To select a file for processing, use the arrow  keys to move
  375.           the screen cursor over the file you  wish to process.  Then press
  376.           the SPACE-BAR.   The first file you select in this manner will be
  377.           identified on-screen by  the appearance  of red "#01:"  preceding
  378.           the filename.  The second file  you select will be prepended with
  379.           a red "#02:" and so on.  You can select up to 72 files to process
  380.           on-screen  in this manner.   Each  will be  numbered accordingly.
  381.           The  importance  of  this  numbering  scheme  will  be  explained
  382.           shortly.
  383.  
  384.                After  you  have finished  selecting  the files  to process,
  385.           press  ENTER.   BCAST  will process  all  of the  files you  have
  386.           selected  in the order  you selected them.   If any  of the files
  387.           being processed are corrupt, BCAST will replace its corresponding
  388.           number with "BAD:" so you can identify those files which may need
  389.           to  be repaired  or  replaced.   If  all  goes  well, BCAST  will
  390.           continue processing the files until all selected files have  been
  391.           processed.
  392.  
  393.                After  all  of the  files  have been  processed,  BCAST will
  394.           display the next screenful of files matching the  MASK parameter.
  395.           If all of the files have been selected, BCAST will return  you to
  396.           the main menu.
  397.  
  398.                Please note that registered copies of BCAST  will attempt to
  399.           archive  all  selected  files  to  the  database.    During  this
  400.           procedure, some files may process faster than others.  The reason
  401.           for this  is due to the fact that  BCAST maintains a fully sorted
  402.           database.   When it  attempts  to archive  a new  dataset to  the
  403.           database, it re-sorts the database.  Therefore, if you process an
  404.           SGDB report  that has a date near the  end of the database, BCAST
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.                                                                           8
  412.  
  413.           will process it relatively quickly since very little sorting will
  414.           need to  be done.  On  the other hand,  if you process  a dataset
  415.           that has an  old date,  BCAST may need  to re-sort a  significant
  416.           fraction of the database.  The speed with which BCAST is  able to
  417.           process files into  the sorted database  will also depend on  the
  418.           size of the database.
  419.  
  420.                You need not worry about selecting or processing files which
  421.           already exist in your database.   BCAST will not overwrite or add
  422.           datasets to the database if they already exist.  If you happen to
  423.           select and  process a  file which  is already  contained in  your
  424.           database, BCAST will simply  skip over that file and  assume that
  425.           it has already been processed.
  426.  
  427.                Knowing how  BCAST processes  selected files  enables us  to
  428.           understand  why the numbering  scheme is important.   Since BCAST
  429.           maintains a fully-sorted database, you can significantly speed up
  430.           the  processing of large numbers of datasets if you try to select
  431.           files in a sorted sequence.  For example, if you need  to process
  432.           files dated 10,  11, and 12 February, you would  select the files
  433.           so that the  first file selected is  for 10 February, the  second
  434.           file  selected is for 11 February,  and the last file selected is
  435.           for 12  February.   If you selected  these files  in the  reverse
  436.           order, BCAST would have to sort the database unnecessarily.
  437.  
  438.                Unregistered copies of BCAST will not attempt to archive the
  439.           selected files to  the database.  Instead,  unregistered software
  440.           will only load  the selected files  for on-screen review.   It is
  441.           important to remember  that in  both registered and  unregistered
  442.           versions  of BCAST,  the last  file loaded  will be the  only one
  443.           resident in memory for reviewing on-screen.
  444.  
  445.                To  deselect a  file  which you  have  already selected  for
  446.           processing, simply move the cursor over top of the file you  want
  447.           to deselect and press the SPACE-BAR.   The number associated with
  448.           that selection will  be deallocated.   The rest of the  selection
  449.           numbers will automatically be reassigned to remain contiguous.
  450.  
  451.                An additional feature which can  be accessed while selecting
  452.           files  to  be  processed,  is  the  ability to  change  the  MASK
  453.           parameter.   On the  bottom left-hand corner  of the screen  is a
  454.           "Mask=" statement.   The current value  of the MASK parameter  is
  455.           printed in this area.  If the length of the MASK parameter is too
  456.           large to be fully printed on-screen, it will be  truncated at the
  457.           appropriate location  and a  ~ symbol will  be appended.   The  ~
  458.           symbol  informs you that  truncation was performed,  and that the
  459.           entire MASK parameter cannot be printed on-screen.
  460.  
  461.                To change the  MASK parameter  while selecting files,  press
  462.           the "M"  key (for Mask).  A  cursor will immediately appear after
  463.           the  "Mask="  statement.   Simply  type  in your  new  path using
  464.           whatever drive,  directory, and/or  wildcard information  that is
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.                                                                           9
  472.  
  473.           necessary.  When  finished, press  ENTER and the  screen will  be
  474.           redrawn with the files that match the new MASK parameter.
  475.  
  476.                Changing the MASK  string from within BCAST  does not affect
  477.           the value of the MASK given  in the configuration file BCAST.INI.
  478.           Modifying the MASK value from within BCAST is only temporary.  As
  479.           soon as you re-run BCAST, the MASK will once again be loaded with
  480.           the value given in the configuration file.  If no MASK command is
  481.           given within the configuration file,  the default string used for
  482.           the MASK is "*.dly".
  483.  
  484.                You  may  exit the  file  selection  screen at  any  time by
  485.           pressing the ESCape key.  This will immediately return you to the
  486.           main menu, even if files were selected to be processed.
  487.  
  488.  
  489.           Displaying Data Sets On-Screen
  490.  
  491.                After a SGDB dataset has been  loaded from disk into memory,
  492.           you may  choose to  display the  data on-screen  in a  friendlier
  493.           format.  The  second  main  menu  function,  "Display  Data  Set"
  494.           provides  you with this capability. 
  495.            
  496.                This feature automatically decodes the various acronyms used
  497.           in the textual SGDB reports and displays their meanings on-screen
  498.           in laymans terms.  It provides screenful upon screenful of useful
  499.           information regarding  the dataset  by interpreting the  contents
  500.           and explaining or displaying them. 
  501.            
  502.                The first and possibly second screens displayed by BCAST are
  503.           summaries of the  warnings and  alerts which were  active at  the
  504.           time the  SGDB data  set was  compiled at  the Solar  Terrestrial
  505.           Dispatch.  These warnings  and alerts which are displayed  do not
  506.           go  into any significant  detail.  In  fact, this section  of the
  507.           SGDB report is  the only  section which is  not copied  verbosely
  508.           into the computer during  the processing phase.  In  other words,
  509.           the details of each warning and/or  alert are not processed.  The
  510.           reason for this  is to  keep the  BCAST database file  down to  a
  511.           minimal size.   The smaller  each BCAST database  record is,  the
  512.           more information  you will be able to store  in a given amount of
  513.           disk  space.   If all  of the  possible details of  every various
  514.           warning  and alert were processed, each  database record would be
  515.           much larger than needed,  more difficult to process and  would be
  516.           wasteful  with  disk  space.   All  that  is  really required  is
  517.           knowledge of the  basic warnings and  alerts which are in  effect
  518.           during each day.  The details of the warnings or alerts aren't as
  519.           important.  If the  details are important, you are  encouraged to
  520.           obtain  one  of  the  extensive  monthly  summaries  of  activity
  521.           produced by the Solar Terrestrial  Dispatch, as made available on
  522.           our computer BBS system and through anonymous FTP.
  523.            
  524.                The screens following  the warnings and alerts  summarize in
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.                                                                          10
  532.  
  533.           great detail  the data  which was  loaded from  the textual  SGDB
  534.           report.  All of the various indices are listed.  Many of them are
  535.           interpreted for you so you can better understand their meaning. 
  536.            
  537.                This  feature  may  be  executed  by   those  who  have  not
  538.           registered the BCAST software package with us. 
  539.  
  540.  
  541.  
  542.           The Archive and Analysis Menu
  543.  
  544.                The  third function  of the  BCAST main menu  represents the
  545.           heart of  BCAST:  the archive and analysis  features.  This is an
  546.           extensive  menu  containing  all of  the  functions  necessary to
  547.           maintain the    database,  archive  new data  to  disk,  generate
  548.           reports, and graphically analyze the data in the database. 
  549.            
  550.                In order to encourage payment for this program, this section
  551.           of  BCAST may be viewed but cannot be  used by those who have not
  552.           registered their copy of BCAST with us.   In order to develop and
  553.           maintain your own database of records,  you will need to purchase
  554.           your copy  of the program by sending a  cheque or money order for
  555.           $35.00 in either Canadian or U.S.  funds to the Solar Terrestrial
  556.           Dispatch  (our  address was given  in "Registering BCAST" section
  557.           of this manual).  After your  unique registration number has been
  558.           returned to you with the simple instructions for making your copy
  559.           of BCAST a  registered copy, you will  be able to access  and use
  560.           this section of BCAST at your leisure. 
  561.  
  562.  
  563.           Saving Loaded Data Sets to the Database
  564.  
  565.                BCAST  expects  to  find  its  database  file  in  the  same
  566.           directory as  the executable  BCAST file (BCAST.EXE)  and with  a
  567.           filename of "DATASETS.DAT".  If  the environment variable "BCAST"
  568.           is not used  and you execute BCAST in a directory where this file
  569.           does not exist, BCAST will not  use the database.  This behaviour
  570.           allows   you  to   maintain  separate   databases  in   different
  571.           directories.   To use  a specific  database, simply  move to  the
  572.           directory containing the database and execute  BCAST.  If you are
  573.           only maintaining one database,  it is usually most  convenient to
  574.           set the environment variable BCAST to  the path of your BCAST.EXE
  575.           and associated files (data files may be located elsewhere, as was
  576.           described  earlier).   Using  the  environment variable  lets you
  577.           execute and use BCAST from anywhere on your system.  
  578.  
  579.                Before this option can be executed, a dataset must be loaded
  580.           into memory.   After you have  loaded a dataset into  memory, you
  581.           may archive that dataset to your  database file using this option
  582.           of the  Archive Menu.  To execute  this option, simply select the
  583.           "Save Data Set"  option in the Archive Menu using the Up and Down
  584.           arrow keys.   Alternatively,  you may  select this  menu item  by
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.                                                                          11
  592.  
  593.           pressing  the  corresponding  letter associated  with  that  menu
  594.           choice.
  595.            
  596.                Before writing the new data set  to the database file, BCAST
  597.           checks to make sure that  no other records in the database  match
  598.           the  one you are attempting to archive.   If it finds a record in
  599.           the   database  with  the  same  date  as  the  dataset  you  are
  600.           attempting to archive,  a warning  is displayed on-screen  giving
  601.           you  three   options.   You may  overwrite the  record, which  is
  602.           useful  when  you need  to  correct or  modify a  record  in your
  603.           database.   You may skip  the record, which  will force  BCAST to
  604.           write the  dataset to  the database.   In this  case, nothing  is
  605.           overwritten.  New  space within the  database is created for  the
  606.           dataset you are saving.  If this  option is chosen, there will be
  607.           two records  in your  database with  identical dates.   The  last
  608.           option lets you  abort the  save procedure altogether.   In  this
  609.           case, the database is left unchanged.  Nothing is written  to the
  610.           database. 
  611.            
  612.                When  BCAST  saves   datasets  to  the  database   file,  it
  613.           automatically archives the dataset fully sorted with the existing
  614.           records in  the database.   It  sorts the  database according  to
  615.           dates.   For this  reason, records  which are  archived near  the
  616.           "front" of the database (ex.  a dataset which has a  date earlier
  617.           than  anything  presently  existing in  the  database)  will take
  618.           longer to save to  disk than a dataset which has  a date close to
  619.           the present date.   The sorting process  occurs sequentially from
  620.           the  lowest  to the  highest  dates.   That  is, a  dataset dated
  621.           January 1, 1992  would appear BEFORE  a dataset dated January  2,
  622.           1992.  Conversely,  a dataset dated  December 31, 1991 (note  the
  623.           year) would appear  BEFORE the  datasets dated January  1 and  2,
  624.           1992 in the database file. 
  625.            
  626.                This automatic sorting  feature significantly simplifies and
  627.           speeds up many of the functions available with BCAST. 
  628.            
  629.                If the dataset is successfully archived to  the database, an
  630.           "operation successful"  message is displayed on your  screen.  If
  631.           an  error occurs,  you may be  returned to  DOS depending  on the
  632.           severity  of the error.  All disk errors result in a  Fatal Error
  633.           message which immediately returns  you to the DOS prompt  with an
  634.           explanation. 
  635.  
  636.  
  637.           Loading a Dataset from the Database
  638.  
  639.                This option loads a dataset which you previously archived to
  640.           the database.   Using this option, you can examine  (via the main
  641.           menu option "Review Data Sets")  the conditions and indices which
  642.           were observed for any date contained in your database file. 
  643.            
  644.                You are simply prompted for the date of the dataset you wish
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.                                                                          12
  652.  
  653.           to  load  from the  database.    After specifying  a  date, BCAST
  654.           searches  through  the  database  until  it finds  the  requested
  655.           dataset.  If  the date you specify is either invalid or cannot be
  656.           found in the database,  an error message is displayed  which then
  657.           returns you to  the Archive Menu. 
  658.            
  659.                This option has a secondary effect  which may not be clearly
  660.           apparent at first.   When BCAST graphically analyzes the datasets
  661.           in the database  file, it always attempts  to graphically display
  662.           the various datasets  with respect to  the date of the  currently
  663.           loaded dataset. In other words, all  graphs or charts produced by
  664.           BCAST will  be displayed so  that the LAST  line of the  graph or
  665.           chart is the graph line  of the dataset which you  have currently
  666.           loaded in memory.   If you do not have a  specific dataset loaded
  667.           in memory, all  graphs are produced with the last  dataset of the
  668.           database (ex. the  most recently  archived dataset) displayed  as
  669.           the last graph line on the screen. 
  670.  
  671.                To better explain this feature,  let's assume that you  have
  672.           200  datasets   archived  to  your  database  and   you  wish  to
  673.           graphically analyze them.   Since BCAST can only fit  70 datasets
  674.           on-screen at one time, it is necessary to select a portion of the
  675.           200 datasets to graphically analyze.  One way to achieve this  is
  676.           by loading datasets for specific dates into memory.  If a dataset
  677.           is  loaded  into memory,  the date  of  that dataset  is  used to
  678.           determine  which  portion  of  the  200 datasets  to  graphically
  679.           display on-screen.   For  example, if  the 200  datasets in  your
  680.           database were sequentially dated from January 1, 1991 to July 19,
  681.           1991 (200 consecutive days), and you loaded a dataset into memory
  682.           which was  dated March  11, 1991,  BCAST  would only  graphically
  683.           analyze the datasets  from January 1, 1991 to March  11, 1991 (70
  684.           days).  The  dataset for March 11,  1991 would be the  last graph
  685.           line  displayed  on-screen.     Similarly,   if  you  wanted   to
  686.           graphically display  the last  70 datasets  on-screen, you  would
  687.           load the dataset which was dated July  19, 1991 into memory.  All
  688.           graphical charts produced by BCAST follow this procedure.
  689.  
  690.  
  691.           The Graphical Analysis Options
  692.  
  693.                BCAST provides a  set of  valuable graphical analysis  tools
  694.           which  will help  you  better analyze  the cyclical  behaviour or
  695.           other parameters of the datasets in your database. 
  696.  
  697.                Almost all of the various data contained in the SGDB reports
  698.           can be graphically  analyzed using BCAST.   The only items  which
  699.           are  not  analyzed  are  the  Boulder  and  Planetary  K-indices.
  700.           Additional software to graphically display  the K-index data will
  701.           soon be available from the Solar Terrestrial Dispatch.
  702.  
  703.                To  analyze  a  specific  set  of  data,  simply select  the
  704.           appropriate  option from  the Archive  Menu  and press  ENTER, or
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.                                                                          13
  712.  
  713.           press  the  corresponding  letter  associated  with  the  desired
  714.           function.
  715.            
  716.                BCAST produces two  types of  graphical charts depending  on
  717.           what type of  data you are analyzing.   Linear data, such  as the
  718.           10.7 cm solar radio flux or the geomagnetic data, use  the linear
  719.           graphical functions.   Other datasets such as the  proton fluence
  720.           or x-ray statistics  are analyzed  and graphed using  logarithmic
  721.           graphical charts.  This significantly  improves the detail of the
  722.           graphs. 
  723.            
  724.                There are several important functions  which can be executed
  725.           while graphs of datasets  are displayed on-screen.  The  first is
  726.           the ability to move  through the graph, line  by line, using  the
  727.           left  and right arrow keys.   As you use the arrow keys, each new
  728.           graph line you move to is highlighted.  Using the left arrow keys
  729.           moves  the  highlighted area to  the left.   The right arrow  key
  730.           moves the highlighted area  to the right.  In  addition, the date
  731.           of  the   highlighted  graph  line  as well  as  the exact  value
  732.           producing that line  is displayed  at the bottom  of the  screen.
  733.           This lets you examine each line of the graph in detail.
  734.  
  735.                Version  1.01  of BCAST  also  permits examination  of other
  736.           parts of the database while viewing graphical images.  The PAGEUP
  737.           and PAGEDOWN keys shift  the graphs being viewed by the number of
  738.           days  defined  in  the BCAST.INI  configuration  file  (under the
  739.           GRAPHSTEP command).  The default is 35 days, which results in the
  740.           graphs shifting  half of a screen left or  right each time one of
  741.           these  keys  is pressed.   You  can  force BCAST  to move  to the
  742.           beginning of the database by pressing the HOME key.  You can also
  743.           display the last  70 days contained  in the database by  pressing
  744.           the END key.
  745.            
  746.                Another  useful  function  which  can  be executed  while  a
  747.           graphical  chart  is  displayed,  is  the  ability  to  save  the
  748.           currently displayed graph  to a text ASCII file on disk.  After a
  749.           graph has  been saved to disk, you can print  it out on a printer
  750.           or transfer them electronically to other locations.
  751.            
  752.                To invoke this  disk saving function, simply  press "S" (for
  753.           "S"ave) while any  graphical chart is  displayed on-screen.   The
  754.           screen will immediately be converted to ASCII format and saved to
  755.           disk under the file  name "GRAPH.TXT".  Each time you  press "S",
  756.           the  graphical  chart  displayed  on-screen  is APPENDED  to  (or
  757.           written to the end of) the GRAPH.TXT file.  This lets you compile
  758.           an extensive set of graphs simply by  graphically analyzing those
  759.           datasets  you need  and pressing  the "S"  key.   After  you have
  760.           finished and exited the BCAST program  to the DOS prompt, you may
  761.           display the  GRAPH.TXT file,  edit it  using your  favourite word
  762.           processor, print it  out, transfer it  elsewhere, or do  whatever
  763.           you see fit to do with it. 
  764.            
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.                                                                          14
  772.  
  773.                To  continue to view  other datasets,  press ENTER  when you
  774.           have finished viewing a  specific graphical chart.  To  abort the
  775.           procedure and return to the archive menu, press the ESCape key. 
  776.  
  777.  
  778.           Generating an Activity Summary Report
  779.  
  780.                This  option  of  the Archive  Menu  analyzes  the currently
  781.           loaded  dataset  and   writes  a  summary  report   to  the  file
  782.           "SUMMARY.TXT" on  disk.   All of  the indices  contained in  that
  783.           dataset are written to the file,  along with the various warnings
  784.           and  alerts which  were in  effect, etc.   This report-generation
  785.           feature is most useful when data from the SGDB reports are  to be
  786.           distributed throughout an  organization,  or transferred to other
  787.           locations through e-mail  or modem.   This is also an  invaluable
  788.           tool  for producing hard-copy  summaries of the  dataset you have
  789.           loaded  in  memory.    It  may  then  be  filed  away for  future
  790.           reference. 
  791.            
  792.                If the file  "SUMMARY.TXT" already  exists when you  execute
  793.           this function, the contents of the  file will NOT be overwritten.
  794.           All information is  appended to the  SUMMARY.TXT file.  You  will
  795.           therefore be able to  store multiple summaries in a  single file,
  796.           if so desired. 
  797.  
  798.                The  summary  file   is  created  in  the   current  working
  799.           directory, not in the directory where the BCAST files are stored.
  800.  
  801.  
  802.           Generating a Standard SGDB File & Modifying Records
  803.  
  804.                BCAST  has  the   ability  to  recreate  a   standard  Solar
  805.           Geophysical Data  Broadcast format file.   This  is an  important
  806.           function  if you need  to modify certain  indices or values  of a
  807.           specific dataset in your archive. 
  808.            
  809.                To  use  this feature,  you must  have  a dataset  loaded in
  810.           memory (either using the  first option of the Main  Menu [Process
  811.           Data Set], or  the second option of the Archive Menu [Load a Data
  812.           Set]).   After a dataset  has been loaded  in memory, a precisely
  813.           formatted SGDB file can be created using this function. 
  814.            
  815.                Why would you  need to create  a standard  SGDB file in  the
  816.           first place?   There are  a number of reasons.   You may  need to
  817.           transfer a specific dataset you have in your archive to a  friend
  818.           who is missing that  particular dataset.  You could  transfer the
  819.           SUMMARY.TXT file, although this file is not in the correct format
  820.           to be processed by others using  BCAST.  Using this function, you
  821.           can recreate a copy of the SGDB for any dataset in  your archive,
  822.           which may  then be  shared  with others  who are  using BCAST  to
  823.           archive and analyze data.  
  824.            
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.                                                                          15
  832.  
  833.                One of the primary reasons for requiring this function is to
  834.           permit  the  easy  modification  of  specific  datasets  in  your
  835.           database.  For example,  lets assume that one of your datasets in
  836.           your database is corrupt.  Lets say that one of your  datasets in
  837.           your database has  a bad value for  the 10.7 cm solar  radio flux
  838.           and  you need to  correct it.   All you need  to do  is load that
  839.           dataset into memory using  the second option of the  Archive Menu
  840.           (Load a  Data Set),  and generate a  standard SGDB file  for that
  841.           dataset.   The incorrect 10.7 cm  solar radio flux value  will be
  842.           written  to  the SGDB.TXT  file.    Simply exit  BCAST,  edit the
  843.           SGDB.TXT file  to correct  the 10.7  cm solar  radio flux  value.
  844.           Then  reload  BCAST,  reprocess the  SGDB.TXT  file  so  that the
  845.           corrected dataset  is reloaded  into memory  (using the  "Process
  846.           Data  Set"  option of  the  Main  Menu), and  save  the corrected
  847.           dataset to your database using the  "Save Data Set" option of the
  848.           Archive Menu.    BCAST  will  detect  the  corrupted  dataset  by
  849.           realizing that the  dataset you have  loaded into memory has  the
  850.           same date as the  bad dataset in your archive.   It will then ask
  851.           whether or not  you want to overwrite the dataset.  By responding
  852.           so  that  BCAST   overwrites  the  incorrect  dataset,   you  can
  853.           effectively correct the bad solar flux value in your database.  
  854.            
  855.                This procedure can  be carried out for any  of the values in
  856.           your database.   It is a quick  and easy method of  modifying any
  857.           dataset  in  your archive.    To  summarize,  simply extract  the
  858.           dataset you  need to  correct to  a standard  SGDB file,  edit it
  859.           using a word processor, reprocess it using BCAST and resave it to
  860.           your  database  file  using  the  "O"verwrite option  which  will
  861.           appear.
  862.            
  863.                This function  will not overwrite  any existing data  in the
  864.           SGDB.TXT file if  it already exists  when you attempt to  produce
  865.           the standard  SGDB file.   All data is  appended to  the SGDB.TXT
  866.           file.  You may therefore create multiple SGDB reports in a single
  867.           file, if desired.
  868.  
  869.  
  870.           Dumping Data Sets to an ASCII File
  871.  
  872.                This powerful function lets you  dump the entire contents of
  873.           your database to a text ASCII  file with the name "DATASETS.TXT".
  874.           Use this function with  caution, since very large text  files can
  875.           be created in the process.  
  876.            
  877.                During this procedure, BCAST runs through your database file
  878.           multiple times, extracting each of the datasets from the database
  879.           and saving them  to the  DATASETS.TXT file.   The resulting  text
  880.           file is a  well-ordered, fully sorted, textual  representation of
  881.           every set of data in your database.  
  882.            
  883.                This feature becomes particularly important when you need to
  884.           analyze the data  externally using  something like a  statistical
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.                                                                          16
  892.  
  893.           computer program, a data plotter, or  a spreadsheet.  Also, since
  894.           the data is dumped  in a pure ASCII format, you can edit the text
  895.           file and extract only the information you require.
  896.  
  897.  
  898.           Deleting Data Sets from the Database
  899.  
  900.                The  only  other  function   required  to  provide  complete
  901.           management control  over your  database is  a method  of deleting
  902.           datasets from your database.  That is the purpose of this Archive
  903.           Menu function.  
  904.            
  905.                To  delete  a  specific dataset  from  your  archive, simply
  906.           select this function.  BCAST will prompt  you for the date of the
  907.           dataset to delete.   After typing in the date,  BCAST will search
  908.           through the database  until it  finds a dataset  with a  matching
  909.           date.    It will  then  request confirmation  from  you.   If you
  910.           respond in  the affirmative, BCAST  will delete the  dataset from
  911.           your database.   If you do not confirm deletion, BCAST will abort
  912.           the procedure and leave your database untouched.  
  913.  
  914.                It  is  important to  note  that  after you  have  confirmed
  915.           deletion, BCAST will delete ALL datasets  with dates matching the
  916.           one you supplied,  not only  the one which  BCAST first  detects.
  917.           Therefore, using this command you can delete accidental redundant
  918.           datasets from your  database (as can occur if you  save a dataset
  919.           to your archive which already exists).  
  920.  
  921.  
  922.           Returning to the Main Menu
  923.  
  924.                You can return from the Archive Menu to the main menu at any
  925.           time by either pressing the ESCape  key, or selecting the "Return
  926.           to  the Main Menu"  option.  When  running BCAST, the  ESCape key
  927.           serves as the "abort" key.  It  will abort almost any process and
  928.           return you to a menu. 
  929.  
  930.  
  931.           Exiting BCAST and Returning to DOS
  932.  
  933.                To exit BCAST  and return to  the DOS prompt, either  select
  934.           the "Exit Program"  command of the Main Menu or  press the ESCape
  935.           key at the  Main Menu prompt.   Either method will terminate  the
  936.           program and return you to the DOS prompt. 
  937.  
  938.  
  939.           The Batch Processing Feature of BCAST
  940.  
  941.                BCAST  provides a powerful  batch processing  function which
  942.           can  be  invoked  at  the  command  line.    This  function  will
  943.           automatically  process  large numbers  of  SGDB report  files and
  944.           archive them to  your database.  All SGDB files processed in this
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.                                                                          17
  952.  
  953.           manner are automatically  and accurately  saved to your  database
  954.           fully sorted.
  955.            
  956.                To execute this  command, simply run BCAST  with the command
  957.           line parameter "-b" (or "-B", it  is not case sensitive) followed
  958.           by  the name(s)  of  the  files  you want  to  be  processed  and
  959.           archived.  Wildcards in the filenames are permitted.  
  960.            
  961.                For example, to create a database file containing every SGDB
  962.           report having the  extension DLY,  you would simply  type: "BCAST
  963.           -B *.DLY" (excluding the parenthesis, of course) and press ENTER.
  964.           BCAST  will  automatically begin  processing and  archiving every
  965.           file containing the extension ".DLY".  As each file is processed,
  966.           its name is displayed  on-screen so you can monitor  the progress
  967.           of the  processing.  It does  not matter which order  you specify
  968.           files to be processed.  BCAST automatically sorts the database so
  969.           that all added datasets are placed in the proper position  in the
  970.           archive.
  971.  
  972.                During  the  batch processing  phase,  if BCAST  attempts to
  973.           process a dataset  which already exists in  your archive (ex.   a
  974.           dataset  with the  same  date), BCAST  discards  the dataset  and
  975.           processes the next file.   You may  therefore process a group  of
  976.           files without needing  to worry  about accidentally processing  a
  977.           duplicate dataset.  BCAST will not  batch process a dataset which
  978.           already exist in your database.
  979.            
  980.                After all of the files have  been processed, BCAST loads and
  981.           displays the title page, followed by the Main Menu, etc.
  982.  
  983.                Please  note that  the last  file processed  will reside  in
  984.           memory while BCAST  executes.   As a result,  if you  graphically
  985.           analyze  your  database  after  executing  the  batch  processing
  986.           feature,  the graphical charts will be displayed according to the
  987.           date  of  the last  dataset processed.    Consult the  section on
  988.           "Loading  a Data  Set  from the  Database"  for more  information
  989.           regarding this feature.  
  990.  
  991.                This feature  is only available to those who have registered
  992.           their copy  of BCAST  with us  (consult the  section "Registering
  993.           BCAST"  in  this  manual  or  the file  "REGISTER.DOC"  for  more
  994.           information regarding registration).  
  995.  
  996.  
  997.           Alternate Methods of Executing BCAST
  998.  
  999.                You can run BCAST  and process a textual SGDB dataset at the
  1000.           same time by executing  BCAST with an extra parameter  specifying
  1001.           the name  of the file to process.   For example, to execute BCAST
  1002.           and automatically process the file "SGDB.TXT" so that the dataset
  1003.           contained in that file is loaded  in memory, simply execute BCAST
  1004.           using the  command: "BCAST  SGDB.TXT".   This will  run BCAST  as
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.                                                                          18
  1012.  
  1013.           usual, but will force it to process the file SGDB.TXT before  the
  1014.           main  menu  appears.    This  may  speed  up  the  procedure  for
  1015.           processing and analyzing the dataset.
  1016.  
  1017.                Please note that  the dataset loaded  in this manner is  NOT
  1018.           archived to your  database.  It is  simply loaded in memory.   If
  1019.           you want to archive  the dataset to your database,  you will need
  1020.           to either include  the "-B" (batch  processing) parameter on  the
  1021.           command line  or use  the "Process  Dataset" option  of the  main
  1022.           menu.
  1023.            
  1024.                This function may be used on unregistered copies of BCAST.
  1025.