glgrib-glfw(1)
glgrib-glfw(1) β Display GRIB edition fields using OpenGL π
Hey bestie! Welcome to the manual for glgrib-glfw π This is the GLFW backend for interactive display, and we're about to spill all the tea β. It's giving main character energy β¨
β¨ NAME β¨
glgrib β Display GRIB edition fields using OpenGL π
β¨ SYNOPSIS β¨
Okay so here's how you run it, depending on the vibe you're going for:
Review (use PageUp/PageDown) :
$ glgrib share/data/diff/ICMSHFCST+0001
Single field :
$ glgrib share/data/diff/ICMSHFCST+0001%PROFTEMPERATURE
$ glgrib share/data/ecmwf/ecmf_0_1_0_ml_137_q.grib2
Diff :
$ glgrib --diff share/data/diff/ICMSHFCST+0001 share/data/diff/ICMSHFCST+0002
With full options :
$ glgrib --field[0].path share/data/ecmwf/ecmf_0_1_0_ml_137_q.grib2 --coast.on
Use option --help-long to get full help.
β¨ DESCRIPTION β¨
glgrib is an application to display fields encoded in GRIB edition 2 using OpenGL. No cap, it's literally that iconic π
Features include: raster, contour, vector, colorbar, mapscale, coastlines, borders. It handles Lat/lon, lambert, gaussian grid. There's a GLFW backend for interactive display (that's glgrib-glfw, hey girl hey) and an EGL backend (glgrib-egl) for batch processing without X11 display. Both are slaying.
Tested on:
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. Every option, every default, every little detail. Let's get into it. π§β¨
--border.countries.onβ Type:BOOLEAN; Default:"TRUE"; Description: Shows countries on the map, fr fr π--border.lines.colorβ Type:COLOR; Default:"#ffffffff"; Description: The color of coastlines, no cap π¨--border.lines.formatβ Type:STRING; Default:"gshhg"; Description: Input format, defaults to gshhg π--border.lines.latmaxβ Type:FLOAT; Default:0; Description: Top latitude limit β¬οΈ--border.lines.latminβ Type:FLOAT; Default:0; Description: Bottom latitude limit β¬οΈ--border.lines.lonmaxβ Type:FLOAT; Default:0; Description: Right longitude limit β‘οΈ--border.lines.lonminβ Type:FLOAT; Default:0; Description: Left longitude limit β¬ οΈ--border.lines.pathβ Type:STRING; Default:"coastlines/gshhg/WDBII_bin/wdb_borders_f.b"; Description: Where the lines file lives π--border.lines.scaleβ Type:SCALE; Default:1.005; Description: Scale factor for coastlines π--border.lines.selectorβ Type:STRING; Default:""; Description: Selector string, empty by default π―--border.lines.visible.onβ Type:BOOLEAN; Default:"TRUE"; Description: Whether lines are visible, bestie π--border.onβ Type:BOOLEAN; Default:"FALSE"; Description: Turns borders on/off πΌοΈ--border.regions.onβ Type:BOOLEAN; Default:"FALSE"; Description: Shows regions πΊοΈ--border.sea.onβ Type:BOOLEAN; Default:"FALSE"; Description: Shows sea borders π--cities.labels.font.bitmap.pathβ Type:PATH; Default:"fonts/08.bmp"; Description: Path to the bitmap font π€--cities.labels.font.bitmap.scaleβ Type:FLOAT; Default:0.05; Description: Scale of the bitmap font π--cities.labels.font.color.backgroundβ Type:COLOR; Default:"#00000000"; Description: Background color for labels π¨--cities.labels.font.color.foregroundβ Type:COLOR; Default:"#ffffffff"; Description: Foreground color for labels ποΈ--cities.labels.onβ Type:BOOLEAN; Default:"FALSE"; Description: Turns city name display on/off ποΈ--cities.onβ Type:BOOLEAN; Default:"FALSE"; Description: Shows cities π--cities.points.colorβ Type:COLOR; Default:"#ffffffff"; Description: Color of city points π΄--cities.points.palette.colorsβ Type:COLOR-LIST; Default:""; Description: List of palette colors π--cities.points.palette.fixed.onβ Type:BOOLEAN; Default:"FALSE"; Description: Use a fixed palette π--cities.points.palette.generate.levelsβ Type:INTEGER; Default:10; Description: How many values to generate π’--cities.points.palette.generate.onβ Type:BOOLEAN; Default:"FALSE"; Description: Generate palette values βοΈ--cities.points.palette.linear.onβ Type:BOOLEAN; Default:"FALSE"; Description: Display a linear colorbar π--cities.points.palette.maxβ Type:FLOAT; Default:-3.40282e+38; Description: Maximum palette value β¬οΈ--cities.points.palette.minβ Type:FLOAT; Default:3.40282e+38; Description: Minimum palette value β¬οΈ--cities.points.palette.nameβ Type:PALETTE-NAME; Default:"none"; Description: Name of the palette π·οΈ--cities.points.palette.ncolorsβ Type:INTEGER; Default:256; Description: Number of colors in the palette π¨--cities.points.palette.offsetβ Type:FLOAT; Default:0; Description: Offset for colorbar numbers π--cities.points.palette.rainbow.direct.onβ Type:BOOLEAN; Default:"FALSE"; Description: Direct or indirect rainbow π--cities.points.palette.rainbow.onβ Type:BOOLEAN; Default:"FALSE"; Description: Generate a rainbow palette π--cities.points.palette.scaleβ Type:FLOAT; Default:1; Description: Scale for colorbar numbers π--cities.points.palette.valuesβ Type:FLOAT-LIST; Default:""; Description: List of palette values π--cities.points.scaleβ Type:SCALE; Default:1; Description: Scale factor π--cities.points.size.valueβ Type:FLOAT; Default:1; Description: Size of points π΅--cities.points.size.variable.onβ Type:BOOLEAN; Default:"FALSE"; Description: Variable point size on/off π--cities.points.visible.onβ Type:BOOLEAN; Default:"TRUE"; Description: Whether points are visible π--coast.lakes.onβ Type:BOOLEAN; Default:"FALSE"; Description: Shows lake coastlines ποΈ--coast.lines.colorβ Type:COLOR; Default:"#ffffffff"; Description: Color for coastlines π¨--coast.lines.formatβ Type:STRING; Default:"gshhg"; Description: Input format π--coast.lines.latmaxβ Type:FLOAT; Default:0; Description: Top latitude limit β¬οΈ--coast.lines.latminβ Type:FLOAT; Default:0; Description: Bottom latitude limit β¬οΈ--coast.lines.lonmaxβ Type:FLOAT; Default:0; Description: Right longitude limit β‘οΈ--coast.lines.lonminβ Type:FLOAT; Default:0; Description: Left longitude limit β¬ οΈ--coast.lines.pathβ Type:STRING; Default:"coastlines/gshhg/GSHHS_bin/gshhs_h.b"; Description: Path to coastlines file π--coast.lines.scaleβ Type:SCALE; Default:1.005; Description: Scale factor for coastlines π--coast.lines.selectorβ Type:STRING; Default:""; Description: Selector string π―--coast.lines.visible.onβ Type:BOOLEAN; Default:"TRUE"; Description: Whether lines are visible π--coast.onβ Type:BOOLEAN; Default:"FALSE"; Description: Turns coastlines on/off ποΈ--colorbar.font.bitmap.pathβ Type:PATH; Default:"fonts/16.bmp"; Description: Path to bitmap font for colorbar π€--colorbar.font.bitmap.scaleβ Type:FLOAT; Default:0.02; Description: Scale of the bitmap font π--colorbar.font.color.backgroundβ Type:COLOR; Default:"#00000000"; Description: Background color π¨--colorbar.font.color.foregroundβ Type:COLOR; Default:"#ffffffff"; Description: Foreground color ποΈ--colorbar.formatβ Type:STRING; Default:"%6.4g"; Description: sprintf format used to display numbers π’--colorbar.levels.numberβ Type:INTEGER; Default:11; Description: Number of colorbar levels π--colorbar.levels.valuesβ Type:FLOAT-LIST; Default:""; Description: Values for colorbar levels π--colorbar.onβ Type:BOOLEAN; Default:"FALSE"; Description: Turns colorbar on/off π--colorbar.position.xmaxβ Type:FLOAT; Default:0.18; Description: Colorbar xmax position β‘οΈ--colorbar.position.xminβ Type:FLOAT; Default:0.08; Description: Colorbar xmin position β¬ οΈ--colorbar.position.ymaxβ Type:FLOAT; Default:0.95; Description: Colorbar ymax position β¬οΈ--colorbar.position.yminβ Type:FLOAT; Default:0.05; Description: Colorbar ymin position β¬οΈ--departements.lines.colorβ Type:COLOR; Default:"#ffffffff"; Description: Color for coastlines (yep, it says coastlines) π¨--departements.lines.formatβ Type:STRING; Default:"shapeline"; Description: Input format π--departements.lines.latmaxβ Type:FLOAT; Default:0; Description: Top latitude limit β¬οΈ--departements.lines.latminβ Type:FLOAT; Default:0; Description: Bottom latitude limit β¬οΈ--departements.lines.lonmaxβ Type:FLOAT; Default:0; Description: Right longitude limit β‘οΈ--departements.lines.lonminβ Type:FLOAT; Default:0; Description: Left longitude limit β¬ οΈ--departements.lines.pathβ Type:STRING; Default:"coastlines/departements/departements-20180101.shp"; Description: Path to departements lines file π--departements.lines.scaleβ Type:SCALE; Default:1.005; Description: Scale factor for coastlines π--departements.lines.selectorβ Type:STRING; Default:""; Description: Selector string π―--departements.lines.visible.onβ Type:BOOLEAN; Default:"TRUE"; Description: Whether lines are visible π--departements.onβ Type:BOOLEAN; Default:"FALSE"; Description: Shows departements πΊοΈ--diff.onβ Type:BOOLEAN; Default:"FALSE"; Description: Turns on difference mode π--diff.pathβ Type:STRING-LIST; Default:""; Description: Files to show in diff mode π--field[0].contour.labels.distminβ Type:FLOAT; Default:3--field[0].contour.labels.font.bitmap.pathβ typePATH, defaultfonts/08.bmp. Where the label bitmap lives π--field[0].contour.labels.font.bitmap.scaleβ typeFLOAT, default0.05. How big the bitmap goes π--field[0].contour.labels.font.color.backgroundβ typeCOLOR, default#00000000. The background color, bestie πΈ--field[0].contour.labels.font.color.foregroundβ typeCOLOR, default#ffffffff. The foreground color, slay β¨--field[0].contour.labels.formatβ typeSTRING, default%12.2f. The format used to print labels fr fr--field[0].contour.labels.onβ typeBOOLEAN, defaultFALSE. Turns labels on π--field[0].contour.lengthsβ typeFLOAT-LIST, default"". A list of dash lengths π₯--field[0].contour.levelsβ typeFLOAT-LIST, default"". A list of levels β--field[0].contour.maxβ typeFLOAT, default-3.40282e+38. The max level π--field[0].contour.minβ typeFLOAT, default3.40282e+38. The min level π--field[0].contour.numberβ typeINTEGER, default10. How many levels you want π--field[0].contour.patternsβ typeSTRING-LIST, default"". A list of dash patterns π¦--field[0].contour.widthsβ typeFLOAT-LIST, default"". A list of widths π--field[0].diff.onβ typeBOOLEAN, defaultFALSE. Shows the field difference π§--field[0].fatal.onβ typeBOOLEAN, defaultFALSE. Fatal error if the field fails to be created π--field[0].geometry.check.onβ typeBOOLEAN, defaultFALSE. Checks the geometry π--field[0].geometry.frame.color1β typeCOLOR, default#ffffffff. First frame color β¨--field[0].geometry.frame.color2β typeCOLOR, default#505050ff. Second frame color πΈ--field[0].geometry.frame.dlatβ typeFLOAT, default10. Latitude interval π--field[0].geometry.frame.dlonβ typeFLOAT, default10. Longitude interval π--field[0].geometry.frame.onβ typeBOOLEAN, defaultFALSE. Draws a frame around the domain π--field[0].geometry.frame.widthβ typeFLOAT, default0. Frame width π₯--field[0].geometry.gaussian.apply_norm_scale.onβ typeBOOLEAN, defaultTRUE. Applies norm scaling π--field[0].geometry.gaussian.fit.onβ typeBOOLEAN, defaultFALSE. Fits Gaussian latitude retrieval β--field[0].geometry.gencoords.onβ typeBOOLEAN, defaultFALSE. Generates coordinates on the GPU when possible π--field[0].geometry.height.onβ typeBOOLEAN, defaultFALSE. Enables height π--field[0].geometry.height.pathβ typeFIELD-REF, default"". Height field path π¦--field[0].geometry.height.scaleβ typeFLOAT, default0.05. Scale to apply to the height field π--field[0].geometry.subgrid.onβ typeBOOLEAN, defaultFALSE. Creates a subgrid π§--field[0].geometry.triangle_strip.onβ typeBOOLEAN, defaultTRUE. Enables use of triangle strip π--field[0].hilo.font.bitmap.pathβ typePATH, defaultfonts/08.bmp. Bitmap path π--field[0].hilo.font.bitmap.scaleβ typeFLOAT, default0.05. Bitmap scale β¨--field[0].hilo.font.color.backgroundβ typeCOLOR, default#00000000. Background color πΈ--field[0].hilo.font.color.foregroundβ typeCOLOR, default#ffffffff. Foreground color π--field[0].hilo.onβ typeBOOLEAN, defaultFALSE. Displays low & high π--field[0].hilo.radiusβ typeFLOAT, default10. High/low radius in degrees π--field[0].isofill.levelsβ typeFLOAT-LIST, default"". List of levels π₯--field[0].isofill.maxβ typeFLOAT, default-3.40282e+38. Max level π--field[0].isofill.minβ typeFLOAT, default3.40282e+38. Min level β--field[0].isofill.numberβ typeINTEGER, default10. Number of levels π--field[0].mpiview.onβ typeBOOLEAN, defaultFALSE. Enables MPI view π--field[0].mpiview.pathβ typeFIELD-REF, default"". Path to the MPI distribution field π¦--field[0].mpiview.scaleβ typeFLOAT, default0.1. Displacement scale π--field[0].no_value_pointer.onβ typeBOOLEAN, defaultFALSE. Do not keep field values in memory π§--field[0].palette.colorsβ typeCOLOR-LIST, default"". Palette colors π--field[0].palette.fixed.onβ typeBOOLEAN, defaultFALSE. Fixed palette π--field[0].palette.generate.levelsβ typeINTEGER, default10. Number of values to generate β¨--field[0].palette.generate.onβ typeBOOLEAN, defaultFALSE. Generate values πΈ--field[0].palette.linear.onβ typeBOOLEAN, defaultFALSE. Linear colorbar display π--field[0].palette.maxβ typeFLOAT, default-3.40282e+38. Palette max value π--field[0].palette.minβ typeFLOAT, default3.40282e+38. Palette min value π--field[0].palette.nameβ typePALETTE-NAME, defaultdefault. Palette name π₯--field[0].palette.ncolorsβ typeINTEGER, default256. Number of colors π--field[0].palette.offsetβ typeFLOAT, default0. Offset for colorbar figures β--field[0].palette.rainbow.direct.onβ typeBOOLEAN, defaultFALSE. Direct/indirect rainbow π--field[0].palette.rainbow.onβ typeBOOLEAN, defaultFALSE. Generate rainbow palette π--field[0].palette.scaleβ typeFLOAT, default1. Scale for colorbar figures π¦--field[0].palette.valuesβ typeFLOAT-LIST, default"". Palette values π--field[0].pathβ typeFIELD-REF-LIST, default"". List of GRIB files π§--field[0].scalar.discrete.integer.onβ typeBOOLEAN, defaultFALSE. Values are integers π--field[0].scalar.discrete.missing_colorβ typeCOLOR, default#00000000. Color for missing values π--field[0].scalar.discrete.onβ typeBOOLEAN, defaultFALSE. Plot as a discrete field β¨--field[0].scalar.light.reverse.bβ typeFLOAT, default0.2. Reverse light coefficient πΈ--field[0].scalar.light.reverse.cβ typeFLOAT, default15. Reverse light coefficient π--field[0].scalar.light.reverse.onβ typeBOOLEAN, defaultFALSE. Reverse light π--field[0].scalar.pack.bitsβ typeINTEGER, default8. Number of bytes used to pack field π--field[0].scalar.points.onβ typeBOOLEAN, defaultFALSE. Display field as points π₯--field[0].scalar.points.size.factor.onβ typeBOOLEAN, defaultTRUE. Apply scale factor to point size π--field[0].scalar.points.size.valueβ typeFLOAT, default1. Field point size β--field[0].scalar.points.size.variable.onβ typeBOOLEAN, defaultFALSE. Variable field point size π--field[0].scalar.smooth.onβ typeBOOLEAN, defaultFALSE. Smooth scalar fields π--field[0].scalar.widen.merge.onβ typeBOOLEAN, defaultFALSE. Merge other regions π¦--field[0].scalar.widen.merge.valueβ typeFLOAT, default3.40282e+38. Merge value π--field[0].scalar.widen.onβ typeBOOLEAN, defaultFALSE. Enable region widening π§--field[0].scalar.widen.radiusβ typeINTEGER-LIST, default0. Radius for regions π--field[0].scalar.widen.valuesβ typeFLOAT-LIST, default0. Values for regions π--field[0].scalar.wireframe.onβ typeBOOLEAN, defaultFALSE. Display field as wireframe β¨--field[0].scaleβ typeSCALE, default1. Scales to be applied to fields πΈ--field[0].stream.densityβ typeFLOAT, default1. Stream lines density π--field[0].stream.motion.nwavesβ typeFLOAT, default10. Number of waves over 1000km π--field[0].stream.motion.onβ typeBOOLEAN, defaultFALSE. Enable stream lines motion π--field[0].stream.motion.timeaccelβ typeFLOAT, default10000. Time acceleration π₯--field[0].stream.widthβ typeFLOAT, default0. Stream lines width π
still in the OPTIONS mines, bestie β the config goblin has more for us, and it's giving detail π
"--field[0].type"β what kind of field are we even on? it's givingSCALAR,VECTOR,STREAM, orCONTOURπ¦ pick your fighter.- Type:
"FIELD-TYPE" - Default:
"SCALAR"
- Type:
"--field[0].user_pref.on"β should we go look up field settings in the database? yes pls, that's the vibe.- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--field[0].vector.arrow.color"β color for the arrows, obviously. default is that full white#ffffffff.- Type:
"COLOR" - Default:
"#ffffffff"
- Type:
"--field[0].vector.arrow.fill.on"β fill the arrow? iconic.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--field[0].vector.arrow.fixed.on"β fixed-size arrow, no scaling drama.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--field[0].vector.arrow.head_size"β vector head size, obvi.- Type:
"FLOAT" - Default:
0.1
- Type:
"--field[0].vector.arrow.kind"β arrow kind. mysterious but okay.- Type:
"INTEGER" - Default:
0
- Type:
"--field[0].vector.arrow.min"β vector min value.- Type:
"FLOAT" - Default:
0
- Type:
"--field[0].vector.arrow.on"β show arrows? yes bestie, show them π- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--field[0].vector.barb.angle"β barbs angle. geometry queen.- Type:
"FLOAT" - Default:
60
- Type:
"--field[0].vector.barb.circle.level"β value under which we draw a circle. lowkey dramatic.- Type:
"FLOAT" - Default:
1
- Type:
"--field[0].vector.barb.color"β barbs color. white again.- Type:
"COLOR" - Default:
"#ffffffff"
- Type:
"--field[0].vector.barb.dleng"β barbs length. wait, there are two length options? yes. this isdleng.- Type:
"FLOAT" - Default:
0.1
- Type:
"--field[0].vector.barb.length"β barbs length. the other one. π- Type:
"FLOAT" - Default:
0.25
- Type:
"--field[0].vector.barb.levels"β barbs levels. a whole list:0 5 10 15 20 25(yes, trailing space).- Type:
"FLOAT-LIST" - Default:
"0 5 10 15 20 25 "
- Type:
"--field[0].vector.barb.on"β enable barbs? currently off, but you do you.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--field[0].vector.barb.pennant.levels"β pennants levels. list:0 25 50 75(trailing space too).- Type:
"FLOAT-LIST" - Default:
"0 25 50 75 "
- Type:
"--field[0].vector.density"β vector density. how crowded we feeling?- Type:
"FLOAT" - Default:
50
- Type:
"--field[0].vector.norm.on"β show norm field? yes.- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--field[0].vector.scale"β vector scale. make it bigger or smaller.- Type:
"FLOAT" - Default:
1
- Type:
"--field[0].visible.on"β field is visible? yes bestie, main character energy β¨- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--geopoints.lat"β latitude field name. empty by default.- Type:
"STRING" - Default:
""
- Type:
"--geopoints.lon"β longitude field name. also empty.- Type:
"STRING" - Default:
""
- Type:
"--geopoints.on"β display geopoints? not rn, default false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--geopoints.path"β path. to what? geopoints, presumably. empty default.- Type:
"PATH" - Default:
""
- Type:
"--geopoints.points.color"β point color. white.- Type:
"COLOR" - Default:
"#ffffffff"
- Type:
"--geopoints.points.palette.colors"β palette colors. a list? empty default.- Type:
"COLOR-LIST" - Default:
""
- Type:
"--geopoints.points.palette.fixed.on"β fixed palette? no thanks.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--geopoints.points.palette.generate.levels"β number of values to generate. default 10.- Type:
"INTEGER" - Default:
10
- Type:
"--geopoints.points.palette.generate.on"β generate values? false by default.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--geopoints.points.palette.linear.on"β linear colorbar display? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--geopoints.points.palette.max"β palette max value. huge negative number:-3.40282e+38.- Type:
"FLOAT" - Default:
-3.40282e+38
- Type:
"--geopoints.points.palette.min"β palette min value. huge positive:3.40282e+38.- Type:
"FLOAT" - Default:
3.40282e+38
- Type:
"--geopoints.points.palette.name"β palette name. defaultnone.- Type:
"PALETTE-NAME" - Default:
"none"
- Type:
"--geopoints.points.palette.ncolors"β number of colors. 256, iconic.- Type:
"INTEGER" - Default:
256
- Type:
"--geopoints.points.palette.offset"β offset for colorbar figures.- Type:
"FLOAT" - Default:
0
- Type:
"--geopoints.points.palette.rainbow.direct.on"β direct/indirect rainbow? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--geopoints.points.palette.rainbow.on"β generate rainbow palette? not by default.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--geopoints.points.palette.scale"β scale for colorbar figures.- Type:
"FLOAT" - Default:
1
- Type:
"--geopoints.points.palette.values"β palette values. empty list.- Type:
"FLOAT-LIST" - Default:
""
- Type:
"--geopoints.points.scale"β scale. just scale.- Type:
"SCALE" - Default:
1
- Type:
"--geopoints.points.size.value"β point size. default 1.- Type:
"FLOAT" - Default:
1
- Type:
"--geopoints.points.size.variable.on"β enable variable point size? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--geopoints.points.visible.on"β points are visible? yes.- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--geopoints.time.on"β make points appear with time? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--geopoints.time.rate"β number of points to add at each new frame. default 1.- Type:
"INTEGER" - Default:
1
- Type:
"--geopoints.val"β value field name. empty.- Type:
"STRING" - Default:
""
- Type:
"--grid.color"β grid color. default green#00ff00ff.- Type:
"COLOR" - Default:
"#00ff00ff"
- Type:
"--grid.dash_length"β dash length in degrees. default 4.- Type:
"FLOAT" - Default:
4
- Type:
"--grid.interval"β interval between non dashed lines. default 2.- Type:
"INTEGER" - Default:
2
- Type:
"--grid.labels.angle"β angle of labels. default 0.- Type:
"FLOAT" - Default:
0
- Type:
"--grid.labels.font.bitmap.path"β bitmap path.fonts/08.bmp.- Type:
"PATH" - Default:
"fonts/08.bmp"
- Type:
"--grid.labels.font.bitmap.scale"β bitmap scale. 0.05.- Type:
"FLOAT" - Default:
0.05
- Type:
"--grid.labels.font.color.background"β background color. transparent black#00000000.- Type:
"COLOR" - Default:
"#00000000"
- Type:
"--grid.labels.font.color.foreground"β foreground color. white#ffffffff.- Type:
"COLOR" - Default:
"#ffffffff"
- Type:
"--grid.labels.lat"β latitude of longitude labels. default 0.- Type:
"LATITUDE" - Default:
0
- Type:
"--grid.labels.lon"β longitude of latitude labels. default 0.- Type:
"LONGITUDE" - Default:
0
- Type:
"--grid.labels.on"β enable labels? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--grid.on"β display grid? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--grid.points"β number of points along a parallel. default 200.- Type:
"INTEGER" - Default:
200
- Type:
"--grid.resolution"β grid resolution. default 9.- Type:
"INTEGER" - Default:
9
- Type:
"--grid.scale"β grid scale. default 1.005.- Type:
"SCALE" - Default:
1.005
- Type:
"--grid.visible.on"β grid is visible? yes.- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--land.layers[0].color"β land color. default#ffe2abff.- Type:
"COLOR" - Default:
"#ffe2abff"
- Type:
"--land.layers[0].on"β enable? yes.- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--land.layers[0].path"β path to coastlines.coastlines/shp/GSHHS_c_L1.shp.- Type:
"PATH" - Default:
"coastlines/shp/GSHHS_c_L1.shp"
- Type:
"--land.layers[0].scale"β scale. default 1.- Type:
"SCALE" - Default:
1
- Type:
"--land.layers[0].selector"β shape selection. empty.- Type:
"STRING" - Default:
""
- Type:
"--land.layers[0].subdivision.angle"β angle max for subdivision. default 1.- Type:
"FLOAT" - Default:
1
- Type:
"--land.layers[0].subdivision.on"β enable subdivision? yes.- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--land.on"β enable land? false by default.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--land.visible.on"β land is visible? yes.- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--landscape.color"β color. transparent black#00000000.- Type:
"COLOR" - Default:
"#00000000"
- Type:
"--landscape.flat.on"β make Earth flat? true, flat earth era /j.- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--landscape.geometry.check.on"β check geometry? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--landscape.geometry.frame.color1"β first frame color. white.- Type:
"COLOR" - Default:
"#ffffffff"
- Type:
"--landscape.geometry.frame.color2"β second frame color.#505050ff.- Type:
"COLOR" - Default:
"#505050ff"
- Type:
"--landscape.geometry.frame.dlat"β latitude interval. default 10.- Type:
"FLOAT" - Default:
10
- Type:
"--landscape.geometry.frame.dlon"β longitude interval. default 10.- Type:
"FLOAT" - Default:
10
- Type:
"--landscape.geometry.frame.on"β draw frame around domain? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--landscape.geometry.frame.width"β frame width. default 0.- Type:
"FLOAT" - Default:
0
- Type:
"--landscape.geometry.gaussian.apply_norm_scale.on"β apply norm scaling? yes.- Type:
"BOOLEAN" - Default:
"TRUE"
- Type:
"--landscape.geometry.gaussian.fit.on"β fit Gaussian latitude retrieval? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--landscape.geometry.gencoords.on"β generate coordinates on GPU when possible? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--landscape.geometry.height.on"β enable height? false.- Type:
"BOOLEAN" - Default:
"FALSE"
- Type:
"--landscape.geometry.height.path"β height field path. empty.- Type:
"FIELD-REF" - Default:
""
- Type:
"--landscape.geometry.height.scale"- Type:
"FLOAT" - Default:
0.05
- Type:
Okay so picking right back up where we left off, last thing on the docket for the landscape geometry: Scale to apply to height field β that's the scale factor you slap onto the height field. Vibes only, it's just a scale. π
--landscape.geometry.subgrid.onβ type"BOOLEAN", default"FALSE"β create a subgrid--landscape.geometry.triangle_strip.onβ type"BOOLEAN", default"TRUE"β turn on use of triangle strip (already on, she's already thriving β¨)--landscape.grid.number_of_latitudesβ type"INTEGER", default500β number of latitudes--landscape.grid.pathβ type"STRING", default""β take the geometry from this file--landscape.lonlat.position.lat1β type"FLOAT", default-90β first latitude of display--landscape.lonlat.position.lat2β type"FLOAT", default90β last latitude of display--landscape.lonlat.position.lon1β type"FLOAT", default-180β first longitude of display--landscape.lonlat.position.lon2β type"FLOAT", default180β last longitude of display--landscape.onβ type"BOOLEAN", default"FALSE"β enable landscape--landscape.pathβ type"STRING", default"landscape/Whole_world_-_land_and_oceans_08000.png"β path to the landscape image in BMP format--landscape.projectionβ type"STRING", default"LONLAT"β projection:LONLATorWEBMERCATOR--landscape.scaleβ type"SCALE", default1β scale--landscape.visible.onβ type"BOOLEAN", default"TRUE"β landscape is visible π--landscape.wireframe.onβ type"BOOLEAN", default"FALSE"β draw the landscape in wireframe mode
Mapscale time, bestie π:
--mapscale.color1β type"COLOR", default"#ffffffff"β first color--mapscale.color2β type"COLOR", default"#505050ff"β second color--mapscale.font.bitmap.pathβ type"PATH", default"fonts/16.bmp"β bitmap path--mapscale.font.bitmap.scaleβ type"FLOAT", default0.02β bitmap scale--mapscale.font.color.backgroundβ type"COLOR", default"#00000000"β background color--mapscale.font.color.foregroundβ type"COLOR", default"#ffffffff"β foreground color--mapscale.onβ type"BOOLEAN", default"FALSE"β activate mapscale--mapscale.position.xmaxβ type"FLOAT", default0.25β mapscale xmax--mapscale.position.xminβ type"FLOAT", default0.05β mapscale xmin--mapscale.position.ymaxβ type"FLOAT", default0.07β mapscale ymax--mapscale.position.yminβ type"FLOAT", default0.05β mapscale ymin
Render settings, aka the glow-up department π:
--render.antialiasing.onβ type"BOOLEAN", default"TRUE"β enable antialiasing--render.antialiasing.samplesβ type"INTEGER", default4β samples for antialiasing--render.debug.onβ type"BOOLEAN", default"FALSE"β enable OpenGL debugging--render.fullscreen.onβ type"BOOLEAN", default"FALSE"β window in fullscreen mode--render.fullscreen.x.onβ type"BOOLEAN", default"FALSE"β window in fullscreen mode in the X direction--render.fullscreen.y.onβ type"BOOLEAN", default"FALSE"β window in fullscreen mode in the Y direction--render.heightβ type"INTEGER", default800β window height--render.info.onβ type"BOOLEAN", default"FALSE"β show hardware info--render.offscreen.formatβ type"STRING", default"snapshot_%N.png"β PNG format output--render.offscreen.framesβ type"INTEGER", default1β number of frames to issue in offline mode--render.offscreen.onβ type"BOOLEAN", default"FALSE"β run in offline mode--render.opengl.versionβ type"FLOAT", default4.3β OpenGL version--render.position.xβ type"INTEGER", default-1β window x position--render.position.yβ type"INTEGER", default-1β window y position--render.statistics.onβ type"BOOLEAN", default"FALSE"β issue statistics when the window is closed--render.titleβ type"STRING", default""β window title--render.widthβ type"INTEGER", default800β window width
Review mode, short but iconic π :
--review.onβ type"BOOLEAN", default"FALSE"β enable review mode--review.pathβ type"PATH", default""β file to review
Rivers ποΈ (and yes, a bunch of these say "Coastlines" in the description, no I'm not messing with it, that's literally what the page says, iykyk):
--rivers.lines.colorβ type"COLOR", default"#ffffffff"β coastlines color--rivers.lines.formatβ type"STRING", default"gshhg"β input format--rivers.lines.latmaxβ type"FLOAT", default0β maximum latitude--rivers.lines.latminβ type"FLOAT", default0β minimum latitude--rivers.lines.lonmaxβ type"FLOAT", default0β maximum longitude--rivers.lines.lonminβ type"FLOAT", default0β minimum longitude--rivers.lines.pathβ type"STRING", default"coastlines/gshhg/WDBII_bin/wdb_rivers_f.b"β path to the lines file--rivers.lines.scaleβ type"SCALE", default1.005β coastlines scale--rivers.lines.selectorβ type"STRING", default""β selector--rivers.lines.visible.onβ type"BOOLEAN", default"TRUE"β lines are visible--rivers.onβ type"BOOLEAN", default"FALSE"β display rivers
Scene stuff, aka the main character energy block π:
--scene.center.gridpointβ type"INTEGER", default-1β rank of the grid point to set focus on--scene.center.onβ type"BOOLEAN", default"FALSE"β center on the first field--scene.date.font.bitmap.pathβ type"PATH", default"fonts/08.bmp"β bitmap path--scene.date.font.bitmap.scaleβ type"FLOAT", default0.05β bitmap scale--scene.date.font.color.backgroundβ type"COLOR", default"#00000000"β background color--scene.date.font.color.foregroundβ type"COLOR", default"#ffffffff"β foreground color--scene.date.onβ type"BOOLEAN", default"FALSE"β display the date--scene.image.alignβ type"STRING", default""β image alignment--scene.image.onβ type"BOOLEAN", default"FALSE"β enable image display--scene.image.pathβ type"PATH", default""β path to image--scene.image.x0β type"FLOAT", default0β left abscissa--scene.image.x1β type"FLOAT", default1β right abscissa--scene.image.y0β type"FLOAT", default0β lower ordinate--scene.image.y1β type"FLOAT", default1β upper ordinate--scene.interpolation.framesβ type"INTEGER", default10β number of frames--scene.interpolation.onβ type"BOOLEAN", default"FALSE"β enable interpolation
Light settings, sunlight girlies rise βοΈ:
--scene.light.dateβ type"DATE", default"0000/00/00_00:00:00"β date for sunlight position--scene.light.date_from_grib.onβ type"BOOLEAN", default"FALSE"β calculate light position from GRIB date--scene.light.latβ type"LATITUDE", default0β light latitude--scene.light.lonβ type"LONGITUDE", default0β light longitude--scene.light.nightβ type"FLOAT", default0.1β fraction of light during for night--scene.light.onβ type"BOOLEAN", default"FALSE"β enable light--scene.light.rotate.onβ type"BOOLEAN", default"FALSE"β make sunlight move--scene.light.rotate.rateβ type"FLOAT", default1β rate of rotation: angle/frame--scene.lon_at_hourβ type"FLOAT", default-1β set longitude at solar time
Spin the globe πβ¨:
--scene.rotate_earth.onβ type"BOOLEAN", default"FALSE"β make the earth rotate--scene.rotate_earth.rateβ type"FLOAT", default1β rate of rotation: angle/frame
Picking and text, last stretch of this batch π«Ά:
--scene.select.field_rankβ type"INTEGER", default0β rank of field to select--scene.text.aβ type"STRING-LIST", default""β text alignment--scene.text.font.bitmap.pathβ type"PATH", default"fonts/08.bmp"β bitmap path--scene.text.font.bitmap.scaleβ type"FLOAT", default0.05β bitmap scale--scene.text.font.color.backgroundβ type"COLOR", default"#00000000"β background color--scene.text.font.color.foregroundβ type"COLOR", default"#ffffffff"β foreground color- β¦and the very last line of that font block that got split across the page break: Foreground color π (you know the drill by now, bestie β it's the color the text itself is painted in).
--scene.text.onβ Type:BOOLEAN, default:FALSE. Turns text on β¨--scene.text.sβ Type:STRING-LIST, default:"". The actual strings you want on screen π«Ά--scene.text.xβ Type:FLOAT-LIST, default:"". Coordinates of strings π--scene.text.yβ Type:FLOAT-LIST, default:"". Coordinates of strings π
--scene.title.aβ Type:STRING, default:"NW". Alignment π--scene.title.font.bitmap.pathβ Type:PATH, default:"fonts/08.bmp". Bitmap path πΌοΈ--scene.title.font.bitmap.scaleβ Type:FLOAT, default:0.05. Bitmap scale π--scene.title.font.color.backgroundβ Type:COLOR, default:"#00000000". Background color π¨--scene.title.font.color.foregroundβ Type:COLOR, default:"#ffffffff". Foreground color π¨--scene.title.onβ Type:BOOLEAN, default:"FALSE". Turns the title on π--scene.title.textβ Type:STRING, default:"". The title itself βοΈ--scene.title.xβ Type:FLOAT, default:0. Coordinates π--scene.title.yβ Type:FLOAT, default:1. Coordinates π
--scene.travelling.framesβ Type:INTEGER, default:100. Number of frames ποΈ--scene.travelling.onβ Type:BOOLEAN, default:"FALSE". Turns travelling on π--scene.travelling.pos1.fovβ Type:FLOAT, default:0. Field of view ποΈ--scene.travelling.pos1.latβ Type:LATITUDE, default:0. Latitude π--scene.travelling.pos1.lonβ Type:LONGITUDE, default:0. Longitude π--scene.travelling.pos2.fovβ Type:FLOAT, default:0. Field of view ποΈ--scene.travelling.pos2.latβ Type:LATITUDE, default:0. Latitude π--scene.travelling.pos2.lonβ Type:LONGITUDE, default:0. Longitude π
--shell.onβ Type:BOOLEAN, default:"FALSE". Runs the command line π»--shell.prompt.onβ Type:BOOLEAN, default:"FALSE". Starts an interactive session once the batch script finishes π
--ticks.E.dlatβ Type:FLOAT, default:10. Latitude interval π--ticks.E.dlonβ Type:FLOAT, default:10. Longitude interval π--ticks.E.nswe.onβ Type:BOOLEAN, default:"FALSE". North/South/West/East labels instead of+/-π§--ticks.E.onβ Type:BOOLEAN, default:"TRUE". Enables that side β--ticks.N.dlatβ Type:FLOAT, default:10. Latitude interval π--ticks.N.dlonβ Type:FLOAT, default:10. Longitude interval π--ticks.N.nswe.onβ Type:BOOLEAN, default:"FALSE". North/South/West/East labels instead of+/-π§--ticks.N.onβ Type:BOOLEAN, default:"TRUE". Enables that side β--ticks.S.dlatβ Type:FLOAT, default:10. Latitude interval π--ticks.S.dlonβ Type:FLOAT, default:10. Longitude interval π--ticks.S.nswe.onβ Type:BOOLEAN, default:"FALSE". North/South/West/East labels instead of+/-π§--ticks.S.onβ Type:BOOLEAN, default:"TRUE". Enables that side β--ticks.W.dlatβ Type:FLOAT, default:10. Latitude interval π--ticks.W.dlonβ Type:FLOAT, default:10. Longitude interval π--ticks.W.nswe.onβ Type:BOOLEAN, default:"FALSE". North/South/West/East labels instead of+/-π§--ticks.W.onβ Type:BOOLEAN, default:"TRUE". Enables that side β
--ticks.frame.colorβ Type:COLOR, default:"#ff0000ff". Frame color πΌοΈ--ticks.frame.onβ Type:BOOLEAN, default:"FALSE". Turns the frame on β¨--ticks.frame.widthβ Type:FLOAT, default:0.01. Frame width π--ticks.labels.font.bitmap.pathβ Type:PATH, default:"fonts/08.bmp". Bitmap path πΌοΈ--ticks.labels.font.bitmap.scaleβ Type:FLOAT, default:0.02. Bitmap scale π--ticks.labels.font.color.backgroundβ Type:COLOR, default:"#00000000". Background color π¨--ticks.labels.font.color.foregroundβ Type:COLOR, default:"#ffffffff". Foreground color π¨--ticks.labels.formatβ Type:STRING, default:"%+06.2f". The format used for tick labels π€--ticks.labels.onβ Type:BOOLEAN, default:"FALSE". Displays tick labels π’--ticks.lines.colorβ Type:COLOR, default:"#ffffffff". Tick color π¨--ticks.lines.kindβ Type:INTEGER, default:0. Tick kind π§©--ticks.lines.lengthβ Type:FLOAT, default:0.025. Tick length π--ticks.lines.onβ Type:BOOLEAN, default:"FALSE". Displays ticks β--ticks.lines.widthβ Type:FLOAT, default:0.01. Tick width π--ticks.visible.onβ Type:BOOLEAN, default:"TRUE". Ticks are visible π
--view.center.onβ Type:BOOLEAN, default:"TRUE". Centers the view π―--view.clip.dlatβ Type:FLOAT, default:5. How much latitude gets clipped βοΈ--view.clip.dlonβ Type:FLOAT, default:10. How much longitude gets clipped βοΈ--view.clip.onβ Type:BOOLEAN, default:"TRUE". Enables Mercator and lat/lon clipping βοΈ--view.clip.xmaxβ Type:FLOAT, default:1. Max viewport x coordinate π--view.clip.xminβ Type:FLOAT, default:0. Min viewport x coordinate π--view.clip.ymaxβ Type:FLOAT, default:1. Max viewport y coordinate π--view.clip.yminβ Type:FLOAT, default:0. Min viewport y coordinate π--view.distanceβ Type:FLOAT, default:6. Camera distance π·--view.fovβ Type:ANGLE, default:20. Camera field of view ποΈ--view.latβ Type:LATITUDE, default:0. Camera latitude π--view.lonβ Type:LONGITUDE, default:0. Camera longitude π--view.pitchβ Type:ANGLE, default:0. Camera pitch π--view.projectionβ Type:PROJECTION, default:"XYZ". Your choices:Mercator,XYZ,latlon,polar_north,polar_southπΊοΈ--view.rollβ Type:ANGLE, default:0. Camera roll π--view.trans.matrixβ Type:FLOAT-LIST, default:"". Transformation matrix values π’--view.trans.onβ Type:BOOLEAN, default:"FALSE". Enables the transformation matrix β¨--view.transformationβ Type:TRANSFORMATION, default:"PERSPECTIVE". Perspective or orthographic π--view.yawβ Type:ANGLE, default:0. Camera yaw π--view.zoom.latβ Type:LATITUDE, default:46.7. Latitude of the zoom π--view.zoom.lonβ Type:LONGITUDE, default:2. Longitude of the zoom π--view.zoom.onβ Type:BOOLEAN, default:"FALSE". Enables zoom with the Schmidt transform π--view.zoom.stretchβ Type:FLOAT, default:0.5. Stretching factor π«
π SEE ALSO π
okay bestie, if you wanna go deeper (and you should, it's giving research era) π
The glgrib page on github.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, the moment, the legend who built all of this β¨π
and that's the whole page, bestie, we made it to the end π this lil manual is glgrib-glfw(1), dated 2026-07-03 β go forth and render some gorgeous planet vibes, no cap ππβ¨
π¦ 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