1 / 6

访问数据

天文数据与归档培训. 访问数据. 何勃亮 国家天文台,中国虚拟天文台 hebl@nao.cas.cn. psql. psql -A -F ',' -t pdr -c "SELECT designation,planId,lmjd,spId,fiberId FROM catalogue" > out.csv. Python. psycopg2. pandas. 数据下载. wget Usage: wget [OPTION]... [URL]... -c - i fil e. FTP. script open url

chloe
Download Presentation

访问数据

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 天文数据与归档培训 访问数据 何勃亮 国家天文台,中国虚拟天文台 hebl@nao.cas.cn

  2. psql • psql -A -F ',' -t pdr -c "SELECT designation,planId,lmjd,spId,fiberId FROM catalogue" > out.csv

  3. Python • psycopg2

  4. pandas

  5. 数据下载 • wget • Usage: wget [OPTION]... [URL]... • -c • -ifile

  6. FTP • script • open url • user user pw • binary • get file1 • get file2 • bye • ftp –n –v < script

More Related