This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
howto:change_a_target_s_coordinates [2016/09/22 19:05] jtello |
howto:change_a_target_s_coordinates [2016/09/28 00:00] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | I'm unaware if this is the correct method and it is only allowed for those who have writing permission in the psql database. --- //[[jtello@iaa.es|Juan Carlos Tello]] 2014/03/07 11:34// | ||
- | If you have a target that you want to change the coordinates (either because the first ones was erroneous or because it is an object like a satellite that requires constant changing and you don't know how to give it the orbital parameters for automatic tracking), then you can access the psql database directly. | ||
- | |||
- | $ sudo psql stars | ||
- | |||
- | stars=# UPDATE targets | ||
- | SET tar_ra = 157.246241, tar_dec = 15.760332 | ||
- | WHERE tar_id = 1205; | ||
- | | ||
- | (of course changing the coordinates and target_id as necessary). |