IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5290


Ignore:
Timestamp:
Oct 12, 2005, 8:19:04 AM (21 years ago)
Author:
eugene
Message:

dropping autocode stuff / moved to libautocode

Location:
trunk/Ohana/src/addstar
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/doc/notes.txt

    r5234 r5290  
     1
     22005.10.12
     3
     4  By friday (2005.10.07), I managed to get the update process
     5  working well, and tested it with some example data to demonstrate
     6  that the partial update improved speed hugely.  Saturday, I started
     7  to work on the client/server separation of addstar.  The first step
     8  was to test out socket communication issues.  I set up a simple
     9  client/server pair, in which one program listens on a socket while
     10  the client connects to the socket and sends some command.  I set up
     11  two autocode functions to send and receive complete structures
     12  (Send_*, Recv_*) and added these to libautocode.  I have been able
     13  to demonstrate sending Stars, Image, and Options to the server.
     14
     15  The next difficulty is in pulling out the command-line and
     16  configuration options.  My original, somewhat lazy, design over-used
     17  global variables to pass information between program sections.  This
     18  needs to be cleaned up, especially if the server needs to have
     19  multiple threads interacting with the db tables. 
     20
     21  Of the global variables that get set, some simply carry options on
     22  how gstars should behave when it loads the data (including the
     23  header interpretation information).  This can probably stay in the
     24  globals for now.  Another group are configuration information used
     25  only by the server-related functions, such as defining the location
     26  of the database files and their format, etc.  These can also stay as
     27  global, at least for now.  Another set of variables basically pass
     28  information from the client to the server on how to behave *this
     29  time*.  I have defined the AddstarClientOptions structure to carry
     30  these, and will pass them from the client to the server along with
     31  the stars and the image data.
     32
     33  Some outstanding issues:
     34
     35  sidereal time / latitude
     36
     37  I am carrying these as globals simply because the image structure
     38  did not have them.  This is silly: I can define them as part of the
     39  internal image structure without breaking any of the I/O issues. 
     40
     41  thiscode
     42
     43  I have been using this as a static photcode structure.  The
     44  Send_*/Recv_* mechanisms are better suited to simple structures.  I
     45  probably need to change this to just the code, and use the lookup
     46  functions to the full structures where needed.  It can be part of
     47  the options, and I should re-write functions which use it to accept
     48  the options as an argument rather than rely on it as a global.
     49
     50  mosaic
     51
     52  this stores the coords structure for a needed mosaic.  this should
     53  be kept, filled as needed by the client, and sent to the server with
     54  the image.  perhaps it can be moved out of global.
    155
    2562005.10.06
Note: See TracChangeset for help on using the changeset viewer.