EnglishFrenchSpanish

Ad


OnWorks favicon

mBestImage - Online in the Cloud

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

This is the command mBestImage 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

PROGRAM:

NAME


mBestImage - Determine which image covers a location "best"

SYNOPSIS


mBestImage [-d level] images.tbl ra dec

DESCRIPTION


Given a list of images and a position on the sky, determine which image covers the
location "best" (i.e., the one where the position is farthest from the nearest edge).

OPTIONS


-d debug
Turn on debugging to the specified level (1 or 2)

ARGUMENTS


images.tbl
Input table of image metadata (as generated by mImgtbl).

ra RA of location of interest (in degrees)

dec Declination of location of interest (in degrees)

RESULT


[struct stat="OK", file="filename", edgedist=distance]

or

[struct stat="OK", file="filename", url="fileurl", edgedist=distance]

where filename is the name of the "best" image found in images.tbl and distance is
measured from the point of interest to the nearest edge of the image. If the input table
included a URL column, the output message will also include the image's URL.

MESSAGES


OK [struct stat="OK", file="filename", url="fileurl", edgedist=distance"]

OK [struct stat="OK", file="filename", edgedist=distance"]

ERROR Invalid image metadata file: images.tbl

ERROR Need columns: cntr and fname; ctype1 ctype2 nl ns crval1 crval2 crpix1 crpix2
cdelt1 cdelt2 and crota2 or cd matrix / ra dec ra1 ... dec4

ERROR Bad WCS for image fitsfile

ERROR No image covers this position.

EXAMPLES


Given a table of image metadata describing images covering a 0.5 by 0.5 degree area around
m31 (2mass_m31_j.tbl), narrow it down to the image which includes the best coverage of one
particular location:

mBestImage 2mass_m31_j.tbl 10.7 41.2
[struct stat="OK", file="2mass-atlas-971024n-j0080033.fits", edgedist=0.008436]

Use mBestImage online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad