From wbrandne@eso.org Sat Dec  4 16:20:34 1993
Newsgroups: sci.astro
From: wbrandne@eso.org (Wolfgang Brandner)
Subject: Re: FITS to GIF
Reply-To: wbrandne@eso.org (Wolfgang Brandner)
Organization: ESO - European Southern Observatory, Garching by Munich
Date: Sat, 4 Dec 1993 18:50:47 GMT

Hi Oli,
there exist some routines to convert fits files into other graphical
standards. In your case you would need fitstopgm, ppmtopgm and ppmtogif.
You can get these routines via archie or ask the local software gurus
if they have installed them already. Once you have a .pgm (portable grey
map) you can also use xv to load the image and to convert it into other
graphical formats.
Ciao, Wolfgang

From pmurphy@nrao.edu Sat Dec  4 23:23:54 1993
Newsgroups: sci.astro
From: pmurphy@nrao.edu (Pat Murphy)
Subject: Re: FITS to GIF
In-Reply-To: wbrandne@eso.org's message of Sat, 4 Dec 1993 18:50:47 GMT
Organization: National Radio Astronomy Observatory, Charlottesville, Virginia
Date: Sat, 4 Dec 1993 21:43:13 GMT

In article <1993Dec4.185047.17187@eso.org>, wbrandne@eso.org (Wolfgang
   Brandner) writes: 

WB> there exist some routines to convert fits files into other graphical
WB> standards. In your case you would need fitstopgm, ppmtopgm and ppmtogif.

I find it usually easier to load the FITS image in a viewer like
AIPS/XAS or SAOImage, play with it (contrast, pseudocolor, annotation,
whatever), then use xgrab or (more likely) xv to grab the resulting
display or part thereof.  Given that gif format is usually intended for
pretty pictures as opposed to scientific work, it makes more sense
(IMHO) to "pretty it up" this way.

				- Pat
--
==========================================================================
| Patrick P. Murphy, Ph.D.                Scientific Programming Analyst |
| National Radio Astronomy Observatory    Net:       pmurphy@nrao.edu    |
| 520 Edgemont Road                       Phone:     (804) 296-0372      |
| Charlottesville, VA 22903-2475          VoiceMail: (804) 980-5889      |
| World-Wide Web: http://info.cv.nrao.edu/staff/pmurphy/pm-home.html     |
|      "I don't believe in the no-win scenario"  --- James T. Kirk       |
==========================================================================


0, unseen,,
*** EOOH ***
Path: cv3.cv.nrao.edu!hearst.acc.Virginia.EDU!darwin.sura.net!paladin.american.edu!europa.eng.gtefsd.com!uunet!organpipe.uug.arizona.edu!argus.lpl.Arizona.EDU!ron
From: ron@argus.lpl.Arizona.EDU (Ron Watkins)
Newsgroups: sci.astro
Subject: Re: Definition of Truncated JD ?
Date: 23 Dec 1993 14:09:16 GMT
Organization: Lunar and Planetary Lab, U of AZ
Lines: 19
Message-ID: <2fc8qc$ea1@organpipe.uug.arizona.edu>
References: <psikr01.756580751@mailserv.zdv.uni-tuebingen.de>
NNTP-Posting-Host: argus.lpl.arizona.edu
Keywords: Julian Date, TJD, Time Analysis

The Modified Julian Date can be found in the USNO's publication "Almanac
for Computers". It's published by the same group that publishes the
"Astronomical Almanac". I guess that makes it as offical as it gets!
On page B2, near the bottom, it sais:
	MJD = JD - 2400000.5
Note that this is just a shortening of the JD to allow JD with some
precision in the hours minutes and seconds domain (right of the decimal)
when not enough bits exist. On most computers, a double precision value
will allow approxamitly 16 decimal digits of accuracy in the mantissa. This
means that with a full JD (including the leading 2400000) you still have
an accuracy greater than 1 second. So MJD is probably usefull if using
single precision and/or saving space on printouts or in disk files for
large quantity of JD's. Good luck.
				Ron
--
Ron Watkins    [ron@argus.lpl.arizona.edu]    /            /~~~~)     /
931 Gould-Simpson                            /            /____/     /
University of Arizona                       /            /          /
Tucson AZ. 85721 -- (602) 621-8606         (____ unar & / lanetary (____ ab.

0, unseen,,
*** EOOH ***
Newsgroups: sci.astro
Path: cv3.cv.nrao.edu!hearst.acc.Virginia.EDU!concert!gatech!howland.reston.ans.net!europa.eng.gtefsd.com!uhog.mit.edu!xn.ll.mit.edu!ll.mit.edu!ryba
From: ryba@ll.mit.edu (Marty Ryba)
Subject: Re: Definition of Truncated JD ?
Message-ID: <1993Dec23.153107.10704@ll.mit.edu>
Keywords: Julian Date, TJD, Time Analysis
Sender: news@ll.mit.edu
Reply-To: ryba@ll.mit.edu (Marty Ryba)
Organization: Group 101, MIT Lincoln Lab.
References: <psikr01.756580751@mailserv.zdv.uni-tuebingen.de>
Date: Thu, 23 Dec 93 15:31:07 GMT
Lines: 18

In article <psikr01.756580751@mailserv.zdv.uni-tuebingen.de>, psikr01@mailserv.zdv.uni-tuebingen.de (Peter Kretschmar) writes:
|> A colleague of mine recently stumbled about a problem in using information
|> given to him by two different groups. Both gave "Truncated Julian Dates"
|> for their data, but whereas one group simly truncated the first digits, the
|> other effectively used a truncated Modified Julian Date - the one, that's
|> shifted by 0.5 days.

   Hmmm.  The difference may be "truncated" (which I've never heard of) and
Modified Julian Date, which I am sure has the definition of:

	MJD = JD - 24400000.5

-- 
Dr. Marty Ryba                     | Generation X:
   MIT Lincoln Laboratory          |        Too young to be cynical,
       ryba@ll.mit.edu             |		too old to be optimistic.
Of course nothing I say here is official policy, and Laboratory affiliation is
for identification purposes only, blah, blah, blah....
