wcslib.js Coordinate Translation

WebAssembly-powered WCS coordinate transformations in the browser

About: This demo uses wcslib.js (a JS/WebAssembly transpilation of WCSLIB using emscripten) to convert between pixel coordinates and sky coordinates (RA/Dec) using the WCS information from a JWST NIRCam FITS header. Click on the image to see the sky coordinates, or enter values manually below. The source image is a crop of the F150W band from GOODS-S field from the JADES survey, downloaded from MAST.
Loading wcslib.js...

📷 Image View

Click anywhere on the image to get sky coordinates

JWST NIRCam Image
WCS Header Info
CRPIX1-CRPIX2-
CRVAL1 (RA)-CRVAL2 (Dec)-
CTYPE1-CTYPE2-
CDELT1-CDELT2-

🔄 Coordinate Converter

Convert between pixel and sky coordinates

Pixel → Sky

RA (degrees)
-
Dec (degrees)
-

Sky → Pixel

Pixel X
-
Pixel Y
-