on the Curl Web Content Markup Language

on the Curl Web Content Markup and Programming Language from www.curl.com and www.curlap.com

Thursday, October 16, 2014

Curl for star charts


As prep for building MIT/SCSK Curl 2-D path star charts, I have stripped the hygxyz.cvs file to 100K rows for the stars North of -50 Dec.  Please excuse my northern hemisphere bias.

I have made these CVS HipparcosYale+ files avail at  http://www.aule-browser.com/astro/stars/hygxyz_northofminus50.csv with alternates in three parts as hygxyz_PART_1_northofSouth50.csv and hygxyz_PART_2_northofSouth50.csv etc.

For UTF-8 versions of any of these files, add _ucs before the .cvs extension.

Please let me know if you see issues.

The regex used to drop rows was:

^[0-9]+,[0-9]+,([0-9]+,|,)([0-9]+,|,)([A-Za-z0-9\s^,]+,|,)([A-Za-z0-9\s^,]+,|,)[0-9]+\.[A-Za-z0-9^,]+,-[5-8][0-9][\.].*$

The CVS header is

StarID,HIP,HD,HR,Gliese,BayerFlamsteed,ProperName,RA,Dec,Distance,PMRA,PMDec,RV,Mag,AbsMag,Spectrum,ColorIndex,X,Y,Z,VX,VY,VZ

 A listing is given by the HYG author David Nash at https://github.com/astronexus/HYG-Databaseand he has a web page at http://www.astronexus.com/hyg

2 comments:

  1. ^[^,]+,([,]|[^,]+,)([,]|[^,]+,)([,]|[^,]+,)([,]|[^,]+,)([,]|[^,]+,)([,]|[^,]+,)[^,]+,-[5-8][0-9].*$

    proved to be much simpler even if largely non-validating

    ReplyDelete
  2. 2-D Rendering in MIT/SCSK Curl web content language:

    Curl 2-D

    ReplyDelete