Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Spotlight plugin for FITS files.
C C++
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
English.lproj
FITSImporter.xcodeproj
French.lproj
Resources
qfits
.gitignore
GetMetadataForFile.c
Info.plist
README.md
main.c
schema.xml

README.md

FITSImporter

FITSImporter is an OSX Spotlight plugin for FITS (Flexible Image Transport System) files (used by astronomers worldwide to store and share their data).

You can directly download it, from onekilopars.ec website.

Unzip, and put it here:

${HOME}/Library/Spotlight

and then run the following command in your Terminal.

/usr/bin/mdimport -r ${HOME}/Library/Spotlight/FITSImporter.mdimporter

If you build from the souce, the Xcode scheme post-build action will do it for you.

Once done, you can look for FITS files in your drive using Spotlight.

If you have troubles with your FITS files being recognized by Gimp.app or SAO ds9.app, you can unlink these apps to the fits extensions. To unlink, run this command:

lsregister -u /Applications/<Path to your app>

The tool is located here:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister

Flattr this (@onekiloparsec).

It is released open source under the GNU General Public Licence.

Below a typical "Get Info" panel applied to a FITS file, with FITSImporter installed.

A typical "search" in the Finder. As you can see, you can search for FITS files using typical astronomical informations (R.A, Dec and so on).

Be careful, though, the FITSImporter is not responsible for the automatic thumbnailing of the FITS images you can see above (in the CoverFlow of the Finder). That's the role of QLFits, the OSX QuickLook plugin for FITS files.

Something went wrong with that request. Please try again.