Coder Social home page Coder Social logo

obsbot's Introduction

obsbot

Script to plan subsequent DECam observations based on current conditions

obsbot's People

Contributors

decalsobserver avatar dstndstn avatar mzlsobserver avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obsbot's Issues

copilot: depth factors for whole night

Is there an easy way to look at the depth factors for the whole night? I wanted to make a list of all the frames with depth < 0.3 so that we can add these to the bad_expid.txt file.

mosaic focus plot: y limits

When the seeing is worse than 2”. all the points on the copilot focus plot end up off the top boundary. Could we please edit the copilot focus plot code so that it rescales appropriately based on the measured FWHM measurements?

copilot: count & report total number of tiles

  1. When copilot is run with the -- night option, can we have the total numbers of good tiles be listed (i.e., at least the pixcnt ones subtracted)? That would make it easy to write in the summary totals on the logs.

E(B-V) average over field, not just at boresight

For obsbot, we’d want a median E(B-V) over the field rather
than just at the boresite.

Specifically, the tiles file for DECam takes the median of extinction
values spaced every 0.1 deg that fall within 1.0 deg of the boresite.
To avoid spherical trig problems, I placed these positions around
a pole, and then rotate the pole to the boresite.

mosaic focus crash

tonight mosaic_focus.py caused a copilot crash on our focus frame. Running manually

python mosaic_focus.py /mosaic3/data3/observer/20160510/mos3.88174.fits

Gives the error message:

mosaic_focus.py:203: RuntimeWarning: divide by zero encountered in divide
wt = 1. / Ysig

copilot: plot layout issues

Would it be possible to make copilot put the points on top of the labels, rather than the other way around? Currently the labels hide the points. Also, for the image exposure number labels - i wonder whether it might be better to only print the full number for the first and last points on the plot, and then just label using the last three digits for the rest of the points.

When the seeing is > 2.3” (roughly) no seeing value appears on the plot. Perhaps it is being written off the plot?

Update z-band zero-points for each amplifier

Arjun has measured the following z-band zero-points from photometric good-seeing
frames on the night of 9/10 Feb 2016 as follows:
im4: 26.406
im7: 26.609
im11: 26.556
im16: 26.499
Since it's not measured for the other 12 amps, just use the average of
these four at 26.518 .
These numbers already updated in the IDL mosstat.pro code.

For Mosaic3 images, is the exposure number supposed to start with a 3?

A raw mosaic 3 file, e.g. mos3107334.fits says that its EXPNUM is 3107334. Yet elsewhere, the exposure number is recorded as 107334. So, is 107334 the real exposure number, and mos3 the instrument designation, or is 3107334 the real exposure number and mos the instrument designation?

This is not just a hypothetical, because the exposure numbers are, in practice, being recorded with two different numbering conventions. For example, the bad_expid.txt file uses the latter convention.

Problem with dRA,dDec layout

As per Arjun's report,

The observers have been noticing that sometimes the most recent dRA and dDEC values are not being printed at the bottom right corner of the copilot plot bottom panel. The problem is intermittent and may have something to do with the scaling of the y-axis of the plot and the location of the most recent (dRA,dDEC) point on the plot.

ALSO, consider flipping the sign of the printed dRA,dDec so that with DECam it is the correction that needs to be applied (ie, the values the observers need to read to the Telescope Operator)

Copilot plot during the night

this has the pass number in the second panel overlap the sky value. Could we put the sky value text of the last exposure just below the actual point? Also, is there some way of labeling the zero line with the “nominal” sky value? I suggest putting this in the middle of the plot just below the line.

  • it would be great to label the points in the exposure time panel with the depth factor, perhaps by just adding a label above each point as it is plotted. That way if the depth factor is less than some number, we can ask the observers to log that in the bad_expid.txt file.
  • The transparency values between copilot and mosstat are still discrepant. Any idea why? Or did i just miss / not read a number of e-mails on this topic ;)
  • Having copilot print out the dRA and dDec offsets needed to correct the pointing at the start of the night would be very useful. It is hard to find these numbers in the huge amount of ascii output, so i usually just eyeball it off the plot. It would be nice to have this listed somewhere on the plot.

Copilot: nightly summary plot

  • this still shows the last value of the data points in the various panels. This is fine, but not necessary in all except the bottom panel, which has the image numbers.
  • could we also list the total number of good images taken = last image number - first image number + 1 - number of bad images,
    where number of bad images = number of images with PIXCNT errors + number of images with depth factor < 0.3 + number of images with seeing > 2” (David can check me on these limits)
    This number is useful, since it is what we try and enter in the summary page of the logs. In fact, if copilot can keep track of these numbers, perhaps it can also just update the bad_expid.txt file automatically, without requiring the observers to do that.
  • could the copilot summary plot also compute the median seeing value, transparency, sky brightness for the night? Lori Allen actually wanted these numbers for each quartile of the night, but perhaps that is overkill to write down on the plots.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.