Sponsored Content
The Lounge What is on Your Mind? What if we end up being the bad aliens? Post 61168 by woofie on Sunday 30th of January 2005 05:55:56 PM
Old 01-30-2005
I can see it now though.

We will finally get everything right and then the next big bang or something like that will happen and then we get pushed back to square one again.
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Script to search a bad record in a file then put the record in the bad file

I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file. Example: File1 Name designation dateOfJoining... (1 Reply)
Discussion started by: shilendrajadon
1 Replies

2. Shell Programming and Scripting

Script to search a bad record in a file then put the record in the bad file

I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file. Example: File1 Name designation dateOfJoining... (2 Replies)
Discussion started by: shilendrajadon
2 Replies

3. IP Networking

Looking for an end-to-end network diagnostic utility...

I am looking for a utility (Windows/Linux/Mac) that will allow me to run some test packets across a customer's network (between their client & my server) to identify a list of (or at least a guess of) all protocols and significant network settings that could adversely effect my systems performance... (1 Reply)
Discussion started by: jjinno
1 Replies

4. Shell Programming and Scripting

Need UNIX shell scripting end to end information

Hi, I would like to learn shell scripting in UNIX. Can any one please give me the support and share the information/documents with me. If any documents please post it to aswanikumar_nimmagadda@yahoo.co.in Thanks in advance...!!! (3 Replies)
Discussion started by: aswani_n
3 Replies

5. Shell Programming and Scripting

Add end of char \n on end of file

Hi, I want to add \n as a EOF at the end of file if it does't exist in a single command. How to do this? when I use command echo "1\n" > a.txt and od -c a.txt 0000000 1 \n \n 0000003 How does it differentiate \n and eof in this case? Regards, Venkat (1 Reply)
Discussion started by: svenkatareddy
1 Replies

6. Shell Programming and Scripting

Use of Begin IF ,END IF END not working in the sql script

Hi I have written a script .The script runs properly if i write sql queries .But if i use PLSQL commands of BEGIN if end if , end ,then on running the script the comamds are getting printed on the prompt . Ex :temp.sql After connecting to the databse at the sql prompt i type... (1 Reply)
Discussion started by: isha_1
1 Replies

7. Shell Programming and Scripting

Why I get bad bad substitution when using eval?

Why I get bad replace when using eval? $ map0=( "0" "0000" "0") $ i=0 $ eval echo \${map$i} 0000 $ a=`eval echo \${map$i}` !!!error happens!!! bash: ${map$i}: bad substitution How to resolve it ? Thanks! (5 Replies)
Discussion started by: 915086731
5 Replies

8. Solaris

Test program running taking much more time on high end server T5440 than low end server T5220

Hi all, I have written the following program and run on both T5440 and T5220 on same OS version. I found that T5540 server takes more time than T5220. Please find below the details. test1.cpp #include <iostream> #include <pthread.h> using namespace std; #define NUM_OF_THREADS 20... (17 Replies)
Discussion started by: sanjay_singh85
17 Replies
imwcs(1)						      General Commands Manual							  imwcs(1)

Name
       imwcs - Set WCS in FITS and IRAF image files

Synopsis
       imwcs [options] FITS or IRAF filename

Description
       imwcs (pronounced im-W-C-S) is a utility for setting the world coordinate system (WCS) of a FITS or IRAF image. The WCS is the relationship
       between sky coordinates and image pixels and can be described in a standard way in the header of an image. The program was originally writ-
       ten at the University of Iowa, but has been adapted and amplified by Doug Mink at the Smithsonian Astrophysical Observatory.

       imwcs  currently  works	only on images where the rotation about the center is known to within a few degrees It has been tested extensively
       only on images with near-zero rotation.

       A plane-tangent projection (center right ascension and declination, plate scale, and rotation angle) is fit based on matches between  stars
       in  the image and stars in a reference catalog. The HST Guide Star Catalog, the USNO A 1.0, SA 1.0, or UJ Catalog, or a user-supplied, tab-
       delimited Starbase catalog may be used.

Options
       -a <angle>
	      Initial rotation angle in degrees (default 0)

       -b <RA> <Dec>
	      Initial center in B1950 (FK4) RA and Dec (default=RA,DEC from file)

       -c <catalog name>
	      Reference catalog (gsc(=HST GSC), ua2(=USNO-A2.0), TMC(=2MASS Point Source Catalog), gsc2(=GSC  II),  ub1(=USNO-B1.0),  local  file,
	      etc.)

       -d <catalog name>
	      Use  this  DAOFIND  output  catalog of X, Y, and magnitude instead of searching for stars in the image.  The format is simply white-
	      space-separated X, Y, and magnitue on a line, with # at the beginning of comment lines.

       -e     Erase image WCS keywords, getting initial WCS from command line

       -f     Write FITS output no matter what input

       -g <class>
	      Guide Star Catalog class (-1=all,0,3) (default -1)

       -h <number>
	      Change the maximum number of reference stars to match from 25 to

       -i <counts>
	      Minimum peak value for star in image.  If negative, use -<counts> standard deviations as minimum.

       -j <RA> <Dec>
	      Initial center in J2000 (FK5) RA and Dec (default=RA,DEC from file)

       -k <magnum>
	      Use this magnitude to sort brightest catalog stars.

       -l     Reflect left<->right before rotating and fitting

       -m [<bright magnitude>] <faint magnitude>
	      Limiting catalog magnitude(s) (default none, bright -2 if only faint is given)

       -n <number>
	      Number of parameters to fit (1-8, or digit string). The default is 2 (RA+Dec) if <3 stars are matched, 3 (RA+Dec+scale) if <5  stars
	      are  matched,  or 4 (RA+Dec+scale+rot) if 5 or more stars are matched.  Alternatively this may be a list of all of the parameters to
	      fit, in the form nnnnnn.., where 1=RA, 2=Dec, 3=RA scale, 4=Dec scale, 5=rotation angle, 6=Y axis rotation (CD matrix), 7=RA  refer-
	      ence pixel, and 8=Dec reference pixel.

       -o <filename>
	      Write output to this file; may be the same as input file.  This option automatically sets the -w option to write the file.

       -p <scale>
	      Initial plate scale in arcsec per pixel (default 0)

       -q <option list>
	      <i>terate,  <r>ecenter,  <s>igma	clip,  <p>olynomial,  <t>olerance  reduce (half for each iteration).  A number following an option
	      repeats the option that many times.

       -r <angle>
	      Rotation angle in degrees before fitting (0, 90, 180, 270) (default 0)

       -s <frac>
	      Use this fraction extra stars (default 1.0)

       -t <num>
	      Offset tolerance in pixels (default 20)

       -u <file>
	      File of X Y RA Dec assignments for initial WCS

       -v     Verbose listing of processing intermediate results

       -w     Write WCS to a new file (default is read-only) -x X and Y coordinates of reference pixel (default is image center) -y multiply image
	      dimensions  by  this  for search (default is 1) -z Use AIPS classic projections instead of WCSLIB; use CD matrix or CDELT instead of
	      polynomial solution.

Web Page
       http://tdc-www.harvard.edu/software/wcstools/imwcs/

Author
       Doug Mink, SAO (dmink@cfa.harvard.edu)

30 January 2003 						     WCSTools								  imwcs(1)
All times are GMT -4. The time now is 08:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy