From owner-fitsbits at marmoset.cv.nrao.edu Sun Mar 2 17:27:44 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id RAA07926; œSun, 2 Mar 1997 17:27:44 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.1 $) with ESMTP id DAA04424; Thu, 27 Feb 1997 03:20:37 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id DAA13658 for ; Thu, 27 Feb 1997 03:20:36 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA12013; Thu, 27 Feb 97 03:20:32 EST To: fitsbits at fits.cv.nrao.edu Date: Wed, 26 Feb 1997 11:09:48 -0800 From: owen at astro.washington.edu (Russell E. Owen) Message-Id: Organization: University of Washington Path: solitaire.cv.nrao.edu!out2.nntp.cais.net!news2.cais.com!news.intr.net!news.charm.net!news-dc-10.sprintlink.net!news-pull.sprintlink.net!news.sprintlink.net!news-peer.sprintlink.net!howland.erols.net!news.mathworks.com!uunet!in2.uu.net!140.142.64.3!news.u.washington.edu!owen References: <5ehbog$jc1 at darkstar.ucsc.edu> <5ekod7$17m at netline-fddi.jpl.nasa.gov> <5ep2l1$nko at electra.saaf.se> Subject: Re: unsigned images Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk In article <5ep2l1$nko at electra.saaf.se>, pausch at electra.saaf.se (Paul Schlyter) wrote: >In article <5ekod7$17m at netline-fddi.jpl.nasa.gov>, >Bill Owen wrote: > > (regarding converting unsigned data into signed, for FITS data output)... >> >> IF (VALUE(I) .GE. 0) THEN >> VALUE(I) = VALUE(I) - 32768 >> ELSE >> VALUE(I) = VALUE(I) + 32768 >> END IF > >This is non-portable, since it assumes integers are stored as >2-complement binary numbers, and ANSI FORTRAN has no such requirements >on integers. Your code will fail on platforms using 1-complement >or sign-magnitude integer representations - not to mention BCD >representation..... yes, there are FORTRAN implementations using >BCD for integers. Unfortunately true. Is it even possible to have an algorithm that works for all of the commonly found integer representations? I could not think of one. This is one good argument for supporting unsigned FITS images -- it involves less mucking around with machine-specific and compiler-specific internals. Meanwhile, I don't see much choice except to code for a specific integer representation. -- Russell From owner-fitsbits at marmoset.cv.nrao.edu Sun Mar 2 17:27:04 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id RAA07920; œSun, 2 Mar 1997 17:27:04 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.1 $) with ESMTP id DAA04423; Thu, 27 Feb 1997 03:20:37 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id DAA13659 for ; Thu, 27 Feb 1997 03:20:36 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA12014; Thu, 27 Feb 97 03:20:31 EST To: fitsbits at fits.cv.nrao.edu Date: Wed, 26 Feb 1997 11:00:25 -0800 From: owen at astro.washington.edu (Russell E. Owen) Message-Id: Organization: University of Washington Path: solitaire.cv.nrao.edu!out2.nntp.cais.net!news2.cais.com!news.intr.net!news.charm.net!news-dc-10.sprintlink.net!news-pull.sprintlink.net!news.sprintlink.net!news-dc-9.sprintlink.net!news.maxwell.syr.edu!news.mathworks.com!uunet!in2.uu.net!140.142.64.3!news.u.washington.edu!owen References: <5ehbog$jc1 at darkstar.ucsc.edu> <5ekod7$17m at netline-fddi.jpl.nasa.gov> Subject: Re: unsigned images Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk In article <5ekod7$17m at netline-fddi.jpl.nasa.gov>, wmo at wansor.jpl.nasa.gov (Bill Owen) wrote: >... >In ANSI C, however, the problem is trivial. Use the bitwise exclusive OR >operator, and the one statement > value[i] ^= 0x8000; >will flip the sign bit and leave the rest alone. (Yes, I realize that one >would probably code it up using a pointer instead of a subscript.) The bit >pattern 0x8000 -- sign bit on, others off -- is -32768 on two's complement >machines. > >No matter how you do it, BZERO should be set to +32768. Thank you very much. I was sure I was missing something, and you nailed it. (I actually considered XOR but missed an important detail that made it work.) So for FITS output my plan is to: - convert the internal data in place (saves copying it to another array) - write it out in one operation - convert it back again using appropriate exception handling to be sure the internal representation actually DOES get converted back. (Storing the data internally as signed data is less efficient, as every image will have to be converted even if it's never written out as a FITS file). If anyone has alternative suggestions, feel free to comment. Having missed the XOR solution it seems possible I'm overlooking something equally simple for the rest of the problem. Regards, -- Russell From owner-fitsbits at marmoset.cv.nrao.edu Sun Mar 2 17:30:39 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id RAA07946; œSun, 2 Mar 1997 17:30:39 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.1 $) with ESMTP id FAA09258; Fri, 28 Feb 1997 05:52:47 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id FAA25979 for ; Fri, 28 Feb 1997 05:52:45 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA04865; Fri, 28 Feb 97 05:52:40 EST To: fitsbits at fits.cv.nrao.edu Date: Thu, 27 Feb 1997 12:22:31 +0100 From: Octavi Fors Message-Id: <33156E77.41C6 at fajnm1.am.ub.es> Organization: Universitat Autonoma de Barcelona Path: solitaire.cv.nrao.edu!out2.nntp.cais.net!news2.cais.com!news.intr.net!news.charm.net!news-dc-10.sprintlink.net!news-pull.sprintlink.net!news.sprintlink.net!news-peer.sprintlink.net!news-peer.gsl.net!news.gsl.net!news-penn.gsl.net!news.gsl.net!news.belnet.be!news.rediris.es!news.upc.es!lilith.uab.es!newsmgr Subject: AIPS++ FITS classes for Visual C++ Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk I'm trying to develop an application able to display and process images written in FITS format. This one is not very popular outside of the Astronomy world. This application should read and write as many as possible FITS subextensions (image, ASCII table, binary table,...), specially the ASCII table. Once this classes would be implemented, I expect to be able to represent visually (as more realistic as possible) any sky region that is compiled in GSC (Guide Stars Catalog). This one is written in FITS ASCII table format. Does anybody know some classes for Visual C++ able to read and write this kind of image format? AIPS++ FITS classes is what I have, by now. But these are C++ classes written not for Visual C++ but for Unix and Linux. I would be interested in contacting with somebody who has tried to compile AIPS++ for Visual C++, or has some alternative source code. ================================================================= Octavi Fors Aldrich Astronomy Department Physics Faculty Diagonal Av., 647 08028 Barcelona SPAIN octavi at fajnm1.am.ub.es ================================================================= From owner-fitsbits at marmoset.cv.nrao.edu Sun Mar 2 17:32:51 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id RAA07958; œSun, 2 Mar 1997 17:32:51 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id PAA06789; Sat, 1 Mar 1997 15:47:27 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id PAA11205 for ; Sat, 1 Mar 1997 15:47:26 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA08506; Sat, 1 Mar 97 15:47:24 EST To: fitsbits at fits.cv.nrao.edu Date: Tue, 25 Feb 1997 13:45:45 +0100 From: Nicolas Devillard Message-Id: Organization: ESO - European Southern Observatory, Garching by Munich Path: solitaire.cv.nrao.edu!hearst.acc.Virginia.EDU!news-relay.ncren.net!gatech!EU.net!Germany.EU.net!Frankfurt.Germany.EU.net!Munich.Germany.EU.net!eso.org!mc14!ndevilla References: <3312C854.2D177800 at fajnm1.am.ub.es> Subject: Re: FITS I/O classes for GSC viewer Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk On Tue, 25 Feb 1997, octavi wrote: [...] > Does anybody know some classes for Visual C++ able to read and write > this kind of image format? About the FITS format itself, check: FITS archive at NRAO http://fits.nrao.edu Contains many links to FITS software. AIPS develops and distributes C++ classes to read/write/handle FITS format, the source code is available here: http://fits.cv.nrao.edu/src/ Even better: an ANSI C library to do exactly the same, check out: FITSIO home page http://legacy.gsfc.nasa.gov/fitsio/ If you are looking for basic sets of functionalities to work with FITS files, here are 2 software sets which may help: FTOOLS: a general package of software to manipulate FITS files http://heasarc.gsfc.nasa.gov/docs/software/ftools/ftools_menu.html ECLIPSE: ESO C Library for an Image Processing Environment http://www.eso.org/~ndevilla/adonis/eclipse > Or, even better, does anybody know some > source code that could help me into develop this GSC viewer. Check out the StarCat home page: http://archive.eso.org/starcat/ Hope it helps, --Nicolas ____________________________________________________________________ /\ \ \_| Nicolas Devillard | E-mail: nDevil at eso.org | | European Southern Observatory, | http://www.eso.org/~ndevilla | | Karl-Schwarzschild-Str. 2, | Phone: +49 89 320-06-340 | | D-85748 Garching, Germany | Fax : +49 89 320-06-358 | | ________________________________________________________________|_ \_/__________________________________________________________________/ From owner-fitsbits at marmoset.cv.nrao.edu Sun Mar 2 17:33:19 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id RAA07964; œSun, 2 Mar 1997 17:33:19 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id RAA06848; Sat, 1 Mar 1997 17:35:44 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id RAA12071 for ; Sat, 1 Mar 1997 17:35:43 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA14215; Sat, 1 Mar 97 17:35:39 EST To: fitsbits at fits.cv.nrao.edu Date: Tue, 25 Feb 1997 10:59:45 -0500 From: Doug Mink Message-Id: <33130C71.722B at cfa.harvard.edu> Organization: Harvard University University Information Systems Path: solitaire.cv.nrao.edu!hearst.acc.Virginia.EDU!news-relay.ncren.net!newsgate.duke.edu!news.mathworks.com!news.maxwell.syr.edu!news.bc.net!info.ucla.edu!nntp.club.cc.cmu.edu!goldenapple.srv.cs.cmu.edu!cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!oitnews.harvard.edu!news Subject: WCSTools version 1.3 released Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk The latest version of the WCSTools package, a set of programs for setting and using world coordinate system information in FITS and IRAF .imh images, is now available for anonymous ftp from ftp://cfa-ftp.harvard.edu/pub/gsc/WCSTools/wcstools-1.3.tar.gz It includes standablone C programs for automatically setting the world coordinate system of an astronomical image using a reference star catalog such as the GSC or USNO A-1.0 or one which one of the other programs can make from the Digitized Sky Survey. There are other programs for manipulating FITS and IRAF headers and using the WCS information in an image header to translate image coordinates to sky coordinates and vice versa. The WCS subroutines are the same ones used in the image display programs SAOimage, SAOtng, and Skycat. Documentation is online at http://tdc-www.harvard.edu/software/wcstools -Doug Mink Telescope Data Center Harvard-Smithsonian Center for Astrophysics Cambridge, Massachusetts, USA From owner-fitsbits at marmoset.cv.nrao.edu Sun Mar 2 17:34:14 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id RAA07970; œSun, 2 Mar 1997 17:34:14 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id TAA06943; Sat, 1 Mar 1997 19:49:57 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id TAA13033 for ; Sat, 1 Mar 1997 19:49:56 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA18920; Sat, 1 Mar 97 19:49:53 EST To: fitsbits at fits.cv.nrao.edu Date: 25 Feb 1997 17:11:16 GMT From: mark-r at msi.campus-ventures.co.uk (Dr. Mark Robinson) Message-Id: <5ev6fk$g92 at yama.mcc.ac.uk> Organization: Manchester Scientific Instruments Ltd. Path: solitaire.cv.nrao.edu!hearst.acc.Virginia.EDU!news-relay.ncren.net!newsgate.duke.edu!news.mathworks.com!rill.news.pipex.net!pipex!uknet!usenet1.news.uk.psi.net!uknet!uknet!yama.mcc.ac.uk!msi.campus-ventures.co.uk!mark-r Subject: Fitswin95 version 1.1 now available. Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk Hi. Version 1.1 of our FITS viewer for Windows 95 is now available for download. Download it from our Web site at http://msi.campus-ventures.co.uk/msi/fits.html or directly by anonymous FTP to msi.campus-ventures.co.uk in /pub/fits/win. Please read the readme.txt file before installing. The file readme.11 in the same directory lists the changes in version 1.1 Cheers mark-r -- Manchester Scientific Instruments |I'm a slug and I'm alright Campus Ventures Centre. Uni of M/CR.|That's cos I'm hermaphrodite Oxford Rd. Manchester. M13 9PL, UK |It bothers me not that I have no friends http://msi.campus-ventures.co.uk/ |Cos I can have fun with both my ends. From owner-fitsbits at marmoset.cv.nrao.edu Mon Mar 3 11:38:57 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id LAA11198; œMon, 3 Mar 1997 11:38:57 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id FAA06436; Sat, 1 Mar 1997 05:06:56 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id FAA06789 for ; Sat, 1 Mar 1997 05:06:54 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA22535; Sat, 1 Mar 97 05:06:49 EST To: fitsbits at fits.cv.nrao.edu Date: Fri, 28 Feb 1997 10:42:15 -0800 From: owen at astro.washington.edu (Russell E. Owen) Message-Id: Organization: University of Washington Path: solitaire.cv.nrao.edu!out2.nntp.cais.net!news2.cais.com!news.intr.net!news.charm.net!news-dc-10.sprintlink.net!news-pull.sprintlink.net!news.sprintlink.net!news-peer.sprintlink.net!howland.erols.net!usenet.kornet.nm.kr!xfer.kren.nm.kr!hammer.uoregon.edu!zephyr.texoma.net!uunet!in3.uu.net!140.142.64.3!news.u.washington.edu!owen References: <5ehbog$jc1 at darkstar.ucsc.edu> <5ekod7$17m at netline-fddi.jpl.nasa.gov> <5ep2l1$nko at electra.saaf.se> Subject: Re: unsigned images -- RESULTS Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk Thanks to Bill Owen for providing the math that did the trick. I am using C, so I simply toggling the sign bit by XORinig with 8000 hex, but as he pointed out, one could also use an if statement and add/subtract 32768 (depending on the value, to avoid over/underflow). And of course many compilers will simply ignore the under/overflow, allowing straight addition or subtraction. An aside:Paul Schlyter noted that these manipulations assume twos-complement integer representation. Well it turns out that the FITS standard actually REQUIRES that representation. For computers that use something other than twos-complement for signed integers, one technique that would work (I'm not claiming it's the best, I don't know) is: - represent, or convert, the data to 2-byte UNsigned - apply the math listed above to convert the bit pattern to twos complement signed 2-byte integers - use a binary write to dump the data to the FITS file (This is an argument in favor of always using unsigned integers for integer image data; no ambiguity except the inevitable byte order problem). For reading 2-byte integer FITS data, simply reverse the process -- read the data into an unsigned integer array, then perform the math above (it toggles the info, amusingly enough) to produce genuinely signed data. Your machine's own representation of signed data is totally ignored. I have coded this all up and it works perfectly and the code is nice and simple. A general FITS reader that produces 2-byte unsigned integers (my internal representation) would be a lot of work. Fortunately, my program scarcely needs to read FITS at all; it's oocasionally useful to read files I have written, and that's it. So I made things easy by only parsing 2-byte signed FITS files. No sweat. Thanks again, all of you. -- Russell From owner-fitsbits at marmoset.cv.nrao.edu Tue Mar 4 17:12:23 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id RAA16042; œTue, 4 Mar 1997 17:12:23 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id RAA16028; Tue, 4 Mar 1997 17:09:54 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id RAA14486 for ; Tue, 4 Mar 1997 17:09:53 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA10125; Tue, 4 Mar 97 17:09:50 EST To: fitsbits at fits.cv.nrao.edu Date: 4 Mar 1997 15:47:26 GMT From: redshift at pursn3.physics.purdue.edu (Rollin C. Thomas) Message-Id: <5fhg6e$6gv at mozo.cc.purdue.edu> Organization: Purdue University Path: solitaire.cv.nrao.edu!out2.nntp.cais.net!news2.cais.com!in1.nntp.cais.net!feed1.news.erols.com!news.idt.net!enews.sgi.com!decwrl!purdue!mozo.cc.purdue.edu!pursn3.physics.purdue.edu!redshift References: <01bc2820$2da84c00$2bd2c9cc at n9244366> Subject: Re: FITS on the web Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk Paul Borlin (n9244366 at cc.wwu.edu) wrote: : I have recently created a web page containing all the images our school has : created. The images are in several formats including FITS. I have : experience one problem. All the browsers I have used want to load FITS : (and ST6) files directly into the viewing window instead of downloading : them. The only thing I have been able to do to resolve this is to compress : them, and I don't want to do that. I've noticed that most FITS achives : don't. How do I get around this problem? Perhaps instead of specifying a url like "http://blah.edu/whatever/image.fit" you specify "ftp://blah.edu/whatever/" and have an anonymous ftp thingy going? So I assume you guys use a SBIG ST-6? We've got a Meade LX-200 16" with a SBIG ST-6. How you like the setup? Do you use the CCDOPS program with it, or your own? It annoys me how CCDOPS will write, but not read FITS files... Rollin -- Dr. Rollin C. Thomas, Realm Assassin, afab redshift at pursn3.physics.purdue.edu "Do not store Great Bluedini Kool-Aid in a metal container." From owner-fitsbits at marmoset.cv.nrao.edu Fri Mar 7 16:46:39 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id QAA32180; œFri, 7 Mar 1997 16:46:39 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id MAA31659; Fri, 7 Mar 1997 12:08:01 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id MAA15543 for ; Fri, 7 Mar 1997 12:08:00 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA26943; Fri, 7 Mar 97 12:07:57 EST To: fitsbits at fits.cv.nrao.edu Date: Wed, 5 Mar 97 15:57:51 GMT From: tdame at cfa.harvard.edu (Thomas Dame) Message-Id: Organization: Center for Astrophysics Path: solitaire.cv.nrao.edu!hearst.acc.Virginia.EDU!news-dc-10.sprintlink.net!news-pull.sprintlink.net!news.sprintlink.net!news-peer.sprintlink.net!europa.clark.net!newsfeeds.sol.net!mr.net!xfer.kren.nm.kr!usenet.kornet.nm.kr!ames!purdue!oitnews.harvard.edu!cfatmd.harvard.edu!tdame Subject: FITS optical image of M31 Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk Does anyone know where I might find a good optical image of M31 in FITS format? The Digitized Sky Survey on SkyView is a great service, but that image does not show the dust lanes as well as some more recent (non-FITS) images I have seen. I'm especially interested in an image that shows the dust lanes well because I want to overlay recent CO observations. Thanks, Tom Dame From owner-fitsbits at marmoset.cv.nrao.edu Fri Mar 7 16:52:30 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id QAA32194; œFri, 7 Mar 1997 16:52:30 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id QAA32108; Fri, 7 Mar 1997 16:10:35 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id QAA17473 for ; Fri, 7 Mar 1997 16:10:33 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA07634; Fri, 7 Mar 97 16:10:30 EST To: fitsbits at fits.cv.nrao.edu Date: 04 Mar 1997 21:21:02 GMT From: stuart at ll.mit.edu (Joseph Scott Stuart) Message-Id: Organization: MIT Lincoln Laboratory Path: solitaire.cv.nrao.edu!hearst.acc.Virginia.EDU!uunet!in3.uu.net!207.172.3.52!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!cam-news-feed5.bbnplanet.com!llnews.ll.mit.edu!usenet References: <01bc2820$2da84c00$2bd2c9cc at n9244366> Subject: Re: FITS on the web Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk Have a look at the STScI DSS page (http://stdatu.stsci.edu/dss/dss_form.html). They have a button that allows you to select whether you want the fits file to display or download as a file. You should be able to figure out what commands they are using by looking at the HTML or at HTTP traffic. scott From owner-fitsbits at marmoset.cv.nrao.edu Sat Mar 8 10:31:05 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id KAA03398; œSat, 8 Mar 1997 10:31:05 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id WAA32334; Fri, 7 Mar 1997 22:52:26 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id WAA20491 for ; Fri, 7 Mar 1997 22:52:25 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA22224; Fri, 7 Mar 97 22:52:22 EST To: fitsbits at fits.cv.nrao.edu Date: Fri, 07 Mar 1997 18:16:15 +0100 From: Octavi Fors Message-Id: <33204D5F.167E at fajnm1.am.ub.es> Organization: Astronomy Department. University of Barcelona (Spain) Path: solitaire.cv.nrao.edu!out2.nntp.cais.net!news2.cais.com!in1.nntp.cais.net!feeder.chicago.cic.net!cs.utexas.edu!howland.erols.net!news.sgi.com!enews.sgi.com!news-feed.inet.tele.dk!sn.no!gsl-stkh-ns.gsl.net!news.gsl.net!news-penn.gsl.net!news.gsl.net!news.belnet.be!news.rediris.es!news.upc.es!lilith.uab.es!newsmgr References: <331FF40D.41C6 at fajnm1.am.ub.es> Subject: Need FITS viewer source code. Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk Hi, This message is adressed to everybody who develop windows95 applications which display FITS format files. I'm very interested in obtaining any source code written in Visual C++ (or at least in C++ standard) that permitt to display and manipulate FITS files. Thanks in advance, Octavi. From owner-fitsbits at marmoset.cv.nrao.edu Wed Mar 12 09:57:31 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id JAA15614; œWed, 12 Mar 1997 09:57:31 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id VAA12124; Tue, 11 Mar 1997 21:26:53 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id VAA04435 for ; Tue, 11 Mar 1997 21:26:52 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA08385; Tue, 11 Mar 97 21:26:49 EST To: fitsbits at fits.cv.nrao.edu Date: Fri, 07 Mar 1997 18:12:23 -0500 From: "Thomas A. McGlynn" Message-Id: <3320A0D7.F36 at silk.gsfc.nasa.gov> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Path: solitaire.cv.nrao.edu!hearst.acc.Virginia.EDU!news-dc-10.sprintlink.net!news-pull.sprintlink.net!news.sprintlink.net!news-dc-9.sprintlink.net!xfer.kren.nm.kr!nntp.kreonet.re.kr!usenet.kornet.nm.kr!ames!newsfeed.gsfc.nasa.gov!usenet References: <01bc2820$2da84c00$2bd2c9cc at n9244366> Subject: Re: FITS on the web Newsgroups: sci.astro.fits Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk Paul Borlin wrote: > > I have recently created a web page containing all the images our school has > created. The images are in several formats including FITS. I have > experience one problem. All the browsers I have used want to load FITS > (and ST6) files directly into the viewing window instead of downloading > them. The only thing I have been able to do to resolve this is to compress > them, and I don't want to do that. I've noticed that most FITS achives > don't. How do I get around this problem? > > Paul Borlin > Student at Western Washington University This generally depends upon how you've set up the Mime types on the server. If you are indicating that the data is some type that browsers interpret as an image, then when they download the image they will grab an image. Most likely you haven't specified anything and the output is being treated as text and dumped on the browser's screen. Note that most browsers do have a facility to grab something to disk even when it might normally be displayed (e.g. on Netscape use a Right button click and then use the Save Link option). If you set up the Mime types such that the FITS files are designated as an Octet-stream or some such, then most browsers will link onto local disk immediately. So look in your mime.types file... Hope this helps, Tom McGlynn tam at silk.gsfc.nasa.gov From owner-fitsbits at marmoset.cv.nrao.edu Sun Mar 16 16:06:16 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id QAA28653; œSun, 16 Mar 1997 16:06:16 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id JAA28504; Sun, 16 Mar 1997 09:55:12 -0500 Received: from solitaire.cv.nrao.edu (news at solitaire.cv.nrao.edu [192.33.115.79]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with SMTP id JAA15665 for ; Sun, 16 Mar 1997 09:55:09 -0500 (EST) Received: by solitaire.cv.nrao.edu (4.1/DDN-CV/1.10) id AA18238; Sun, 16 Mar 97 09:54:59 EST To: fitsbits at fits.cv.nrao.edu Date: 11 Mar 1997 12:44 EDT From: bschlesinger at nssdca.gsfc.nasa.gov (Barry M. Schlesinger) Message-Id: <11MAR199712444784 at nssdca.gsfc.nasa.gov> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Path: solitaire.cv.nrao.edu!hearst.acc.Virginia.EDU!aruba.odu.edu!news.larc.nasa.gov!night.primate.wisc.edu!ames!newsfeed.gsfc.nasa.gov!nssdca.gsfc.nasa.gov!bschlesinger Reply-To: fits at nssdca.gsfc.nasa.gov Subject: Sources of FITS Information Newsgroups: sci.astro.fits,sci.answers,news.answers Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk Archive-name: astronomy/fits/info-sources Last-modified: 1997/03/11 -------- Sources of FITS Information Preface This material on sources of Flexible Image Transport System (FITS) information is posted and updated periodically by the FITS Support Office at the NASA Goddard Space Flight Center (GSFC). It discusses where general FITS information, including some answers to frequently asked questions, can be found, and provides sources for detailed information on FITS software and documentation. ------- FITS Support Office The FITS Support Office maintains a library of FITS information accessible from http://ssdoo.gsfc.nasa.gov/astro/fits/fits_home.html or ftp://nssdc.gsfc.nasa.gov/pub/fits/. The material available includes o "Definition of FITS", a codification of FITS for the NASA/Science Office of Standards and Technology (NOST), available in LaTeX, uncompressed PostScript, compressed PostScript and (often) ASCII text o "A User's Guide to FITS", published by the FITS Support Office, in LaTeX, and compressed and uncompressed PostScript o Revisions to version 1.0 of the "Definition of FITS" covering the specification of units, which were incorporated into version 1.1 (text) o A current list of the extension type (structure) names registered with the International Astronomical Union FITS Working Group (IAUFWG) (text) o Rules for physical blocking on various media adopted by the IAUFWG (text) In the same directory but accessible directly via http://ssdoo.gsfc.nasa.gov/astro/fits/basics_info.html is the FITS Basics and Information that used to be regularly posted to sci.astro.fits and sci.data.formats. It continues to be revised to reflect current FITS developments. It contains the following material: o An overview of FITS o A list of FITS documents o A list of software packages that support FITS, including FITS <--> image converters for various platforms o A list of on-line FITS resources o A description of the FITS Support Office The hypertext version provides links to many of the documents, software, and network locations listed. The text version provides information on how to obtain much of this material. There is also a hypertext version of the List of Registered Extensions. Links from the Web page and subdirectories of the ftp directory contain o Software developed by the FITS Support Office. o Error test files: primary HDUs useful for testing the ability of software designed to read FITS files to cope with files that have errors or are non-standard. These files should be downloaded in binary form. Printed copies of the material in the FITS directory can be obtained from the Coordinated Request and User Support Office (CRUSO): (Postal) Coordinated Request and User Support Office Code 633 National Space Science Data Center NASA Goddard Space Flight Center Greenbelt MD 20771 USA (Electronic mail) request at nssdca.gsfc.nasa.gov (Telephone) +1-301-286-6695 8:00 A. M. - 4:30 P.M. U. S. Eastern Time (-0500 from the last Sunday in October through the first Saturday in April; -0400 the remainder of the year) When no one is available, messages can be left on voice mail. (FAX) +1-301-286-1635 ------- National Radio Astronomy Observatory (NRAO) A FITS Archive can be found at URL http://fits.cv.nrao.edu/ or at ftp://fits.cv.nrao.edu/fits, located at NRAO. This machine supports a WAIS server named nrao-fits which has an index of all of the FITS-related text files in the archive; the file nrao-fits.src is available at think.com and at ftp://fits.cv.nrao.edu/fits/wais-sources/nrao-fits.src. Some of the more noteworthy materials in this archive are o Drafts of proposed additions to the FITS standard and other drafts that may in the future be formally proposed o Text of any detailed proposals currently being discussed by the FITS committees o A collection of documents on World Coordinate Systems, including the current draft proposal o Conventions specific to particular projects or disciplines o Software for various environments and Usenet postings about code o Sample data and special test files designed to measure the ability of a FITS reader to handle a wide variety of FITS files o Archives of traffic on FITS-related newsgroups and exploders A separate NRAO site, http://www.cv.nrao.edu/~bcotton/fitsview.html, provides information on the FITSview family of software packages for display of FITS images on Microsoft Windows 3.1 and Windows 95, Apple Macintosh, and Unix/X-Windows, with links to the software. It also links to a number of sources of astronomical FITS images. ------- HEASARC The NASA/Goddard High Energy Astrophysics Science Archive Research Center (HEASARC) Web server at http://heasarc.gsfc.nasa.gov/docs/heasarc/fits.html and the anonymous ftp access through ftp://heasarc.gsfc.nasa.gov/fits_info/ provide FITS material. HEASARC has developed the FITSIO package of software routines for easily reading and writing FITS files, with FORTRAN and C versions available, portable to a wide variety of machines. There are also the FTOOLS collection of software tools, the VERIFITS FITS conformance verifier, and the fv FITS file viewer and editor. HEASARC software is available directly through http://heasarc.gsfc.nasa.gov/docs/heasarc/tech_res_software.html or ftp://heasarc.gsfc.nasa.gov/fits_info/software/ . The HEASARC server also provides information from the HEASARC FITS Working Group, (HFWG) the internal legislative body on FITS-related matters within the Office of Guest Investigator Programs (OGIP) at NASA/GSFC, at http://heasarc.gsfc.nasa.gov/docs/heasarc/ofwg/ofwg_intro.html or at ftp://heasarc.gsfc.nasa.gov/fits_info/ in the directories ofwg_minutes and ofwg_recomm. The HFWG has developed a number of FITS conventions that are more specific than the requirements of the FITS standards. Proposed conventions are publicized to the FITS community as a whole, with the goal of collaborative development of a set of conventions that will be accepted throughout the community as well as within OGIP/HEASARC. ------- Direct questions about this posting to Barry M. Schlesinger Coordinator, FITS Support Office Electronic mail: fits at nssdca.gsfc.nasa.gov Telephone: +1-301-286-2899 The FITS Support Office is operated under the guidance of the NASA/GSFC Astrophysics Data Facility. From owner-fitsbits at marmoset.cv.nrao.edu Tue Mar 25 10:04:51 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id KAA31337; œTue, 25 Mar 1997 10:04:51 -0500 Received: from fits.cv.nrao.edu (fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id JAA31300; Tue, 25 Mar 1997 09:30:09 -0500 Received: from cv3.cv.nrao.edu (root at cv3.cv.nrao.edu [192.33.115.2]) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) with ESMTP id JAA22842 for ; Tue, 25 Mar 1997 09:30:08 -0500 (EST) Received: from web3.hq.eso.org (web3.hq.eso.org [134.171.7.4]) by cv3.cv.nrao.edu (8.8.5/8.8.5/CV-2.4) with ESMTP id JAA14867 for ; Tue, 25 Mar 1997 09:30:04 -0500 (EST) Message-Id: <199703251425.PAB28939 at ns2.hq.eso.org> To: fitsbits at fits.cv.nrao.edu Subject: Clarification of EFC Motion in Support of DATE-OBS Proposal Date: Tue, 25 Mar 1997 15:25:03 +0100 From: Preben Grosbol Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk We received some comments regarding the 'Motion in support of DATE-OBS proposal' by the European FITS Committee after it was posted on the 'sci.astro.fits' News Group. They suggest that the wording of our first comment: 1) that UTC is made mandatory for all DATExxxx keywords including DATE-OBS, and was unclear and could be misinterpreted to imply the usage of date/time format only. This was NOT the intention of the European FITS Committee which was concerned with the UTC time scale to define start of day but always regarded the combined date/time format as optional. To clarify this issue we have rephrased our first comment as: 1) that the use of UTC time scale is made mandatory for all DATExxxx keywords including DATE-OBS both for date and date/time representations (i.e. 'ccyy-mm-dd' and 'ccyy-mm-ddThh:mm:ss[.sss...]Z' formats), This new wording was approved unanimously by the European FITS Committee. The complete motion then reads: "The European FITS Committee endorses the proposal for 'Precise re-definition of DATE-OBS Keyword' as described in the 'sci.astro.fits' News Groups posting: 'DATE-OBS and the millennium; the proposal.' of 1996-11-19T16:56:22+0000 by Peter Bunclark, RGO (Article: 1541 of sci.astro.fits) with the following comments: The European FITS Committee suggests 1) that the use of UTC time scale is made mandatory for all DATExxxx keywords including DATE-OBS both for date and date/time representations (i.e. 'ccyy-mm-dd' and 'ccyy-mm-ddThh:mm:ss[.sss...]Z' formats), 2) that the Appendix should not be a part of the proposal but only appended for information. It is recommended that the proposal is forwarded to the IAU FITS Working Group for final approval. It is recognized that minor technical changes and clarifications may be implemented in this process. This endorsement will first be effective when the North American FITS Group within the AAS WGAS and the Japanese FITS Group adopt similar resolution in support of this proposal." Best regards, Preben Grosbol, European FITS Committee, Chair. From owner-fitsbits at marmoset.cv.nrao.edu Fri Mar 28 10:45:55 1997 Received: (from majdom at localhost) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) id KAA11263; œFri, 28 Mar 1997 10:45:55 -0500 Received: from fits.cv.nrao.edu (dwells at fits.cv.nrao.edu [192.33.115.8]) by marmoset.cv.nrao.edu (8.8.5/8.8.5: $Revision: 2.2 $) with ESMTP id KAA11248; Fri, 28 Mar 1997 10:44:41 -0500 Received: (from dwells at localhost) by fits.cv.nrao.edu (8.8.5/8.8.0/CV-2.2) id KAA26692; Fri, 28 Mar 1997 10:44:37 -0500 (EST) Date: Fri, 28 Mar 1997 10:44:37 -0500 (EST) From: Don Wells Message-Id: <199703281544.KAA26692 at fits.cv.nrao.edu> To: fitsbits at fits.cv.nrao.edu Subject: Happy Birthday, FITS! Sender: owner-fitsbits at marmoset.cv.nrao.edu Precedence: bulk Dear friends of FITS, I consider today, March 28th, to be the birthday of FITS, because it was on this day in 1979 that Eric Greisen and I negotiated the original FITS Agreement. FITS is 18 years old today. Five years ago, as a birthday present for FITS, I prepared my version of the early history and pre-history of FITS; see this URL: http://www.cv.nrao.edu/fits/documents/overviews/history.news The supply of original reprints of FITS papers is not yet exhausted: 8 copies of "FITS: A Flexible Image Transport System", Wells, Greisen, Harten, A&A Suppl. 44, 363-370 (June 1981). This is the Basic FITS paper, the original reference. 7 copies of "The FITS tape formats: flexible image transport systems", Greisen, Wells, Harten, SPIE 264, 298 (1980). This was actually the first published paper about FITS. It is notable for its Figure 2, a superb schematic illustration of the random groups data structure concept as realized in a FITS file; this concept is also applicable to many BINTABLE data structures. 18 copies of "An extension of FITS for groups of small arrays of data", Greisen, Harten, A&A Suppl. 44, 371-374 (June 1981). This is the Random Groups paper, a key part of the conceptual basis for the BINTABLE Agreement of 1991. 15 copies of "Binary table extension to FITS", Cotton, Tody, Pence, A&A Suppl. 113, 159-166 (1995). This is the BINTABLE paper. I will be delighted to mail out sets of these reprints until the supply is exhausted; send your requests to me by Email. Best regards, Don Wells (Chair, IAU FITS Working Group) -- Donald C. Wells Associate Scientist dwells at nrao.edu http://fits.cv.nrao.edu/~dwells National Radio Astronomy Observatory +1-804-296-0277 520 Edgemont Road, Charlottesville, Virginia 22903-2475 USA