TwiceAsNice  2019-02-18
Functions
licsStarcat.cc File Reference
#include <cstdlib>
#include <time.h>
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <cstdio>
#include <glib-2.0/glib.h>
#include <Nice/Time.h>
#include <LicsStarcat.h>
Include dependency graph for licsStarcat.cc:

Functions

void usage (char *argv0)
 Defining this preprocessor option means that GUI's are all disabled (the option -b is always on) More...
 
int main (int argc, char *argv[])
 management of a LN star catalogue More...
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

management of a LN star catalogue


Parameters
argcThe count of the command line arguments.
argvThe vector of blank-separated strings onthe command line. Usage:

to merge one or more LBTO star catalogues

licsStarcat -m [-f magnit] lbtocat.txt [lbtocat2.txt ...] Example: licsStarcat -m ~/lnsw/ln/lbcs/src/stars/lbtoTstCat.txt

to convert a NOMAD catalogue to LBTO style, first obtain the ASCII format of the catalogue.

Either use the interacitve tool of http://www.usno.navy.mil/USNO/astrometry/optical-IR-prod/icas/vo_nofs

with VERB=1, Color=R2 output file=ASCI and RA/Dec Format=ddd.ddd/dd.ddd

and copy-n-paste the result, or

wget http://www.nofs.navy.mil/cgi-bin/vo_cone.cgi?CAT=NOMAD&RA=&DEC=&&VERB=1

wget -q -O nomadTst2.txt 'http://www.nofs.navy.mil/cgi-bin/vo_cone.cgi?CAT=NOMAD&RA=6.1186&DEC=7.8168&SR=0.09&VERB=1&cftype=ASCII&clr=B2&fai=18' lbcStarcat -N nomadTst2.txt

Since
2017-01-20
2017-08-25 call licsPcam2Se for the HWS cases
2017-10-24 Option -P to switch between SE allocation with or without PCam analysis.
2018-01-22 Option -b to enter a batch execution

◆ usage()

void usage ( char *  argv0)

Defining this preprocessor option means that GUI's are all disabled (the option -b is always on)

Since
2018-02-08 on request of Thomas Bertram (in Makefile.am) #define LN_LICS_STARCAT_NO_GUIS

emit a usage notice on stdout.

Parameters
argv0The string which is the first compoment of argv, namely the command name
Since
2017-01-24