RAS_FORMATS(1NCAR)
π RAS_FORMATS π
okay bestie, welcome to the RAS_FORMATS(1NCAR) page from the NCAR VIEW manual β yes, that NCAR VIEW, the one with the raster tea π«β¨. sit down, hydrate, and let's talk raster formats.
π NAME π
ras_formats β literally the whole lore on raster formats that NCAR Graphics and NCAR View can handle. that's it, that's the job π
β¨ SYNOPSIS β¨
Abekas A60, AVS, Generic Binary, HDF, HPPCL, NRIF, Sun, SGI, and XWD.
look at that lineup. it's giving roster reveal π
π¦ DESCRIPTION π¦
so here's the vibe: NCAR Graphics and NCAR View apps are all built on top of one shared library, and that library is the one doing all the reading and writing of raster imagery. main character library behavior, honestly.
the rundown below shows exactly what support exists for every format. important though β a format can be writeable without being readable, and a compressed image can be readable without being writeable. they're not the same thing, don't get it twisted π
by default, a raster image gets written as compressed if possible. and for the apps that figure out the raster format by peeking at the filename, or that let you pass a -ifmt or -ofmt, you use the extension listed below without the "." in front β so you'd say hdf, not .hdf. no cap, the dot is not invited to the party π
- Abekas A60 (
.a60) β encoding RGB24, input Yes, output Yes, compression None - AVS (
.avs) β encoding RGB24, input Yes, output Yes, compression None - HDF (
.hdf) β encoding Indexed-8, input Yes, output Yes, compression In/Out - HDF (
.hdf) β encoding Direct-24, input Yes, output Yes, compression In/Out - HPPCL (
.hppcl) β encoding Indexed-8, input No, output Yes, compression Out - NRIF (
.nrif) β encoding Bilevel, input No, output No, compression None - NRIF (
.nrif) β encoding Indexed-8, input Yes, output Yes, compression In/Out - NRIF (
.nrif) β encoding Direct-24, input Yes, output Yes, compression In/Out - Sun (
.sun) β encoding Indexed-8, input Yes, output Yes, compression In - Sun (
.sun) β encoding Direct-24, input Yes, output No, compression In - SGI (
.sgi,.rgb) β encoding Direct-24, input Yes, output Yes, compression In - XWD (
.xwd) β encoding Indexed-8, input Yes, output Yes, compression None
π CAVEATS π
bestie, listen. not every format and encoding that's supported for output is supported for input β the software keeps separate input and output drivers for each format/encoding pair. two different guys. different job descriptions. periodt.
and for all the formats listed below, only 8-bit pixels and 8-bit run-lengths (where applicable) are supported. that's the whole range, okay, we're not doing more πΈ
also, real talk about HDF's "advanced" compression option: experience indicates you should only use it if you consider random pixels an advanced-appearing image. π iconic warning, honestly.
π SEE ALSO π
rasview(1NCARG)rasls(1NCARG)rascat(1NCARG)rasgetpal(1NCARG)rassplit(1NCARG)- Hardcopy: NCAR Graphics Fundamentals, UNIX Version
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
and that's the whole page, bestie π this was brought to you by NCAR, dated February 1993 β yeah, the vintage is vintage, and it still ate πβ¨ go read your rasters, love you, bye π«Ά
π¦ where this page comes from
- epel 9: ncl-common 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-common 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-common 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms