Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Day 1: 12/06/22:

  • Transferred the DIMSUM code to my external hard drive. Any Mac Mini that was setup according to the Mac Mini Setup in this wiki will be able to use it. In the device open the terminal and run the command: 
    cd /Volumes/Ali Media/stubbs_code . After this, you can execute the desired script. The images will be saved in the directory stubbs_code which is in the external disk.
  • Failed to mount the camera. The clamp was not strong enough to hold the camera on its own.

Day 2: 12/07/22:

  • Mounted the camera using two clamps and an L rail. Clamped the L rail to the orange rail shown in DIMSUM presentation. The camera is stable in the vertical direction, but it is moves very easily in azimuthal direction. Currently this helps adjust the camera angle but we need a solution for the long term. The video clip shows that the camera is not affected by the rotation of the dome.
    Image ModifiedIMG_2144.MOVImage Modified
  • Mounted the pegboard to the railing and camera is in the same plane with the pegboard. It can see everything. We may need further stabilization of the pegboard on the other direction to avoid the tilt. The camera can see the entire pegboard without any barriers. It is a decent height above the ground. Attached below are the pegboard, the tilt, and how the camera sees it.
    Image ModifiedImage ModifiedImage Modified


Day 3: 12/08/22:

  • It was a day of unexpected problems. The telescope rotated and hindered the view of the camera and the angle. Craig had told us such a degree of rotation would not happen.
  • The instability of the camera makes it rotate in small disruptions which is a significant problem. I did some trials to see if the vibration caused by taking high speed pictures rotated the camera. Two runs of high speed pictures (22 pictures) did not seem to affect it. However, it may cause the same problem as the last time as Clay. In an hour of data taking and in the 1000'th photo, it may end up causing a significant shift and wrong differential image motion measurements. The picture below is the shifted and obstructed pegboard and camera when I looked at it first thing in the morning. The top left corner is affected.
    Image Modified
  • Looking at this. It different than the photo from the Yesterday's log. I noted this issue down and attempted to fix in the afternoon.
  • For the rest of the morning, I checked whether the camera was able to take pictures of flashlights and how did the sources look like. I will attach the Jupyter Notebook as well.
    • Sources looked compact (not as bad as the Clay Telescope hot air gun sources) but there were apparent ghosting effects. I checked whether the ghosting effects were significant or just an artifact of the colormap. When I plotted the values of the row of the actual sources it was Gaussian with peak 3598, and the when I plotted the row of the ghost it was also a gaussian with peak 1100. That is a very close.
    • We checked if:
      • The tilt of the pegboard was causing different focus throughout the shot because of the slight variation in distance. Turns out not and the small tilt actually puts the camera and pegboard in the same plane. I checked the focus in two ways:
        1. Zooming in on the sm1 light sources across the pegboard and see if they are blurry.
        2. Zooming in on the circles of the pegboard and see if they are circular.
        3. Both of the outcomes could be better but it was as good as the time I get decent sources in Clay telescope.
        4. Image Modified
        5. I note that the pegboard does not seem fully perpendicular on the screen. Elana and I had decided it was not the biggest of our problems.
      • The second possibility of ghosting was that the fibers were not tight enough with the SM1. To address that issue, I switched one of the SM1 sources with a plain bolt Elana used when she did this experiment. The sources were identical. So it was not a problem of SM1's. This makes sense because SM1's properly tight. However, this may require a recheck. Attached below is the SM1 and the bolt next to it, they are at the top left. Also this shows the obstruction more clearly:
        Image Modified
  • In the afternoon, we decided that the camera being very free to move and obstructed by the telescope was not okay. First we changed the location of the pegboard. That was a fairly easy fix. New location of the pegboard with optical fibers. It is one rail below than the picture in previous day. The reason we are not using the rectangular rails rather than the circular ones that they ended up being more stable with the clamps.
    Image Modified
    I could not take a picture of the unobscured view because a new problem arose.

The new problem: Camera does not take a picture of the flash sources anymore!

  • While we were trying to make the camera more stable, which is very hard to do.
    • The struggle of the camera stabilization (a digression): The set screw on the moving part of the clamp has to be loosened, then the clamp screw (the visible black knob) has to be loosened the camera has to point to the desired place. After pointing at the desired place, one must hold it while both the clamp and set screw is being tightened. If only one of them is tight then the camera moves from its intended location. Set screw alone makes it pretty stable, clamp by itself does not make it stable at all. The combination of them gets it in the stable position in the yesterdays log I mentioned. The azimuthal instability is still a problem and as it rotates azimuthally it gets loser. It is a positive feedback loop.
  • During the process outlined above we gave too much weight to the camera and clamp went down.
  • It also appeared that lens of the camera was loosened. It can be tightened by the set screws it has, however, the holes are too small and screws are flat head. Our flathead screwdrivers is not small enough to get in to these holes. We were still able to tighten it good enough.
  • When I tried to take pictures after all the corrections, the flashes did not appear in the photos. I applied the scientific method to find out what was wrong:
    1. Are all the components on. The easy fixes:
      1. The camera is pointing to the pegboard and Eos Utility live shooting shows the pegboard.
      2. The remote flash trigger is on.
      3. The remote receiver is on and is receiving the signal.
      4. The Xenon lamp is powered.
        These were all properly working
    2. Does the flashlight come out of the initial optical fiber before it reaches the filters? It does.
    3. Does it go through the filters successfully. I removed the filters from the apparatus to put filters between two optical fibers. ND 1.8 may have been too much to see the light. I saw that light travels through the apparatus.
    4. Does it reach to the end of 1 to 7 optical fiber. It does.
    5. Elana suggested that maybe the flashlight somehow got dimmer and and ND filter of 1.8 would be too much. Following that suggestion, I removed the ND filters and made the of apparatus simply a bypass. When I was going to run the test, I got kicked out of the dome because my time was up. Elana told me she still was not able to see the sources in the pictures with no ND filters. She also said she might have made a simple mistake. I will try again tomorrow.

Summary of the current situation after three days:

The logistical situation:

  • I have only 6 days left to get this done.
  • Hopefully I will be able to stay a few night next week and work on the project 17 hours rather than only 7 hours.

What is working or has worked before:

  • We found ways to mount the camera and pegboard without a tripod which would possibly disturb movement in the AuxTel Dome
  • We found ways to make the pegboard and camera face each other, above ground. It needs further stabilization.
  • We can take pictures of the flash sources and relatively make instant analysis with highly abstracted code.
  • The extension chords and the lengths of the connections (both optical fibers and the length of power chord of the Xenon lamp) makes it possible to wires to have an indirect path, such as under the gratings, and still get to their destination.
  • It is not interfering with the dome illumination system that Patrick and Parker are installing!
  • The data can be taken directly to an external disk without filling the memory of the computer (we need another external disk other than personal one).

What has to be fixed:

  • Firstly, the most importantly, we need to be able to take pictures of the flashlights again.
  • We need to stabilize the camera.
  • Figure out the focusing issue and make sure to get centeroidable sources.
  • Optionally add another type of support to pegboard.

Plan forward:

  • Fix the emergency fixes.
  • Add all the possible sources to the pegboard. The more the merrier.
  • Find out an ND filter combination that accounts for the divided light that have different brightness. The different brightness should not matter because we expect the shape to be the same as long as they are visible and not saturated.
  • Make sure we get a distribution of sources that makes the DIM value with respect to distance saturate so that we can correlate with fwhm of the observations when the time comes.
  • At this point it should be ready for further tests and data collection
  • Test whether the light from the sources affect the telescope dome.
    • If not:
      • Tie the optical fibers to the rail to address the trip hazard.
      • Run the cables under the grating.
    • If it is, try not to make it affect:
      • Either increase the value of the ND filters.
      • Put SM1 tubes to the sources and wiling to be sacrifice the number of sources.
    • If nothing works, do the server connection Tiago asked.

  • Once the test of dome interference is done, make a night test taking actual data and try to correlate the saturated differential image motion data with the fwhm.
  • Do not forget to enjoy the stars and the experience the Magellanic Clouds.

Day 4: 12/09/22:

  • The sources from the day before with ghosting effects before the camera and flashes get out of phase, for some reason camera did not take pictures of the flashes:
    Image ModifiedImage Modified
    I only was able to take a screenshot of the 4 sources but they give the essential idea. These images should not be considered other than observing that sources were initially not good. The left panels is the initial trial and right one is after a focus change. These trials made us realize that we need to fix the camera movement issue.
  • We tried to figure out why the photos were out of sync with the sources. We could not figure it out why it had worked before and stopped working. Then we just decided to average out any latency by just making the exposure 1/200 seconds rather than 1/2000. That made it work.
  • We remounted the camera and made it more sturdy. We discovered we cannot fully get rid of the azimuthal rotation since that is required to unscrew the camera from its mount. If the mount would not let it do that, then it would really be wrong design.
  • We reoriented the camera and its mount in a way that camera can be tightened, loosened, and moved much easier compared to previous style. Also, now the camera is sturdy enough to hold itself up by only tightening the big screw on its side. The set screw only gives additional security. In the images below it can be seen that the set screw is easily reachable.
    Image ModifiedImage Modified
  • I had designed the system in a way that the images are written directly into the external disk. That made the external disk and the program crash eventually. So now the images are stored in the internal disk and then transferred when the data collection is done. An hour of data collection approximately takes 60GB so if there is nothing else on the computer a 4 hour run will be possible before the computer runs out of memory. If needed, we may write a python script to automate the process. We also bought a solid state disk to avoid disk crashes.
  • We tested how much do the flashes from the circuit affect the observations in terms of background light. This was to determine whether we would need a server that communicates with the telescope. Below is a table of the runs we made. We took flats with and without the flashes on and compared the ADU. Auxiliary Telescope (AT) elevation of 20 degrees is the minimum it would get, that is also the closest height it would be to the flashing lights. AT azimuth of 215 is the most direct pointing of AT mirror to the flash light. The reason we took many trials was simply a failure to get ideal conditions such as screens being turned on.

    Exposure IDExposure Time (s)filterAT azimuthAT elevationflash (y/n)ND filtercomputer screen status
    1060none27020n0all on
    1160none27020y0all on
    1260none27020n1all on
    1360none27020y1all on
    1450none27020n1Ali, Elana screens off
    1550none27020n1all screens off
    1660none27020y1all screens off
    1730none27020n1Elana's screen on for a bit
    1830none27020y1all screens off
    1930none27020n1all screens off
    2030none21520n1all screens off
    2130none21520y1all screens off


    Overall results of the daytime testing were:

    • If there is no ND filter lights do have a significant affect.
    • With ND 1, which is way smaller than what we are going to have, the flashes do not cause additional background lighting that would possibly disturb the observations azimuth of 270 and elevation at 20. At azimuth of 215, flashlight do have an effect but it is still less compared to the typical background of 50 ADU.
    • We used 7 sources with ND1, in the actual setup, we will use an ND 1.6 filter. It will be true that there will be more sources, but the total light would be the same.
    • These suggest that we don't need to be concerned about DIMSUM affecting auxtel observations.
    • We will verify these numbers in a fully dark night dome.
    • We did not test shorter observations because AuxTel does not take shorter observations than 30 seconds "to do science" as Craig said.

  • We took data with the new fixed camera and the pegboard. Below are the sources with ND 1.6:
    Image Modified
    The bottom source looks very nice. Being able to get such a nice source shows that we have a focusing issue and pegboard and cameras line of sight may not be fully perpendicular. Also, brightness of the sources are different which should not be the case. In the Clay Telescope observations, I was able to get all the sources to some extent focused, however, they were closer to each other in the image space and on the pegboard itself. It is harder to keep focus on a wider range. That said, the sources are not saturated with the ND 1.6 filter. Below are the graphs of the nice source, the source above the nice one, and a dimmer source:
    Image ModifiedImage ModifiedImage Modified
    They all look Gaussian.
  • Finally, I took a picture of the pegboard just before I closed everything. I am going to do the same thing again on Monday and compare the two images. Below is the final picture.
    Image Modified
  • Things to do on Monday with priority different than the plan forward above:
    • Fix the pegboard orientation.

12/12/22: Day 5:

  • Wrote a script in the weekend to transfer initially internally written files to an external disk while keep taking data. It takes four arguments, path/to/source (where the files are internally saved), path/to/target (the directory of the external disk), file type, number of files to transfer after. That would let us write the files into the internal disk and transfer them over while keep taking more data and never run out of local memory. The video below is a demonstration with a threshold of 50 files. I wrote a dummy bash script to create files with increasing numbers and wrote it to a directory:
    Image ModifiedIMG_2319.MOV
  • There was a mild earthquake during the weekend. Nothing significant happened to the setup.
  • We further stabilized the pegboard. It still moves but is not completely like a sail.
  • Added additional sources by adding 1 to 4 optical fibers to the ends of 1 to 7 optical fibers. Some of the 1 to 4 optical fibers did not work anymore.
  • We technically should be able to get 18 sources. However, while some sources after being divided the 4 are sufficiently bright, others could barely be seen. I do not currently know the reason behind this problem.
  • Tomorrow will be the observing night of DIMSUM, Elana and I are dealing with ssh issues. I am trying to get access to the actual network rather than a guest.
  • Currently sources are not perfect Gaussians, some of them are decent. It may be a plane of focus issue.
  • If the issues are not fixed, I will only work with clearly seen sources, Get a mock DIMSUM run and hope for the best for a data that would be good for a paper.

12/13/22: Day 6:

  • Today was the final day before the observations.
  • Make the pegboard more stable by mounting onto ground from additional places.
  • Ran the test before, everything was successful.
  • The data was noisy, the night should be better.

The night of observing:

  • The sources and trials are documented in DIMSUM_observing_analysis.ipynb
  • The sources were out of focus and not all sources were identifed.
  • Tried to fix it as best I as I could. Seem to be having no doughnuts but sources are worse than the trial.
  • I will still try to run the analysis and see if there is anything significant. Source extractor does a pretty good job of identifying bad sources.

Notes from the observations themselves:

  • Transfer code works. The images are written to the internal disk and then transferred to the external disk.
  • Sources are consistent through 22:45 Chile time
  • The camera is moving to the left with a rate of 2 pixels for 500 frames, this was 488
  • Actually no turning left, the images started moving right, this is 1276
  • We may see huge differential image motion. Or it may cancel out in the COM frame.
  • We were taking 5 second exposures, from 11 until 322.
  • Started 1, 10, 30  second exposures with 323
  • Started 1, 5, 10, 30 second exposures with 326
  •  Frame 2110, still all sources detected.
  • Time 23:33, rotating the dome and taking pictures with the best exposure. Planning to take an additional hour of data after this.
  • 23:48 dome opened up more in addition to rotation.
  • 23:50, tried 3072, focus gone, going to run back.

  • Went up to dome and refocused. New data is in observe-readjust folder
  • We find decent sources but it looks like we have a significant shift to left. This time for real.
  • Will start taking flats at 1AM.
  • The source locations got fixed again. No left shift.

Flat file trials:

  • Took flat files with dome closed to see the background light. Here is the summary table for the night of 12/13/22:

    Exposure IDExposure Time (s)filterAT azimuthAT elevationflash (y/n)ND filtercomputer screen statuscount
    43560none27020n1,50all screens off4
    43660none27020y1,50all screens off4
    43760none21520n1,50all screens off
    43860none21520y1,50all screens off
    43960none31520n1,50all screens off
    44060none31520y1,50all screens off
    44160none27050n1,50all screens off
    44260none21550y1,50all screens off
    44360none27050n1,50all screens off
    44460none27050y1,50all screens off
    44560none31550n1,50all screens off
    44660none31550y1,50all screens off
    44760none21550n1,50all screens off
    44860none21550y1,50all screens off


    We were only able to check the count of the first two images, they were both approximately 4. The absolute difference was negligible, Tiago suggested dividing the flash pictures by non flash pictures.

Images From Different Times of Focusing from the night of 13/12/22:

  • The different centeroids will be available in the final jupyter notebook.
  • The fixed focus before the trials start:
    Image Modified
    That was the best I got at the limited time. It still gave decent sources.
  • Focus when I checked to see what went wrong around midnight:
    Image Modified
    At that point, it looked good which was shocking but it may have been slightly tilted. I readjusted the focus when I went up just in case.
  • The final state of the pegboard after readjustment:
    Image Modified
    I am aware I should have documented the final focus as well. I unfortunately did not. It had looked okay and I wanted to get out of the dome to not have any background light while the observations were running.
  • A possible camera issue: The camera names files from 0 9999. After it reaches 9999 it goes back to 0. If we get more than 10000 photos in a run, that may be a problem because the files with the same name will be in the same directory. I can try to write a python script to add some sort of an additional extension or time stamp to the names of the file.

Observation notes after and during analysis:

  • With the excitement of last night, I had confused the meaning of the location of an object in terms of rows and columns to x and y.
  • This means we have the camera shaking up and down, the row values are oscillating, but the columns are decreasing. Which means the image is moving left because the camera is rotating more right.
  • Remark, these are unofficial notes while making the analysis. I am documenting the entire thought process as Chris Stubbs did in strobed analysis page.

Jupyter notebook for the night of observation:

Image ModifiedDIMSUM_observing_analysis.ipynb


12/14/22: Day 7:

  • Plan for the day:
    •  Take the time stamps of all the files, reorganize the files in a way that we only use good files.
    •  Make it very clear in jupyter notebook what I did.
    •  Back all the data up into the cluster
    •  Run the analysis.
    •  If additional time, work to make DIMSUM sturdier.
  • Writing the following the next day (12/15/22)
  • Ran the analysis and the graphs are available in the jupyter notebook.
  • Overall, the data does not seem to useful, as the sources get worse, the differential motion measured increased. I did several cuts to data with respect times of source quality. As the time passes (and source quality decreased) the differential image motion was simply more. I do not know if it can be trusted. I still have all the datas in the csvs.
  • At the end of second run we have a lot of dark files, when I checked the hardware out today it seemed fine.
  • We attempted to make both the camera and the pegboard more sturdy.
    • Mounted the camera directly on top of the L rail. It is harder to adjust but more sturdy. Such a mount made the camera higher than before and unable to tilt. To address that we moved the pegboard up. Today we will see whether the higher pegboard will be blocked by the telescope. Telescope was not able to rotate last night.
  • We debugged the focusing and ghosting issue with continuous light sources. Even in the most focused case, the sources seem to have ghosting affects. The ghosting did not get fixed when we relieved pressure from the optical fiber, changed the location of the source in the pegboard, or how far we put through the fiber to the thing it's holding, or whether we are using sm1 holders or what Elana had used in her previous setup. Here are examples of ghosting we see:
    Image ModifiedImage Modified
  • I ran some analysis with the more sturdy setup. It looks decent. I also did two more tests when the fan downstairs was open. Unfortunately in one of the tests the window was not open so the fan did not ork probably. I was also only allowed to work it up to 20Hz.
  • Overall, the view from the camera, the camera itself, and the pegboard itself look like this:
    Image ModifiedImage ModifiedImage Modified
  • Backed up both of the observing runs to the cluster. Going to back up the additional tests as well.

12/15/22: Day 8:

  • Further document the Jupyter notebook about the observations of the tests of the night.
  • Back the rest of the data up to cluster.
  • Copy the local data to the external disk as well.
  • As soon as the telescope is able to rotate again check whether the new setup is blocked by the telescope.
  • If not blocked. That is the new final setup of the dimsum.
  • Make a test with fan on 100Hz and check if the setup can take it.
  • If it passes that test as well, make the setup permanent. This includes:
    • Making the cables trip proof by running them under the grating and tying the optical fibers to the rail.
    • Put the box and power adaptors to the corner
  • Clean up the mess and decide what to bring back.

Newest version of the observing jupyter notebook:

Image ModifiedDIMSUM_observing_analysis.ipynb

The moving of the telescope does not affect the new setup. And the camera and pegboard were in the same position in the morning.

Image ModifiedIMG_2431.MOVImage Modified


12/15/22: Day 9:

  • Last day we could be on the summit.
  • Today and last night I got the DIMSUM to its final state and professional looking.
  • A problem: Not all sources are identified in a brighter dome.
    • The setup is a 1 to 7 optical fiber which have 1 to 4 optical fibers connected to four of the ends. One of the fibers of 1 to 4 optical fibers did not work and one of them was very dim compared to others. So I had omitted those two. That left us with 14 sources. Then I had added the remaining 3 fibers from 1 to 7 to the pegboard. With that I was getting 17 sources.
    • That ended up creating a brightness difference between the sources and with an ND filter of avoiding the saturation of brightest sources the dimmest sources were not seen in a brighter dome (before astronomical twilight).
    • Changed the setup in the last day and omitted the direct fibers coming from the 1 to 7 fiber. Instead I added dim 1 to 4 fiber which gave us 15 sources. Doing that I decreased the ND filter to 1 from 1.5. Even with the ND filter of 1, the count of the dimmest source was very dim. It was able to be detected but I doubt we may run into the same issue in a brighter dome. I do not understand why some sources coming from the same 1 to 4 optical fiber can have different brightness. That is the case even in the continuous light source. If the fibers of 1 to 7 and 1 to 4 do not divide the light equally, I believe that is a very unnecessary uncertainty.
    • Final setup is 15 sources with nd filter 1.
  • Having possible plane of focus and ghosting issues made me come up with ways to make my analysis code way more configurable and flexible with equal success. I had an algorithm which simply showed the sources qualitatively without really relating them to particular source identified.
  • I made two upgraded functions where when sources are shown qualitatively. I also made finding sources higher abstracted. All source finding is done by python source extractor which is exactly the same as c and part of cython.
    • find_sources: is a function that takes a path/to/file and a threshold as an input and returns the sources identified ordered by x and y coordinates.
    • show_sources: is a function that shows the sources identified in a box that has dimensions 4 times the fwhm.\
    • show_sources_3d: makes 3d plots of the sources to have quantitative understanding of the source quality and effect of ghosting.
  • Sample output of show_sources:
    View file
    name

...

  • 2d_test.pdf
    height250

  • Sample output of show_sources_3d:

...

  • View file
    name3d_test.pdf
    height250
  • I took photographs of the setup for documentation including:
    • Taking the lens cap of the camera.
    • Turning the camera on.
    • Making sure camera setting is in on M.
    • Turning on the remote flash trigger.
    • Turning on the remote flash receiver.
    • Turning on the power source.
  • I also took photographs of possible trouble shooting:
    • The continuous halogen lamp light source for debugging the focus if needed.
    • The screw to easily rotate the plane of pegboard.
    • Additional AA batteries in case the receiver or trigger runs out of battery.
    • The filter tool that lets us change the ND filtering.
  • I am going to write a documentation of the setups needed to take data with the setup.
  • I am also going to make a sample jupyter notebook which can be duplicated and the title could be changed which runs through the possible steps of DIMSUM analysis.  The notebook will be more concise than the notebook I used for documentation. However, Craig told me that people would actually follow analysis steps through a notebook.
  • Finally, we packed everything and left the Auxtel dome cleaner than it was.
  • All of the data we took is backed up in the external disk which currently has 1.8Tb of free space and in the cluster.
  • The data is in a file called december_22_chile which has subdirectories of:
    • december_22_chile_tests: that includes the raw files of the tests we did
    • december_22_chile_csvs: results of the analysis of the differential motion tests and time stamps of the files in the test
    • december_22_chile_pdfs: figures we made out of the csvs
    • actual_observing_run: The main observing run that took place in 12/13/22
    • observe-readjust: Continuation of observing run after the camera was adjusted.
  • Final version of the jupyter notebook is here:
    Image ModifiedDIMSUM_observing_analysis.ipynb

From Stubbs:
Ok sounds like a partial success. I think the key think is to get a good dome-closed vs. dome-open comparison. 
I don't understand the longer exposures. Is that with a single flash per image? If so then all the longer images would seem to do is add to the background and not the signal. Or are you running with constant light source? 
I can certainly believe that dome rotation shakes things- During most image the dome is not rotating. 
The focus change could well be due to temperature change of the lens. I can't remember if there is an f-stop ring on that lens or not... I think not. The depth of focus will increase if you make a smaller aperture in front of the lens. There is heavy duty Aluminum foil in the cardboard fan box at the base of the pier. You could try making a snout with a 1 inch off-axis hole and see if that (with reducing ND filter) helps with focus.

Response to Stubbs comments:

I was able to capture the pegboard and focus when the dome is rotating. They seem to be unaffected by it. My worry is that when the amount of shutter opening changes the initial wind gust messes it up. I am going to put more detailed documentation about the entire run as well as the jupyter notebook. Thanks for all the suggestions

More Stubbs stuff: 
I typically make a directory for each UT date, for example ut20221214 for today. Then I add a time and date stamp prefix to all images, along with the image sequence number. Restarting the sequence number each day then gives a data set where simple 'ls' commands can sort files without having to look at image metadata. 
I still don't understand why it goes out of focus- Unless the pegboard or camera are moving, wind gusts shouldn't bother us. I again suggest that it's temperature and that you can increase the depth of focus by reducing the lens aperture. 

Stubbs comments- 

This looks like great progress, bravo. We need to be sure the cables and other elements are not trip hazards, and so I suggest running them under the grating floor somebow. Also the camera isn't pointed quite in the direction I was expecting but I'm sure you guys have that figured out. Finally, we need to be sure we aren't obstructing the new in-dome illumination system that Patrick and Parker are installing. 
Happy to arrange a time to talk over zoom tomorrow if you like.