1,http://skyserver.sdss3.org/CasJobs/注册帐号
2,登录进去,Import你的表格。可以是坐标,也可以是plate mjd fiberID, 逗号/空格/Tab分割的都行。必须带列名。
3,在query那里贴上命令。切记Context那里选dr8
Select L.ra,L.dec,L.petroMag_u,L.petroMag_g,L.petroMag_r,L.petroMag_i,L.petroMag_z,L.petroMagErr_u,L.petroMagErr_g,L.petroMagErr_r,L.petroMagErr_i,L.petroMagErr_z,L.extinction_u,L.extinction_g ,L.extinction_r ,L.extinction_i,L.extinction_z into mydb.MyTable_0
from PhotoObjAll as L ,mydb.SDSSdr8radec as Q1
where abs(L.ra-Q1.ra) < 0.00001 and abs(L.dec-Q1.dec) < 0.00001
4,下载生成的MyTable_0
https://blog.sciencenet.cn/blog-749052-589604.html
上一篇:
删除ubuntu多余内核下一篇:
shell语言中uniq命令对文本的处理