home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpmug / cpmug041.ark / MOONLOC.DOC < prev    next >
Text File  |  1984-04-29  |  5KB  |  107 lines

  1.             COMPUTER PROGRAMS FOR LOCATING THE MOON 
  2.  
  3.                     EIMAC DIVISION OF VARIAN 
  4.                        301 INDUSTRIAL WAY 
  5.                      SAN CARLOS, CALIFORNIA 
  6.  
  7.      In  two  previous  issues  of the Eimac EME notes, methods
  8. were described for determining antenna aiming data to "hit" the
  9. moon.  In bulletin AS-49, there was a reprint of an article  by
  10. Don Lund, WA0IQN, an article by Victor Michael, W3SDZ, and some
  11. letters  to  the  technical  editor  of QST from Alan Goodacre,
  12. VE3BZS, all  discussing  antenna  aiming.   Also,  in  bulletin
  13. AS-49-1   more   information  on  aiming  data  was  presented.
  14. Bulletin AS-49-1 stressed the use of the Nautical  Almanac  and
  15. the  Hydrographic Office publication HO-214.  It is possible to
  16. determine  the  moon's  position  by   means   of   those   two
  17. publications  without  extensive  mathematics.  However, as one
  18. becomes more involved in the EME project,  the  habits  of  the
  19. moon  become  interesting.  Also, more sophisticated methods of
  20. tracking the moon become attractive.
  21.  
  22.      For those persons having  access  to  handheld  scientific
  23. calculators,   new  techniques  become  available.   For  those
  24. Amateurs having access to a computer, either punch-card  or  an
  25. active  terminal,  another  interesting  hobby  of  writing and
  26. modifying programs develops.
  27.  
  28.      In  this  issue  of  the  EME  notes,  four  programs  are
  29. presented  which  may be of interest.  One is in BASIC, two are
  30. in TYMSHARE SUPERBASIC and one in TYMSHARE SUPERFORTRAN.  As is
  31. usually the case, these  programs  will  probably  need  to  be
  32. modified  to  run  on  the  machine available to the individual
  33. amateur.
  34.  
  35.                     PROGRAM 1 [MOONLOC1.BAS] 
  36.                         LANGUAGE: BASIC 
  37.  
  38.      This program will run on  almost  all  machines  accepting
  39. BASIC.  The operator must put in data from the Nautical Almanac
  40. for  the  year,  month,  day  and  hours that the elevation and
  41. azimuth is desired.  Also, the latitude and  longitude  of  the
  42. geographic  location in question must be entered.  Statement 20
  43. allows the operator to put in the time  interval,  in  minutes,
  44. between each calculation.
  45.  
  46.      The origin of this program is not known.
  47.  
  48.                     PROGRAM 2 [MOONLOC2.BAS] 
  49.                  LANGUAGE: TYMSHARE SUPERBASIC 
  50.  
  51.      The  program  is  a  modified  version  of program 1.  The
  52. output format is slightly different.  Also, limits can  be  put
  53. on   the   azimuth  and  elevation  angles  at  the  operator's
  54. discretion.  The program requires latitude  and  longitude  and
  55. time  interval  inputs.   Also,  Nautical  Almanac data for the
  56. year,  month,  day  and  hours  must  be  put  into  the   data
  57. statements.   Statement 610 allows the operator to put the data
  58. in  for  identification.   The  computer  does  not  use   this
  59. statement in the calculations.  The computer will pause and let
  60. you  type  in  the  date.   When inserting the date, do not use
  61. commas for seperating the month, day, and year.  If you do, the
  62. computer will become confused.  When  the  carriage  return  is
  63. depressed the computer will carry on.
  64.  
  65.                     PROGRAM 3 [MOONLOC3.BAS] 
  66.                  LANGUAGE: TYMSHARE SUPERBASIC 
  67.  
  68.      This  program  was  originally  written  in BASIC by Lance
  69. Collister, WA3GPL.  However, the  BASIC  used  on  the  General
  70. Electric  terminal was sufficiently different from the TYMSHARE
  71. SUPERBASIC that the program would not run.  A few modifications
  72. were made to allow  the  TYMSHARE  machine  to  run.   What  is
  73. presented  here will not run on the GE computer.  Perhaps those
  74. who attempt to use this  program  will  have  to  make  further
  75. changes for their individual cases.
  76.  
  77.      The  program  is  very  useful  because no almanac data is
  78. required.  The program  allows  the  calculation  of  the  moon
  79. position  by  comparing back to the position of the moon at the
  80. start of the Julian calendar.  The operator need  put  in  only
  81. the  latitude,  longitude,  time interval, month, day, year and
  82. hours between which aiming data is  required.   If  rising,  or
  83. setting,   moon   calculations   are   required,  the  computer
  84. determines the time and will execute the printout requested.
  85.  
  86.                     PROGRAM 4 [MOONLOC4.FOR] 
  87.                 LANGUAGE: TYMSHARE SUPERFORTRAN 
  88.  
  89.      This program was supplied by Louis  Anciaux,  WB6NMT.   As
  90. received,  the  program  was on tape and written in FORTRAN IV.
  91. Again,  the  program  was  modified  to   run   with   TYMSHARE
  92. SUPERFORTRAN.   This  program  requires  nautical almanac data.
  93. However the GHA and declination for 0000, 0600, 1200, 1800, and
  94. 2400 hours GMT is all  that  is  required.   The  program  will
  95. interpolate  for  all  othe  times.   Of  course, the latitude,
  96. longitude, and time interval for the calculation must be  typed
  97. in.
  98.  
  99.                     PROGRAM 5 [MOONLOC5.BAS] 
  100.                   LANGUAGE: MITS ALTAIR BASIC 
  101.  
  102.      This  program  is  a version of Lance Collister's (WB7CCI)
  103. original moon tracking  program  written  in  GE  BASIC.   This
  104. particular  version  was modified by Jay Liebmann, K5JL, to run
  105. on a MITS Altair 8800B.  The program requires about 6700  Bytes
  106. of memory.
  107.