2mass_00.py

This is a python code (python/2mass) that processes the large table file from a 2mass02 run and creates a CDFP file.

 
% 2mass_00.py 2mass.cat > 2mass.cdfp  
The name of the output file from query code (which uses a wget call) is "2mass.cat". The 2mass_00.py code writes to standard output, and so I create a CDFP file by directing the output to a desired file name.

The CDFP file produced above can be be used to make a regions for overplotting in ds9+xpa with the cdfp2reg script.




Back to SCO CODES page