glgrib(1)
๐ glgrib โ the Unix manual page, but make it cute ๐
okay bestie, pull up a chair, we're reading the glgrib(1) manual together and honestly? it's kind of iconic. ๐ซถ
๐ธ NAME ๐ธ
glgrib โ display GRIB edition fields using OpenGL. that's it. that's the girl. โจ
๐ SYNOPSIS ๐
so basically, here's how you call her. review mode first (and yes, you scroll through with PageUp/PageDown):
$ glgrib share/data/diff/ICMSHFCST+0001
just one single field, nothing extra, lowkey minimal:
$ glgrib share/data/diff/ICMSHFCST+0001%PROFTEMPERATURE
$ glgrib share/data/ecmwf/ecmf_0_1_0_ml_137_q.grib2
feeling comparative? diff mode:
$ glgrib --diff share/data/diff/ICMSHFCST+0001 share/data/diff/ICMSHFCST+0002
and if you want every option cranked up, full-send mode:
$ glgrib --field[0].path share/data/ecmwf/ecmf_0_1_0_ml_137_q.grib2 --coast.on
bestie, run --help-long if you want the full help. she will tell you everything, no gatekeeping. ๐
๐ฆ DESCRIPTION ๐ฆ
glgrib is an application that displays fields encoded in GRIB edition 2, using OpenGL. yes, actual graphics, actual vibes. ๐
here's the feature set, and it's giving range:
- raster
- contour
- vector
- colorbar
- mapscale
- coastlines
- borders
- Lat/lon, lambert, gaussian grid
- GLFW backend for interactive display, which is
glgrib-glfw - EGL backend, which is
glgrib-egl, for batch processing without an X11 display
and she was tested on โ shoutout to these graphics cards, they carried:
VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen
Core Processor Integrated Graphics Controller (rev 06)
VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wani
[Radeon R5/R6/R7 Graphics] (rev c8)
3D controller: NVIDIA Corporation GV100GL [Tesla V100S PCIe 32GB] (rev
a1)
โจ OPTIONS โจ
okay this is the big one, the main character section, the way that this list just keeps going ๐ญ every single one of these gets a type, a default, and a whole personality. no skipping, we're doing all of them, periodt.
--border.countries.onโ Type:BOOLEAN, Default:TRUEโ Display countries.--border.lines.colorโ Type:COLOR, Default:#ffffffffโ Coastlines color.--border.lines.formatโ Type:STRING, Default:gshhgโ Input format.--border.lines.latmaxโ Type:FLOAT, Default:0โ Maximum latitude.--border.lines.latminโ Type:FLOAT, Default:0โ Minimum latitude.--border.lines.lonmaxโ Type:FLOAT, Default:0โ Maximum longitude.--border.lines.lonminโ Type:FLOAT, Default:0โ Minimum longitude.--border.lines.pathโ Type:STRING, Default:coastlines/gshhg/WDBII_bin/wdb_borders_f.bโ Path to lines file.--border.lines.scaleโ Type:SCALE, Default:1.005โ Coastlines scale.--border.lines.selectorโ Type:STRING, Default:""โ Selector.--border.lines.visible.onโ Type:BOOLEAN, Default:TRUEโ Lines are visible.--border.onโ Type:BOOLEAN, Default:FALSEโ Display borders.--border.regions.onโ Type:BOOLEAN, Default:FALSEโ Display regions.--border.sea.onโ Type:BOOLEAN, Default:FALSEโ Display sea borders.--cities.labels.font.bitmap.pathโ Type:PATH, Default:fonts/08.bmpโ Bitmap path.--cities.labels.font.bitmap.scaleโ Type:FLOAT, Default:0.05โ Bitmap scale.--cities.labels.font.color.backgroundโ Type:COLOR, Default:#00000000โ Background color.--cities.labels.font.color.foregroundโ Type:COLOR, Default:#ffffffffโ Foreground color.--cities.labels.onโ Type:BOOLEAN, Default:FALSEโ Enable city names display.--cities.onโ Type:BOOLEAN, Default:FALSEโ Display cities.--cities.points.colorโ Type:COLOR, Default:#ffffffffโ Point color.--cities.points.palette.colorsโ Type:COLOR-LIST, Default:""โ Palette colors.--cities.points.palette.fixed.onโ Type:BOOLEAN, Default:FALSEโ Fixed palette.--cities.points.palette.generate.levelsโ Type:INTEGER, Default:10โ Number of values to generate.--cities.points.palette.generate.onโ Type:BOOLEAN, Default:FALSEโ Generate values.--cities.points.palette.linear.onโ Type:BOOLEAN, Default:FALSEโ Linear colorbar display.--cities.points.palette.maxโ Type:FLOAT, Default:-3.40282e+38โ Palette max value.--cities.points.palette.minโ Type:FLOAT, Default:3.40282e+38โ Palette min value.--cities.points.palette.nameโ Type:PALETTE-NAME, Default:noneโ Palette name.--cities.points.palette.ncolorsโ Type:INTEGER, Default:256โ Number of colors.--cities.points.palette.offsetโ Type:FLOAT, Default:0โ Offset for colorbar figures.--cities.points.palette.rainbow.direct.onโ Type:BOOLEAN, Default:FALSEโ Direct/indirect rainbow.--cities.points.palette.rainbow.onโ Type:BOOLEAN, Default:FALSEโ Generate rainbow palette.--cities.points.palette.scaleโ Type:FLOAT, Default:1โ Scale for colorbar figures.--cities.points.palette.valuesโ Type:FLOAT-LIST, Default:""โ Palette values.--cities.points.scaleโ Type:SCALE, Default:1โ Scale.--cities.points.size.valueโ Type:FLOAT, Default:1โ Point size.--cities.points.size.variable.onโ Type:BOOLEAN, Default:FALSEโ Enable variable point size.--cities.points.visible.onโ Type:BOOLEAN, Default:TRUEโ Points are visible.--coast.lakes.onโ Type:BOOLEAN, Default:FALSEโ Display lakes coastlines.--coast.lines.colorโ Type:COLOR, Default:#ffffffffโ Coastlines color.--coast.lines.formatโ Type:STRING, Default:gshhgโ Input format.--coast.lines.latmaxโ Type:FLOAT, Default:0โ Maximum latitude.--coast.lines.latminโ Type:FLOAT, Default:0โ Minimum latitude.--coast.lines.lonmaxโ Type:FLOAT, Default:0โ Maximum longitude.--coast.lines.lonminโ Type:FLOAT, Default:0โ Minimum longitude.--coast.lines.pathโ Type:STRING, Default:coastlines/gshhg/GSHHS_bin/gshhs_h.bโ Path to lines file.--coast.lines.scaleโ Type:SCALE, Default:1.005โ Coastlines scale.--coast.lines.selectorโ Type:STRING, Default:""โ Selector.--coast.lines.visible.onโ Type:BOOLEAN, Default:TRUEโ Lines are visible.--coast.onโ Type:BOOLEAN, Default:FALSEโ Display coastlines.--colorbar.font.bitmap.pathโ Type:PATH, Default:fonts/16.bmpโ Bitmap path.--colorbar.font.bitmap.scaleโ Type:FLOAT, Default:0.02โ Bitmap scale.--colorbar.font.color.backgroundโ Type:COLOR, Default:#00000000โ Background color.--colorbar.font.color.foregroundโ Type:COLOR, Default:#ffffffffโ Foreground color.--colorbar.formatโ Type:STRING, Default:%6.4gโ Format (sprintf) use to display numbers.--colorbar.levels.numberโ Type:INTEGER, Default:11โ Colorbar number of levels.--colorbar.levels.valuesโ Type:FLOAT-LIST, Default:""โ Colorbar level values.--colorbar.onโ Type:BOOLEAN, Default:FALSEโ Activate colorbar.--colorbar.position.xmaxโ Type:FLOAT, Default:0.18โ Colorbar xmax.--colorbar.position.xminโ Type:FLOAT, Default:0.08โ Colorbar xmin.--colorbar.position.ymaxโ Type:FLOAT, Default:0.95โ Colorbar ymax.--colorbar.position.yminโ Type:FLOAT, Default:0.05โ Colorbar ymin.--departements.lines.colorโ Type:COLOR, Default:#ffffffffโ Coastlines color.--departements.lines.formatโ Type:STRING, Default:shapelineโ Input format.--departements.lines.latmaxโ Type:FLOAT, Default:0โ Maximum latitude.--departements.lines.latminโ Type:FLOAT, Default:0โ Minimum latitude.--departements.lines.lonmaxโ Type:FLOAT, Default:0โ Maximum longitude.--departements.lines.lonminโ Type:FLOAT, Default:0โ Minimum longitude.--departements.lines.pathโ Type:STRING, Default:coastlines/departements/departements-20180101.shpโ Path to lines file.--departements.lines.scaleโ Type:SCALE, Default:1.005โ Coastlines scale.--departements.lines.selectorโ Type:STRING, Default:""โ Selector.--departements.lines.visible.onโ Type:BOOLEAN, Default:TRUEโ Lines are visible.--departements.onโ Type:BOOLEAN, Default:FALSEโ Display departements.--diff.onโ Type:BOOLEAN, Default:FALSEโ Enable difference mode.--diff.pathโ Type:STRING-LIST, Default:""โ Files to show in diff mode.--field[0].contour.labels.distminโ Type:FLOAT, Default:3
and yeah, we're cutting off right there โ there's so much more where that came from, bestie. this list does not end, she keeps going, and we're gonna read every last crumb of it. ๐
Minimal length in degrees for labelled lines
--field[0].contour.labels.font.bitmap.pathโ Type:PATH; Default:fonts/08.bmp; this is literally the bitmap path, bestie ๐--field[0].contour.labels.font.bitmap.scaleโ Type:FLOAT; Default:0.05; bitmap scale, periodt โจ--field[0].contour.labels.font.color.backgroundโ Type:COLOR; Default:#00000000; background color, duh ๐--field[0].contour.labels.font.color.foregroundโ Type:COLOR; Default:#ffffffff; foreground color, slay ๐ฆ--field[0].contour.labels.formatโ Type:STRING; Default:%12.2f; format to print labels, iykyk ๐ธ--field[0].contour.labels.onโ Type:BOOLEAN; Default:FALSE; enable labels, bestie ๐--field[0].contour.lengthsโ Type:FLOAT-LIST; Default:""; list of dash lengths, no cap ๐ซถ--field[0].contour.levelsโ Type:FLOAT-LIST; Default:""; list of levels, periodt ๐ญ--field[0].contour.maxโ Type:FLOAT; Default:-3.40282e+38; max level, iconic ๐ฅ--field[0].contour.minโ Type:FLOAT; Default:3.40282e+38; min level, lowkey ๐--field[0].contour.numberโ Type:INTEGER; Default:10; number of levels, fr fr ๐--field[0].contour.patternsโ Type:STRING-LIST; Default:""; list of dash patterns, bestie โญ--field[0].contour.widthsโ Type:FLOAT-LIST; Default:""; list of widths, periodt ๐--field[0].diff.onโ Type:BOOLEAN; Default:FALSE; show field difference, slay ๐--field[0].fatal.onโ Type:BOOLEAN; Default:FALSE; fatal error if field fails to be created, no pressure ๐--field[0].geometry.check.onโ Type:BOOLEAN; Default:FALSE; check geometry, iykyk ๐ง--field[0].geometry.frame.color1โ Type:COLOR; Default:#ffffffff; first frame color, iconic ๐--field[0].geometry.frame.color2โ Type:COLOR; Default:#505050ff; second frame color, periodt ๐--field[0].geometry.frame.dlatโ Type:FLOAT; Default:10; latitude interval, bestie โจ--field[0].geometry.frame.dlonโ Type:FLOAT; Default:10; longitude interval, slay ๐--field[0].geometry.frame.onโ Type:BOOLEAN; Default:FALSE; draw frame around domain, no cap ๐ฆ--field[0].geometry.frame.widthโ Type:FLOAT; Default:0; frame width, duh ๐ธ--field[0].geometry.gaussian.apply_norm_scale.onโ Type:BOOLEAN; Default:TRUE; apply norm scaling, periodt ๐ซถ--field[0].geometry.gaussian.fit.onโ Type:BOOLEAN; Default:FALSE; fit Gaussian latitude retrieval, iykyk ๐ญ--field[0].geometry.gencoords.onโ Type:BOOLEAN; Default:FALSE; generate coordinates on GPU when possible, slay ๐ฅ--field[0].geometry.height.onโ Type:BOOLEAN; Default:FALSE; enable height, bestie ๐--field[0].geometry.height.pathโ Type:FIELD-REF; Default:""; height field path, periodt ๐--field[0].geometry.height.scaleโ Type:FLOAT; Default:0.05; scale to apply to height field, no cap โญ--field[0].geometry.subgrid.onโ Type:BOOLEAN; Default:FALSE; create subgrid, iconic ๐--field[0].geometry.triangle_strip.onโ Type:BOOLEAN; Default:TRUE; enable use of triangle strip, periodt ๐--field[0].hilo.font.bitmap.pathโ Type:PATH; Default:fonts/08.bmp; bitmap path, bestie ๐--field[0].hilo.font.bitmap.scaleโ Type:FLOAT; Default:0.05; bitmap scale, slay ๐ง--field[0].hilo.font.color.backgroundโ Type:COLOR; Default:#00000000; background color, duh ๐--field[0].hilo.font.color.foregroundโ Type:COLOR; Default:#ffffffff; foreground color, periodt ๐--field[0].hilo.onโ Type:BOOLEAN; Default:FALSE; display low & high, iykyk โจ--field[0].hilo.radiusโ Type:FLOAT; Default:10; high/low radius in degrees, no cap ๐--field[0].isofill.levelsโ Type:FLOAT-LIST; Default:""; list of levels, bestie ๐ฆ--field[0].isofill.maxโ Type:FLOAT; Default:-3.40282e+38; max level, slay ๐ธ--field[0].isofill.minโ Type:FLOAT; Default:3.40282e+38; min level, periodt ๐ซถ--field[0].isofill.numberโ Type:INTEGER; Default:10; number of levels, fr fr ๐ญ--field[0].mpiview.onโ Type:BOOLEAN; Default:FALSE; enable MPI view, iconic ๐ฅ--field[0].mpiview.pathโ Type:FIELD-REF; Default:""; path to MPI distribution field, iykyk ๐--field[0].mpiview.scaleโ Type:FLOAT; Default:0.1; displacement scale, slay ๐--field[0].no_value_pointer.onโ Type:BOOLEAN; Default:FALSE; do not keep field values in memory, periodt โญ--field[0].palette.colorsโ Type:COLOR-LIST; Default:""; palette colors, duh ๐--field[0].palette.fixed.onโ Type:BOOLEAN; Default:FALSE; fixed palette, bestie ๐--field[0].palette.generate.levelsโ Type:INTEGER; Default:10; number of values to generate, no cap ๐--field[0].palette.generate.onโ Type:BOOLEAN; Default:FALSE; generate values, slay ๐ง--field[0].palette.linear.onโ Type:BOOLEAN; Default:FALSE; linear colorbar display, periodt ๐--field[0].palette.maxโ Type:FLOAT; Default:-3.40282e+38; palette max value, iconic ๐--field[0].palette.minโ Type:FLOAT; Default:3.40282e+38; palette min value, lowkey โจ--field[0].palette.nameโ Type:PALETTE-NAME; Default:default; palette name, bestie ๐--field[0].palette.ncolorsโ Type:INTEGER; Default:256; number of colors, slay ๐ฆ--field[0].palette.offsetโ Type:FLOAT; Default:0; offset for colorbar figures, no cap ๐ธ--field[0].palette.rainbow.direct.onโ Type:BOOLEAN; Default:FALSE; direct/indirect rainbow, periodt ๐ซถ--field[0].palette.rainbow.onโ Type:BOOLEAN; Default:FALSE; generate rainbow palette, slay ๐ญ--field[0].palette.scaleโ Type:FLOAT; Default:1; scale for colorbar figures, iykyk ๐ฅ--field[0].palette.valuesโ Type:FLOAT-LIST; Default:""; palette values, bestie ๐--field[0].pathโ Type:FIELD-REF-LIST; Default:""; list of GRIB files, no cap ๐--field[0].scalar.discrete.integer.onโ Type:BOOLEAN; Default:FALSE; values are integers, periodt โญ--field[0].scalar.discrete.missing_colorโ Type:COLOR; Default:#00000000; color for missing values, slay ๐--field[0].scalar.discrete.onโ Type:BOOLEAN; Default:FALSE; plot as a discrete field, iconic ๐--field[0].scalar.light.reverse.bโ Type:FLOAT; Default:0.2; reverse light coefficient, duh ๐--field[0].scalar.light.reverse.cโ Type:FLOAT; Default:15; reverse light coefficient, periodt ๐ง--field[0].scalar.light.reverse.onโ Type:BOOLEAN; Default:FALSE; reverse light, bestie ๐--field[0].scalar.pack.bitsโ Type:INTEGER; Default:8; number of bytes used to pack field, no cap ๐--field[0].scalar.points.onโ Type:BOOLEAN; Default:FALSE; display field as points, slay โจ--field[0].scalar.points.size.factor.onโ Type:BOOLEAN; Default:TRUE; apply scale factor to point size, iykyk ๐--field[0].scalar.points.size.valueโ Type:FLOAT; Default:1; field point size, periodt ๐ฆ--field[0].scalar.points.size.variable.onโ Type:BOOLEAN; Default:FALSE; variable field point size, bestie ๐ธ--field[0].scalar.smooth.onโ Type:BOOLEAN; Default:FALSE; smooth scalar fields, slay ๐ซถ--field[0].scalar.widen.merge.onโ Type:BOOLEAN; Default:FALSE; merge other regions, no cap ๐ญ--field[0].scalar.widen.merge.valueโ Type:FLOAT; Default:3.40282e+38; merge value, iconic ๐ฅ--field[0].scalar.widen.onโ Type:BOOLEAN; Default:FALSE; enable region widening, periodt ๐--field[0].scalar.widen.radiusโ Type:INTEGER-LIST; Default:0; radius for regions, bestie ๐--field[0].scalar.widen.valuesโ Type:FLOAT-LIST; Default:0; values for regions, slay โญ--field[0].scalar.wireframe.onโ Type:BOOLEAN; Default:FALSE; display field as wireframe, duh ๐--field[0].scaleโ Type:SCALE; Default:1; scales to be applied to fields, iykyk ๐--field[0].stream.densityโ Type:FLOAT; Default:1; stream lines density, periodt ๐--field[0].stream.motion.nwavesโ Type:FLOAT; Default:10; number of waves over 1000km, no cap ๐ง--field[0].stream.motion.onโ Type:BOOLEAN; Default:FALSE; enable stream lines motion, bestie ๐--field[0].stream.motion.timeaccelโ Type:FLOAT; Default:10000; time acceleration, slay ๐--field[0].stream.widthโ Type:FLOAT; Default:0; stream lines width, iconic โจ--field[0].type- Type:
FIELD-TYPE - Default:
SCALAR - Description: what kind of field are we even doing โ
SCALAR,VECTOR,STREAMorCONTOUR๐ซ
- Type:
--field[0].user_pref.on- Type:
BOOLEAN - Default:
TRUE - Description: go look up the field settings in the database, bestie โจ
- Type:
--field[0].vector.arrow.color- Type:
COLOR - Default:
#ffffffff - Description: the color your arrows are serving ๐
- Type:
--field[0].vector.arrow.fill.on- Type:
BOOLEAN - Default:
FALSE - Description: fill the arrow in, no outline-only nonsense
- Type:
--field[0].vector.arrow.fixed.on- Type:
BOOLEAN - Default:
FALSE - Description: arrows stay one fixed size, no matter the value
- Type:
--field[0].vector.arrow.head_size- Type:
FLOAT - Default:
0.1 - Description: how chunky the vector head gets ๐
- Type:
--field[0].vector.arrow.kind- Type:
INTEGER - Default:
0 - Description: which arrow kind we're rocking
- Type:
--field[0].vector.arrow.min- Type:
FLOAT - Default:
0 - Description: the minimum vector value
- Type:
--field[0].vector.arrow.on- Type:
BOOLEAN - Default:
TRUE - Description: show the arrows, yes please ๐น
- Type:
--field[0].vector.barb.angle- Type:
FLOAT - Default:
60 - Description: the angle of the barbs
- Type:
--field[0].vector.barb.circle.level- Type:
FLOAT - Default:
1 - Description: anything under this value gets a cute lil circle drawn for it โญ
- Type:
--field[0].vector.barb.color- Type:
COLOR - Default:
#ffffffff - Description: barbs color
- Type:
--field[0].vector.barb.dleng- Type:
FLOAT - Default:
0.1 - Description: barbs length (yes it says length twice, iconique)
- Type:
--field[0].vector.barb.length- Type:
FLOAT - Default:
0.25 - Description: barbs length
- Type:
--field[0].vector.barb.levels- Type:
FLOAT-LIST - Default:
"0 5 10 15 20 25 " - Description: the barbs levels, listed out
- Type:
--field[0].vector.barb.on- Type:
BOOLEAN - Default:
FALSE - Description: enable barbs
- Type:
--field[0].vector.barb.pennant.levels- Type:
FLOAT-LIST - Default:
"0 25 50 75 " - Description: the pennants levels ๐ฉ
- Type:
--field[0].vector.density- Type:
FLOAT - Default:
50 - Description: how densely packed the vectors are
- Type:
--field[0].vector.norm.on- Type:
BOOLEAN - Default:
TRUE - Description: show the norm field
- Type:
--field[0].vector.scale- Type:
FLOAT - Default:
1 - Description: scale for the vectors
- Type:
--field[0].visible.on- Type:
BOOLEAN - Default:
TRUE - Description: is the field visible or is it ghosting us ๐ป
- Type:
--geopoints.lat- Type:
STRING - Default:
"" - Description: name of the latitude field
- Type:
--geopoints.lon- Type:
STRING - Default:
"" - Description: name of the longitude field
- Type:
--geopoints.on- Type:
BOOLEAN - Default:
FALSE - Description: display geopoints ๐
- Type:
--geopoints.path- Type:
PATH - Default:
"" - Description: the path, as paths do
- Type:
--geopoints.points.color- Type:
COLOR - Default:
#ffffffff - Description: point color
- Type:
--geopoints.points.palette.colors- Type:
COLOR-LIST - Default:
"" - Description: the palette colors, all of them
- Type:
--geopoints.points.palette.fixed.on- Type:
BOOLEAN - Default:
FALSE - Description: lock the palette in place, fixed style
- Type:
--geopoints.points.palette.generate.levels- Type:
INTEGER - Default:
10 - Description: how many values do we generate
- Type:
--geopoints.points.palette.generate.on- Type:
BOOLEAN - Default:
FALSE - Description: generate the values โจ
- Type:
--geopoints.points.palette.linear.on- Type:
BOOLEAN - Default:
FALSE - Description: linear colorbar display, no curve
- Type:
--geopoints.points.palette.max- Type:
FLOAT - Default:
-3.40282e+38 - Description: palette max value
- Type:
--geopoints.points.palette.min- Type:
FLOAT - Default:
3.40282e+38 - Description: palette min value
- Type:
--geopoints.points.palette.name- Type:
PALETTE-NAME - Default:
none - Description: name of the palette ๐จ
- Type:
--geopoints.points.palette.ncolors- Type:
INTEGER - Default:
256 - Description: how many colors
- Type:
--geopoints.points.palette.offset- Type:
FLOAT - Default:
0 - Description: offset for the colorbar figures
- Type:
--geopoints.points.palette.rainbow.direct.on- Type:
BOOLEAN - Default:
FALSE - Description: direct or indirect rainbow ๐
- Type:
--geopoints.points.palette.rainbow.on- Type:
BOOLEAN - Default:
FALSE - Description: generate a rainbow palette
- Type:
--geopoints.points.palette.scale- Type:
FLOAT - Default:
1 - Description: scale for the colorbar figures
- Type:
--geopoints.points.palette.values- Type:
FLOAT-LIST - Default:
"" - Description: the palette values
- Type:
--geopoints.points.scale- Type:
SCALE - Default:
1 - Description: scale
- Type:
--geopoints.points.size.value- Type:
FLOAT - Default:
1 - Description: how big the points are
- Type:
--geopoints.points.size.variable.on- Type:
BOOLEAN - Default:
FALSE - Description: let the point size vary, main character energy only
- Type:
--geopoints.points.visible.on- Type:
BOOLEAN - Default:
TRUE - Description: are the points visible
- Type:
--geopoints.time.on- Type:
BOOLEAN - Default:
FALSE - Description: make the points show up as time goes on โณ
- Type:
--geopoints.time.rate- Type:
INTEGER - Default:
1 - Description: how many points get added at each new frame
- Type:
--geopoints.val- Type:
STRING - Default:
"" - Description: name of the value field
- Type:
--grid.color- Type:
COLOR - Default:
#00ff00ff - Description: grid color
- Type:
--grid.dash_length- Type:
FLOAT - Default:
4 - Description: dash length, measured in degrees
- Type:
--grid.interval- Type:
INTEGER - Default:
2 - Description: how far apart the non-dashed lines sit
- Type:
--grid.labels.angle- Type:
FLOAT - Default:
0 - Description: angle of the labels
- Type:
--grid.labels.font.bitmap.path- Type:
PATH - Default:
fonts/08.bmp - Description: path to the bitmap
- Type:
--grid.labels.font.bitmap.scale- Type:
FLOAT - Default:
0.05 - Description: scale for the bitmap
- Type:
--grid.labels.font.color.background- Type:
COLOR - Default:
#00000000 - Description: background color
- Type:
--grid.labels.font.color.foreground- Type:
COLOR - Default:
#ffffffff - Description: foreground color
- Type:
--grid.labels.lat- Type:
LATITUDE - Default:
0 - Description: latitude of the longitude labels
- Type:
--grid.labels.lon- Type:
LONGITUDE - Default:
0 - Description: longitude of the latitude labels
- Type:
--grid.labels.on- Type:
BOOLEAN - Default:
FALSE - Description: enable the labels ๐ท๏ธ
- Type:
--grid.on- Type:
BOOLEAN - Default:
FALSE - Description: display the grid
- Type:
--grid.points- Type:
INTEGER - Default:
200 - Description: how many points run along a parallel
- Type:
--grid.resolution- Type:
INTEGER - Default:
9 - Description: grid resolution
- Type:
--grid.scale- Type:
SCALE - Default:
1.005 - Description: grid scale
- Type:
--grid.visible.on- Type:
BOOLEAN - Default:
TRUE - Description: the grid is visible
- Type:
--land.layers[0].color- Type:
COLOR - Default:
#ffe2abff - Description: land color ๐๏ธ
- Type:
--land.layers[0].on- Type:
BOOLEAN - Default:
TRUE - Description: enable it
- Type:
--land.layers[0].path- Type:
PATH - Default:
coastlines/shp/GSHHS_c_L1.shp - Description: path to the coastlines
- Type:
--land.layers[0].scale- Type:
SCALE - Default:
1 - Description: scale
- Type:
--land.layers[0].selector- Type:
STRING - Default:
"" - Description: shape selection
- Type:
--land.layers[0].subdivision.angle- Type:
FLOAT - Default:
1 - Description: max angle allowed for subdivision
- Type:
--land.layers[0].subdivision.on- Type:
BOOLEAN - Default:
TRUE - Description: enable subdivision
- Type:
--land.on- Type:
BOOLEAN - Default:
FALSE - Description: enable land
- Type:
--land.visible.on- Type:
BOOLEAN - Default:
TRUE - Description: land is visible
- Type:
--landscape.color- Type:
COLOR - Default:
#00000000 - Description: color
- Type:
--landscape.flat.on- Type:
BOOLEAN - Default:
TRUE - Description: make the Earth flat ๐ (yes, in the config, not in real life)
- Type:
--landscape.geometry.check.on- Type:
BOOLEAN - Default:
FALSE - Description: check the geometry
- Type:
--landscape.geometry.frame.color1- Type:
COLOR - Default:
#ffffffff - Description: first frame color
- Type:
--landscape.geometry.frame.color2- Type:
COLOR - Default:
#505050ff - Description: second frame color
- Type:
--landscape.geometry.frame.dlat- Type:
FLOAT - Default:
10 - Description: latitude interval
- Type:
--landscape.geometry.frame.dlon- Type:
FLOAT - Default:
10 - Description: longitude interval
- Type:
--landscape.geometry.frame.on- Type:
BOOLEAN - Default:
FALSE - Description: draw a frame around the domain ๐ผ๏ธ
- Type:
--landscape.geometry.frame.width- Type:
FLOAT - Default:
0 - Description: frame width
- Type:
--landscape.geometry.gaussian.apply_norm_scale.on- Type:
BOOLEAN - Default:
TRUE - Description: apply norm scaling
- Type:
--landscape.geometry.gaussian.fit.on- Type:
BOOLEAN - Default:
FALSE - Description: fit the Gaussian latitude retrieval
- Type:
--landscape.geometry.gencoords.on- Type:
BOOLEAN - Default:
FALSE - Description: generate coordinates on the GPU when it's possible to do so ๐ฅ๏ธ
- Type:
--landscape.geometry.height.on- Type:
BOOLEAN - Default:
FALSE - Description: enable height
- Type:
--landscape.geometry.height.path- Type:
FIELD-REF - Default:
"" - Description: height field path
- Type:
--landscape.geometry.height.scale- Type:
FLOAT - Default:
0.05 - Description: height scale
- Type:
Description: Scale to apply to height field
--landscape.geometry.subgrid.onโ Type:"BOOLEAN"โจ Default:"FALSE"๐ โ Create subgrid. it's giving optional extra grid detail, bestie.--landscape.geometry.triangle_strip.onโ Type:"BOOLEAN"๐ Default:"TRUE"๐ โ Enable use of triangle strip. slay those triangles.--landscape.grid.number_of_latitudesโ Type:"INTEGER"๐ข Default:500๐ฏ โ Number of latitudes. all the latitudes, periodt.--landscape.grid.pathโ Type:"STRING"๐ Default:""๐ซถ โ Take geometry from this file. drop the path here, iykyk.--landscape.lonlat.position.lat1โ Type:"FLOAT"๐ Default:-90โ๏ธ โ First latitude of display. south pole vibes.--landscape.lonlat.position.lat2โ Type:"FLOAT"๐ Default:90๐ฅ โ Last latitude of display. north pole core.--landscape.lonlat.position.lon1โ Type:"FLOAT"๐บ๏ธ Default:-180๐ โ First longitude of display. left edge, no cap.--landscape.lonlat.position.lon2โ Type:"FLOAT"๐บ๏ธ Default:180๐ โ Last longitude of display. right edge, fr fr.--landscape.onโ Type:"BOOLEAN"๐๏ธ Default:"FALSE"๐ โ Enable landscape. turn it on for main character scenery.--landscape.pathโ Type:"STRING"๐ผ๏ธ Default:"landscape/Whole_world_-_land_and_oceans_08000.png"๐ โ Path to landscape image in BMP format. yes, BMP, bestie, keep it exact.--landscape.projectionโ Type:"STRING"๐ Default:"LONLAT"โจ โ Projection : LONLAT or WEBMERCATOR. pick your projection fantasy.--landscape.scaleโ Type:"SCALE"๐ Default:1๐ โ Scale. one is one, periodt.--landscape.visible.onโ Type:"BOOLEAN"๐ Default:"TRUE"๐ โ Landscape is visible. we see it, we stan.--landscape.wireframe.onโ Type:"BOOLEAN"๐ธ๏ธ Default:"FALSE"๐ โ Draw landscape in wireframe mode. retro grid realness, lowkey iconic.--mapscale.color1โ Type:"COLOR"๐จ Default:"#ffffffff"๐ค โ First color. white like a fresh canvas.--mapscale.color2โ Type:"COLOR"๐จ Default:"#505050ff"๐ โ Second color. dark gray, moody.--mapscale.font.bitmap.pathโ Type:"PATH"๐ค Default:"fonts/16.bmp"๐ โ Bitmap path. the font file goes here.--mapscale.font.bitmap.scaleโ Type:"FLOAT"๐ Default:0.02โจ โ Bitmap scale. tiny but fierce.--mapscale.font.color.backgroundโ Type:"COLOR"๐๏ธ Default:"#00000000"๐ณ๏ธ โ Background color. transparent, not me being invisible.--mapscale.font.color.foregroundโ Type:"COLOR"๐๏ธ Default:"#ffffffff"๐ค โ Foreground color. white text, slay.--mapscale.onโ Type:"BOOLEAN"๐งญ Default:"FALSE"๐ โ Activate mapscale. flip the switch, bestie.--mapscale.position.xmaxโ Type:"FLOAT"๐ Default:0.25๐ธ โ Mapscale xmax. right bound, periodt.--mapscale.position.xminโ Type:"FLOAT"๐ Default:0.05๐ธ โ Mapscale xmin. left bound, fr fr.--mapscale.position.ymaxโ Type:"FLOAT"๐ Default:0.07๐ธ โ Mapscale ymax. top bound, iconic.--mapscale.position.yminโ Type:"FLOAT"๐ Default:0.05๐ธ โ Mapscale ymin. bottom bound, no cap.--render.antialiasing.onโ Type:"BOOLEAN"โจ Default:"TRUE"๐ โ Enable antialiasing. smooth edges, we love to see it.--render.antialiasing.samplesโ Type:"INTEGER"๐ข Default:4๐ โ Samples for antialiasing. four samples of pure slay.--render.debug.onโ Type:"BOOLEAN"๐ Default:"FALSE"๐ โ Enable OpenGL debugging. only if you're ready to read logs, bestie.--render.fullscreen.onโ Type:"BOOLEAN"๐ฅ๏ธ Default:"FALSE"๐ โ Window in fullscreen mode. immersion unlocked.--render.fullscreen.x.onโ Type:"BOOLEAN"โ๏ธ Default:"FALSE"โจ โ Window in fullscreen mode in X direction. x marks the fullscreen.--render.fullscreen.y.onโ Type:"BOOLEAN"โ๏ธ Default:"FALSE"โจ โ Window in fullscreen mode in Y direction. y tho? for fullscreen, obviously.--render.heightโ Type:"INTEGER"๐ Default:800๐ฆ โ Window height. tall energy.--render.info.onโ Type:"BOOLEAN"โน๏ธ Default:"FALSE"๐ โ Show hardware info. nerd out, iykyk.--render.offscreen.formatโ Type:"STRING"๐ผ๏ธ Default:"snapshot_%N.png"๐ธ โ PNG format output. snapshot naming, no cap.--render.offscreen.framesโ Type:"INTEGER"๐๏ธ Default:1๐ฏ โ Number of frames to issue in offline mode. one frame or a whole movie, you decide.--render.offscreen.onโ Type:"BOOLEAN"๐ด Default:"FALSE"๐ โ Run in offline mode. no window, just vibes.--render.opengl.versionโ Type:"FLOAT"๐ฎ Default:4.3๐ฅ โ OpenGL version. 4.3, iconic.--render.position.xโ Type:"INTEGER"๐ Default:-1๐ธ โ Window x position. x marks the spot.--render.position.yโ Type:"INTEGER"๐ Default:-1๐ธ โ Window y position. y tho? for placement, obviously.--render.statistics.onโ Type:"BOOLEAN"๐ Default:"FALSE"๐ โ Issue statistics when window is closed. data dump on exit, periodt.--render.titleโ Type:"STRING"๐ท๏ธ Default:""๐ซถ โ Window title. name your window, main character.--render.widthโ Type:"INTEGER"๐ Default:800๐ฆ โ Window width. wide energy.--review.onโ Type:"BOOLEAN"๐ Default:"FALSE"๐ โ Enable review mode. review era.--review.pathโ Type:"PATH"๐ Default:""๐ซถ โ File to review. drop the file, bestie.--rivers.lines.colorโ Type:"COLOR"๐จ Default:"#ffffffff"๐ค โ Coastlines color. the original says coastlines, so we keep it, periodt.--rivers.lines.formatโ Type:"STRING"๐ Default:"gshhg"๐ โ Input format. gshhg, iconic.--rivers.lines.latmaxโ Type:"FLOAT"๐ Default:0โ๏ธ โ Maximum latitude. top of the world.--rivers.lines.latminโ Type:"FLOAT"๐ Default:0โ๏ธ โ Minimum latitude. bottom of the world.--rivers.lines.lonmaxโ Type:"FLOAT"๐บ๏ธ Default:0๐ โ Maximum longitude. right edge.--rivers.lines.lonminโ Type:"FLOAT"๐บ๏ธ Default:0๐ โ Minimum longitude. left edge.--rivers.lines.pathโ Type:"STRING"๐ Default:"coastlines/gshhg/WDBII_bin/wdb_rivers_f.b"๐ โ Path to lines file. exact path, no cap.--rivers.lines.scaleโ Type:"SCALE"๐ Default:1.005๐ โ Coastlines scale. 1.005, oddly specific but slay.--rivers.lines.selectorโ Type:"STRING"๐ Default:""๐ซถ โ Selector. pick your selector.--rivers.lines.visible.onโ Type:"BOOLEAN"๐ Default:"TRUE"๐ โ Lines are visible. we see lines.--rivers.onโ Type:"BOOLEAN"๐ Default:"FALSE"๐ โ Display rivers. river era.--scene.center.gridpointโ Type:"INTEGER"๐ฏ Default:-1๐ โ Rank of grid point to set focus on. focus, bestie.--scene.center.onโ Type:"BOOLEAN"๐ฏ Default:"FALSE"๐ โ Center on first field. center yourself, main character.--scene.date.font.bitmap.pathโ Type:"PATH"๐ค Default:"fonts/08.bmp"๐ โ Bitmap path. font file, iykyk.--scene.date.font.bitmap.scaleโ Type:"FLOAT"๐ Default:0.05โจ โ Bitmap scale. tiny text, big vibes.--scene.date.font.color.backgroundโ Type:"COLOR"๐๏ธ Default:"#00000000"๐ณ๏ธ โ Background color. transparent background.--scene.date.font.color.foregroundโ Type:"COLOR"๐๏ธ Default:"#ffffffff"๐ค โ Foreground color. white foreground.--scene.date.onโ Type:"BOOLEAN"๐ Default:"FALSE"๐ โ Display date. date display, slay.--scene.image.alignโ Type:"STRING"๐ผ๏ธ Default:""๐ซถ โ Image alignment. align that image.--scene.image.onโ Type:"BOOLEAN"๐ผ๏ธ Default:"FALSE"๐ โ Enable image display. image era.--scene.image.pathโ Type:"PATH"๐ Default:""๐ซถ โ Path to image. drop the image path.--scene.image.x0โ Type:"FLOAT"๐ Default:0๐ธ โ Left abscissa. left coordinate.--scene.image.x1โ Type:"FLOAT"๐ Default:1๐ธ โ Right abscissa. right coordinate.--scene.image.y0โ Type:"FLOAT"๐ Default:0๐ธ โ Lower ordinate. lower coordinate.--scene.image.y1โ Type:"FLOAT"๐ Default:1๐ธ โ Upper ordinate. upper coordinate.--scene.interpolation.framesโ Type:"INTEGER"๐๏ธ Default:10๐ฏ โ Number of frames. ten frames of interpolation.--scene.interpolation.onโ Type:"BOOLEAN"โจ Default:"FALSE"๐ โ Enable interpolation. smooth moves, bestie.--scene.light.dateโ Type:"DATE"๐ Default:"0000/00/00_00:00:00"๐ โ Date for sunlight position. exact date string, keep it.--scene.light.date_from_grib.onโ Type:"BOOLEAN"๐ Default:"FALSE"๐ โ Calculate light position from GRIB date. GRIB date energy.--scene.light.latโ Type:"LATITUDE"๐ Default:0โจ โ Light latitude. sun latitude.--scene.light.lonโ Type:"LONGITUDE"๐ Default:0โจ โ Light longitude. sun longitude.--scene.light.nightโ Type:"FLOAT"๐ Default:0.1๐ โ Fraction of light during for night. ten percent night light, moody.--scene.light.onโ Type:"BOOLEAN"๐ก Default:"FALSE"๐ โ Enable light. let there be light.--scene.light.rotate.onโ Type:"BOOLEAN"๐ Default:"FALSE"๐ซ โ Make sunlight move. sun with main character energy.--scene.light.rotate.rateโ Type:"FLOAT"๐ Default:1โจ โ Rate of rotation : angle/frame. spin rate, periodt.--scene.lon_at_hourโ Type:"FLOAT"โฐ Default:-1๐ โ Set longitude at solar time. solar time vibes.--scene.rotate_earth.onโ Type:"BOOLEAN"๐ Default:"FALSE"๐ซ โ Make earth rotate. earth spin, iconic.--scene.rotate_earth.rateโ Type:"FLOAT"๐ Default:1โจ โ Rate of rotation : angle/frame. spin rate, fr fr.--scene.select.field_rankโ Type:"INTEGER"๐ฏ Default:0๐ โ Rank of field to select. pick the field.--scene.text.aโ Type:"STRING-LIST"๐ Default:""๐ซถ โ Text alignment. alignment list, bestie.--scene.text.font.bitmap.pathโ Type:"PATH"๐ค Default:"fonts/08.bmp"๐ โ Bitmap path. font file again.--scene.text.font.bitmap.scaleโ Type:"FLOAT"๐ Default:0.05โจ โ Bitmap scale. tiny text scale.--scene.text.font.color.backgroundโ Type:"COLOR"๐๏ธ Default:"#00000000"๐ณ๏ธ โ Background color. transparent background, no cap.--scene.text.font.color.foregroundโ Type:"COLOR"๐๏ธ Default:"#ffffffff"๐ค
okay okay we're back, still deep in the option list, no stopping now ๐ โ and that option the last chunk was still in the middle of introducing? Its description is just Foreground color ๐จ. Yep. It sets a foreground colour. That's the whole arc. Periodt.
--scene.text.onโBOOLEAN, defaultFALSEโ turns text on โ๏ธ literally that, enable text.--scene.text.sโSTRING-LIST, default""โ the actual strings you want displayed ๐--scene.text.xโFLOAT-LIST, default""โ coordinates of those strings ๐--scene.text.yโFLOAT-LIST, default""โ more coordinates of those strings, the other axis bestie โจ
--scene.title.aโSTRING, default"NW"โ alignment ๐งญ--scene.title.font.bitmap.pathโPATH, default"fonts/08.bmp"โ bitmap path ๐บ๏ธ--scene.title.font.bitmap.scaleโFLOAT, default0.05โ bitmap scale ๐--scene.title.font.color.backgroundโCOLOR, default"#00000000"โ background color ๐๏ธ--scene.title.font.color.foregroundโCOLOR, default"#ffffffff"โ foreground color ๐จ--scene.title.onโBOOLEAN, defaultFALSEโ enable title ๐--scene.title.textโSTRING, default""โ the title itself โ๏ธ--scene.title.xโFLOAT, default0โ coordinates ๐--scene.title.yโFLOAT, default1โ coordinates ๐
--scene.travelling.framesโINTEGER, default100โ number of frames ๐๏ธ--scene.travelling.onโBOOLEAN, defaultFALSEโ enable travelling โ๏ธ--scene.travelling.pos1.fovโFLOAT, default0โ field of view ๐๏ธ--scene.travelling.pos1.latโLATITUDE, default0โ latitude ๐--scene.travelling.pos1.lonโLONGITUDE, default0โ longitude ๐--scene.travelling.pos2.fovโFLOAT, default0โ field of view ๐๏ธ--scene.travelling.pos2.latโLATITUDE, default0โ latitude ๐--scene.travelling.pos2.lonโLONGITUDE, default0โ longitude ๐
--shell.onโBOOLEAN, defaultFALSEโ run command line ๐--shell.prompt.onโBOOLEAN, defaultFALSEโ start interactive session after batch script completion โจ๏ธ
now the tick marks, and there are four whole sides to this thing, so buckle up bestie ๐ฆ
--ticks.E.dlatโFLOAT, default10โ latitude interval ๐--ticks.E.dlonโFLOAT, default10โ longitude interval ๐--ticks.E.nswe.onโBOOLEAN, defaultFALSEโ North/South/West/East labels instead of+/-๐งญ--ticks.E.onโBOOLEAN, defaultTRUEโ enable side โ--ticks.N.dlatโFLOAT, default10โ latitude interval ๐--ticks.N.dlonโFLOAT, default10โ longitude interval ๐--ticks.N.nswe.onโBOOLEAN, defaultFALSEโ North/South/West/East labels instead of+/-๐งญ--ticks.N.onโBOOLEAN, defaultTRUEโ enable side โ--ticks.S.dlatโFLOAT, default10โ latitude interval ๐--ticks.S.dlonโFLOAT, default10โ longitude interval ๐--ticks.S.nswe.onโBOOLEAN, defaultFALSEโ North/South/West/East labels instead of+/-๐งญ--ticks.S.onโBOOLEAN, defaultTRUEโ enable side โ--ticks.W.dlatโFLOAT, default10โ latitude interval ๐--ticks.W.dlonโFLOAT, default10โ longitude interval ๐--ticks.W.nswe.onโBOOLEAN, defaultFALSEโ North/South/West/East labels instead of+/-๐งญ--ticks.W.onโBOOLEAN, defaultTRUEโ enable side โ
--ticks.frame.colorโCOLOR, default"#ff0000ff"โ frame color ๐ผ๏ธ--ticks.frame.onโBOOLEAN, defaultFALSEโ enable frame ๐ผ๏ธ--ticks.frame.widthโFLOAT, default0.01โ frame width ๐
--ticks.labels.font.bitmap.pathโPATH, default"fonts/08.bmp"โ bitmap path ๐บ๏ธ--ticks.labels.font.bitmap.scaleโFLOAT, default0.02โ bitmap scale ๐--ticks.labels.font.color.backgroundโCOLOR, default"#00000000"โ background color ๐๏ธ--ticks.labels.font.color.foregroundโCOLOR, default"#ffffffff"โ foreground color ๐จ--ticks.labels.formatโSTRING, default"%+06.2f"โ format for tick labels ๐ข--ticks.labels.onโBOOLEAN, defaultFALSEโ display tick labels ๐ค
--ticks.lines.colorโCOLOR, default"#ffffffff"โ tick color ๐จ--ticks.lines.kindโINTEGER, default0โ tick kind ๐งฉ--ticks.lines.lengthโFLOAT, default0.025โ tick length ๐--ticks.lines.onโBOOLEAN, defaultFALSEโ display ticks โจ--ticks.lines.widthโFLOAT, default0.01โ tick width ๐--ticks.visible.onโBOOLEAN, defaultTRUEโ ticks are visible ๐
and now the camera stuff, aka the main character section of this whole manpage ๐ธ
--view.center.onโBOOLEAN, defaultTRUEโ center view ๐ฏ--view.clip.dlatโFLOAT, default5โ amount of latitude to clip โ๏ธ--view.clip.dlonโFLOAT, default10โ amount of longitude to clip โ๏ธ--view.clip.onโBOOLEAN, defaultTRUEโ enable Mercator and lat/lon clipping โ๏ธ--view.clip.xmaxโFLOAT, default1โ max viewport x coordinate ๐--view.clip.xminโFLOAT, default0โ min viewport x coordinate ๐--view.clip.ymaxโFLOAT, default1โ max viewport y coordinate ๐--view.clip.yminโFLOAT, default0โ min viewport y coordinate ๐--view.distanceโFLOAT, default6โ camera distance ๐ท--view.fovโANGLE, default20โ camera field of view ๐๏ธ--view.latโLATITUDE, default0โ camera latitude ๐--view.lonโLONGITUDE, default0โ camera longitude ๐--view.pitchโANGLE, default0โ camera pitch ๐ฅ--view.projectionโPROJECTION, default"XYZ"โ the options areMercator,XYZ,latlon,polar_north,polar_south๐บ๏ธ--view.rollโANGLE, default0โ camera roll ๐ฅ--view.trans.matrixโFLOAT-LIST, default""โ transformation matrix values ๐งฎ--view.trans.onโBOOLEAN, defaultFALSEโ enable transformation matrix ๐งฎ--view.transformationโTRANSFORMATION, default"PERSPECTIVE"โ perspective or orthographic ๐ช--view.yawโANGLE, default0โ camera yaw ๐ฅ--view.zoom.latโLATITUDE, default46.7โ latitude of zoom ๐--view.zoom.lonโLONGITUDE, default2โ longitude of zoom ๐--view.zoom.onโBOOLEAN, defaultFALSEโ enable zoom with Schmidt transform ๐--view.zoom.stretchโFLOAT, default0.5โ stretching factor ๐ชข
๐ SEE ALSO
- the
glgribpage ongithub.com:
https://github.com/pmarguinaud/glgrib
- OpenGL:
https://www.opengl.org/
- GRIB edition 2:
https://community.wmo.int/activity-areas/wis/latest-version
๐ AUTHORS
Philippe Marguinaud (pmarguinaud@hotmail.com) โ the icon who wrote all of this, we stan ๐
and that's the whole page, bestie, we ate and left no crumbs ๐ซถ this was the glgrib(1) manual as of 2026-07-03. go forth and render something gorgeous ๐ธโจ
๐ฆ where this page comes from
- ubuntu stonking: glgrib-glfw 1.0-6build2 ยท GPL-3.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms