ywyw / dat-wise

Importer for the WISE All-Sky Data Products
3 stars 3 forks source link

import pipeline v1 (alpha) to-do list #3

Open max-mapper opened 9 years ago

max-mapper commented 9 years ago

I think we should try to split this up into as many pieces as possible, similar to how the pipelines here are represented https://github.com/bionode/bionode-example-dat-gasket/blob/master/package.json#L26

Also would be nice if all of the components that have nasty dependencies were dockerized and had command-line APIs

Parts we need:

max-mapper commented 9 years ago

for filtering we can use jsonfilter and jsonmap if we convert the catalog data from csv into json first

max-mapper commented 9 years ago

for the ra/dec -> healpix, it would be nice to have it as a docker transform:

echo '{"ra": "50.54", "dec": "0.35"}' | docker run yuhong/ra-dec-to-healpix
// prints out {"ipix": 238383282838, "nside": 38842747327}
pkafei commented 9 years ago

Perhaps we can use pg-connection-string module to connect a dat datastore to a PostGres database https://www.npmjs.org/package/pg-connection-string

var parse = require('pg-connection-string').parse;
var config = parse('postgres://someuser:somepassword@somehost:381/sometable')