MPNGWWTEXEC(1)
π mPNGWWTExec β Montage's lil' tile-renderer bestie β¨
okay so this is mPNGWWTExec, part of Montage (manual page 1, Dec 2016, Montage 5 β iykyk). She's the girl who runs mViewer for every single tile you need for a WWT TOAST set. π
heads up bestie: your FITS tile files should already have been generated using mProjWWTExec before you come to her. She does not make them. She renders them. periodt.
β¨ SYNOPSIS β¨
grayscale mode, the simple era:
mPNGWWTExec [-d lev] colorTable tileLevel baseName grayDir gray.hist
pngDir
color mode, the main character era:
mPNGWWTExec -c [-d lev] trueColor tileLevel baseName blueTileDir
blue.hist greenTileDir green.hist redTileDir red.hist pngDir
π¦ DESCRIPTION π¦
She runs mViewer for all the tiles needed for a WWT TOAST set. That's it, that's the job. π
And fr fr, the FITS tile files should already have been generated using mProjWWTExec β she is not out here generating them for you. Do your homework first. π
πΈ OPTIONS πΈ
-cβ switches to color mode, which means a totally different argument set. Glow up. π-dlevel β turns on debugging to some level. How much? Whatever level you type, bestie.
π§ ARGUMENTS π§
π grayscale mode vibes
colorTableβ the grayscale color table. Peep themViewerdocs for the details, she's not gonna spell it out here.tileLevelβ the depth of WWT TOAST tiles you want. This should be no bigger than the depth to which the FITS files were actually created. Don't be greedy. πbaseNameβ base name for tiles. For instance, an output tile named"planck3102.png"has the base name"planck". See how that works? Iconic.grayDirβ directory containing grayscale FITS TOAST files, previously created withmProjWWTExec.gray.histβ histogram used for stretching grayscale FITS files, previously created withmHistogram.pngDirβ directory for output PNGs.
π color mode vibes
trueColorβ color enhancement parameter. Check themViewerdocs for details; set it to zero for no special enhancement.tileLevelβ the depth of WWT TOAST tiles desired. Should be no bigger than the depth to which the FITS files were created.baseNameβ base name for tiles. For instance, an output tile named"planck3102.png"has the base name"planck".blueDirβ directory containing blue FITS TOAST files, previously created withmProjWWTExec.blue.histβ histogram used for stretching blue FITS files, previously created withmHistogram.greenDirβ directory containing green FITS TOAST files, previously created withmProjWWTExec.green.histβ histogram used for stretching green FITS files, previously created withmHistogram.redDirβ directory containing red FITS TOAST files, previously created withmProjWWTExec.red.histβ histogram used for stretching red FITS files, previously created withmHistogram.pngDirβ directory for output PNGs.
π RESULT π
Like mProjWWTExec, this utility has a limitation, and we're gonna say it plainly: all the output files get put in a single directory. π¬ This may become unworkable if the tiles go deep enough. This shortcoming can be easily overcome, but the details will depend on the details of your input data, so they opted for a simple initial approach. It's giving "we know, we know." π
π¬ MESSAGES π¬
OK [struct stat="OK", level=level, nimage=count]β the good ending. π«ΆERROR Problem with FITS file.ERROR Cannot find histogram file [histfile].ERROR [dir] is not a directory.ERROR Problem creating output PNG directory.ERROR Problem with output PNG directory.ERROR mViewer error message
β EXAMPLES β
$ mPNGWWTExec -d 1 4 4 Planck fits gray.hist pngs
[struct stat="OK", level=4, nimage=341]
look at that OK with level=4 and nimage=341. she ate. π₯
π BUGS π
- The drizzle algorithm has been implemented but has not been tested in this release. So like... it's there. Nobody knows. π«
- If a header template contains carriage returns (i.e., created/modified on a Windows machine), the cfitsio library will be unable to read it properly, resulting in the error:
[struct stat="ERROR", status=207, msg="illegal character in keyword"] - It is best for the background correction algorithms if the area described in the header template completely encloses all of the input images in their entirety. If parts of input images are "chopped off" by the header template, the background correction will be affected. They recommend you use an expanded header for the reprojection and background modeling steps, returning to the originally desired header size for the final coaddition. The default background matching assumes that there are no non-linear background variations in the individual images (and therefore in the overlap differences). If there is any uncertainty in this regard, it is safer to turn on the "level only" background matching (the
-lflag inmBgModel). ngl, this one's important, read it twice. π
π COPYRIGHT π
2001-2015 California Institute of Technology, Pasadena, California
If your research uses Montage, please include the following acknowledgement: "This research made use of Montage. It is funded by the National Science Foundation under Grant Number ACI-1440620, and was previously funded by the National Aeronautics and Space Administration's Earth Science Technology Office, Computation Technologies Project, under Cooperative Agreement Number NCC5-626 between NASA and the California Institute of Technology."
The Montage distribution includes an adaptation of the MOPEX algorithm developed at the Spitzer Science Center.
okay that's the whole page bestie π
this was Montage 5, dated Dec 2016, and the source is the Montage manual for mPNGWWTExec(1) β go forth and render those tiles, you absolute legend πβ¨π¦
π¦ where this page comes from
- debian bookworm: montage 6.0+dfsg-7+b8 Β· BSD-3-Clause
- debian trixie: montage 6.1+dfsg-1+b1 Β· BSD-3-Clause
- ubuntu jammy: montage 6.0+dfsg-7build5 Β· BSD-3-Clause
- ubuntu noble: montage 6.0+dfsg-9 Β· BSD-3-Clause
- ubuntu questing: montage 6.1+dfsg-2
- ubuntu resolute: montage 6.1+dfsg-2build2 Β· BSD-3-Clause
- ubuntu stonking: montage 6.1+dfsg-2build2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms