OnWorks favicon

dtfits - Online in the Cloud

Run dtfits in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dtfits that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dtfits - display FITS table


dtfits <table>


dtfits dumps the contents of a FITS table in an ASCII format, either into a user-specified
file or on stdout. The output is formatted on a fixed number of columns to make it
readable by human beings. Additional informations are printed out before the table values
are dumped, these informations can be skipped by using the -d option.

Last, if you want to dump the table into an easily parsable format (for a piece of
software), you might want to use the -s option which specifies a character to use as
separator. All data fields will be printed out separated by this character only. This
allows to use string parsers to cut down the output lines into tokens by looking for this
separator. Fields (lines) will still be delimited by the end-of-line character. This
option produces ASCII tables which are easy to parse for a piece of software but mostly
unreadable to human beings.

Notice that dtfits only accepts one single FITS table in input.


-d Skip information output about the table and column names. Outputs only the table
values. Beware that if the FITS file contains several extensions, they will all
appear one after another, separated only by two blank lines. In that case, it would
be preferrable to keep the complete output and parse out the returned stream to
differentiate which data come from where.

-s <char>
Use the character <char> as separator in output. This option is useful if you want
to produce a table that should be parsed by a piece of software (see above
description). The separator can only be a single non-null character. To avoid
special characters being interpreted by the shell, it is recommended to provide
this character always between simple or double quotes. Example:
dtfits -s '&' table.tfits

If you want to use a special character as separator, such as a tab, use ^V to insert your
character, such as:
dtfits -s '^V<TAB>' table.tfits

which means: you type CTRL-V and then the tab key.

Use dtfits online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 2
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 3
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 5
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    With Hugin you can assemble a mosaic of
    photographs into a complete immersive
    panorama, stitch any series of
    overlapping pictures and much more..
    Audience: Sci...
    Download Hugin
  • 7
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands