Script to plan subsequent DECam observations based on current conditions
legacysurvey / obsbot Goto Github PK
View Code? Open in Web Editor NEWScript to plan subsequent Mosaic and DECam observations based on current conditions
License: Other
Script to plan subsequent Mosaic and DECam observations based on current conditions
License: Other
avoid, eg, astrometry shifts
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.
(for f in rawdata/mos3.649*.fits; do fitsgetext -i $f -e 1 -D -o - | md5sum | sed "s+-+$f+"; done) 2>err > fitsmd5sums
eg, if tonight.sh is re-run without re-running mosbot
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?
The transparency values between copilot and mosstat are still discrepant.
eg, g and r back-to-back.
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.
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
Convert dRA,dDec,rotation in chip imX to dRA,dDec in im16 to match mosstats. (Also apply overall copilot-to-mosstat im16 difference).
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?
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.
Crashed Nov 9/2016
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.
Focus plot:
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)
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.