| 74 | |
| 75 | The command (as hpf@hpf) to execute any basic observation is {{{hpfseconds targetname exposuretime #exposures [obs#]}}}. If the target name has a space we should use double quotes around the name, e.g. "please do not use spaces in target names" The exposure time is in seconds. You can include a optional observing number, but if the software has not been restarted and you do not include this observing number it will use the next observing number. If you restart the software the count starts again at 1 and the next target will be included in directory 0001 even if there is data in that directory, however, due to the time stamp no data will be overwritten. |
| 76 | |
| 77 | Examples: |
| 78 | |
| 79 | {{{hpfseconds GJ_3470 315 5}}} - 5 exposures of 315 seconds each. |
| 80 | |
| 81 | {{{hpfseconds GJ_3470 315 5 100}}} - 5 exposures of 315 seconds each to be saved in directory 0100. |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | [[br]] |
| 88 | |
| 89 | == File system information == #files |
| 90 | |
| 91 | Data is stored in {{{/HPFData/LinuxGigE/YYYYMMDD/hpf}}} from other machines, e.g. mcs, or {{{/home/hpf/HPFData/LinuxGigE/YYYYMMDD/hpf}}} on the hpf machine, and copied to {{{/hetdata/data/YYYYMMMDD/hpf/}}} as well. Scripts for changing the instrument settings are located in {{{/home/hpf/Scripts/InstConfig}}} |
| 92 | |
| 93 | [[br]] |
| 94 | |
| 95 | === Telluric standard stars === #tell |
| 96 | |
| 97 | |
| 98 | For telluric standards you should not observe anything brighter than V=4.5 (our lists have been culled to remove these and emission line objects). If you find that any telluric is in a visual binary with a brighter star please please feel free to remove that from the list and let astronomer@het.as.utexas.edu know so that we can edit the online list. |
| 99 | |
| 100 | For exposure times please use: |
| 101 | |
| 102 | * 315 sec exposure (30 reads) for anything fainter than V = 5.8 |
| 103 | * 105 sec exposure (10 reads) for anything between 4.5 and 5.8 in V |
| 104 | |
| 105 | Be sure to edit the night report to change the Data Type to "telluric" |
| 106 | |
| 107 | **NB** Telluric standards must be taken with LFC closed |
| 108 | |
| 109 | |
| 110 | [[br]] |
| 111 | |
| 112 | |
| 113 | === Navigating weird behavior in the screens === #weird |
| 114 | |
| 115 | |
| 116 | Once before (Dec 2022) we saw some weird behavior where HPF appeared not to accept commands (PR 6136). The issue was that the HPF Detector Client screen was stuck in "Copy Mode", probably from an errant CTRL-A ESC command. Simply pressing ESC again fixed the issue. If this happens again in the future, it would be helpful to check the screen/terminal titles of each Screen session. This is not possible in the "rasession" style interface, but if you connect to each Screen separately we can check the titles to see if Copy Mode is enabled. |
| 117 | |
| 118 | Consider the following steps, too: |
| 119 | |
| 120 | 0) Remember that screen can be blocking if it gets into its 'copy mode' (ctrl-a ESC), and probably several other ways to prompt this state too. If it is blocking you loose the ability to communicate with the process running inside of it. |
| 121 | |
| 122 | 1) Pause any scripts that are running - you don't want to get things running and then have a script send a bunch of queued up commands in quick succession before you've been able to check functionality. |
| 123 | |
| 124 | 2) Try to connect to the screen session: |
| 125 | {{{ |
| 126 | screen -x hpf |
| 127 | }}} |
| 128 | |
| 129 | 3) If this loads like normal and you see the detector client running, then the problem is not the screen session. Proceed with troubleshooting re. detector crash/non-responsiveness |
| 130 | |
| 131 | 4) If you do not get a normal detector client, but instead just see a cursor and the process looks hung, try giving it *one* ctrl-c. This may unstick the screen session by killing whatever process in it had hung. Then the detector client software should show up like normal. |
| 132 | |
| 133 | [[br]] |
| 134 | |
| 135 | |
| 136 | |
| 137 | |
| 138 | ==== Arrow-ing up to see what happened ==== |
| 139 | |
| 140 | If you missed something that has scrolled off the top of the screen and you want to see what it was you can do a <ctrl>-a followed by an <esc> to get into "copy" mode. Then use the arrows to move the cursor up to get to the message of interest. To leaves copy mode hit two <esc> in a row. To see the full set of screens commands please see our [wiki:HetProcedures/RA/Screens Screens Summary Page]. |
| 141 | |
| 142 | |
| 143 | |
| 144 | == Old method to update Q* FITS header keywords == #Qfix |
| 145 | |
| 146 | Now replaced by {{{hpf_data_fix}}}, but retained here for completeness: |
| 147 | |
| 148 | {{{ |
| 149 | 1. ssh hpf@hpf |
| 150 | 2. cd /home/hpf/HPFData/LinuxGigE/20201014/hpf/0010/fits/ |
| 151 | 3. /mnt/het/hetdex/bin/headfits -m -k QIDX -t int -v 6709 *.fits |
| 152 | 4. /mnt/het/hetdex/bin/headfits -m -k QPROG -v UT20-1-999 *.fits |
| 153 | 5. /mnt/het/hetdex/bin/headfits -m -k QRA -v '01:02:03.40' *.fits |
| 154 | 6. /mnt/het/hetdex/bin/headfits -m -k QDEC -v '+45:34:23.1' *.fits |
| 155 | 7. /mnt/het/hetdex/bin/headfits -m -k QEQUINOX -t float -v 2000 *.fits |
| 156 | 8. /mnt/het/hetdex/bin/headfits -m -k QPMRA -t float -v 308.227 *.fits |
| 157 | 9. /mnt/het/hetdex/bin/headfits -m -k QPMDEC -t float -v -608.695 *.fits |
| 158 | 10. /mnt/het/hetdex/bin/headfits -m -k QEPOCH -t float -v 2015.5 *.fits |
| 159 | |
| 160 | |
| 161 | We must fix all exposures and all values: QIDX, QPROG, QRA, QDEC, QEQUNIOX, QPMRA, QPMDEC, QEPOCH |
| 162 | |
| 163 | |
| 164 | You can extract these values from the queue database with this command if you want, replacing the IDX number for the target you want: |
| 165 | |
| 166 | [stevenj@zeus ~]$ mysql -hnossy htopx -e "select idx,plan,ra,declination,equinox,pmra,pmdec,pmepoch from plandb_latest_cur where idx=4000" |
| 167 | |
| 168 | }}} |
| 169 | |
| 170 | |
| 171 | == rare errors == #rare |
| 172 | {{{ |
| 173 | If see 'Error' in hpf session of client is not operation normally |
| 174 | you can try to restart client |
| 175 | |
| 176 | If you get the '''QSocketNotifier:''' in the detector client window you can try restarting it but if the error message comes back again then the instrument is down and you should call Chad. |
| 177 | }}} |
| 178 | |
| 179 | {{{ |
| 180 | If part A script hang on message: |
| 181 | |
| 182 | "WARNING: Setting LFC flux to High .." or "Not yet set to high mode" |
| 183 | |
| 184 | means absence of communication to LFC computer. |
| 185 | It possible to abort script with Ctrl-C and email/call Connor for help. |
| 186 | |
| 187 | Until problem fixed it is best to assume that LFC is down and use Etalon |
| 188 | }}} |
| 189 | |
| 190 | |
| 191 | === restarting the the HPF client === #restart |
| 192 | '''Note that the HPF client is restarted automatically every day 16:45 UT just after the LN2 refill. The act of restarting the HPF makes a small change to the instrument temperature which impacts RV stability.''' |
| 193 | |
| 194 | {{{ restart_detectorclient }}} is called daily as part of the crontab at 16:45 UT to restart the HPF client daily. It can |
| 195 | also be called on demand (but we ''very rarely do this''). |
| 196 | |
| 197 | There are two executable scripts: |
| 198 | |
| 199 | 1) {{{start_hpfdetectorInfloop.sh}}} - this is running in the 'hpf' screen |
| 200 | session, and takes care of automatically restarting the client after it |
| 201 | is shutdown |
| 202 | |
| 203 | 2) {{{restart_detectorclient}}} - can be called from any hpf terminal (but |
| 204 | preferably the 'scripts' session. This will trigger a shutdown |
| 205 | sequence. After the shutdown, {{{start_hpfdetectorInfloop.sh}}} will |
| 206 | automatically take care of bringing things back up. |
| 207 | |
| 208 | Check that the observation number is correct with {{{ pyhxrg:GetObsnum }}} |
| 209 | |
| 210 | if it is not then use the following command to set it: {{{tims Detect pyhxrg:SetObsnum:nn}}} where nn is the number from previous !GetObsnum command |
| 211 | |
| 212 | [[br]] |
| 213 | |