Scroll to navigation

glgrib-egl(1) glgrib-egl(1)

NAME

glgrib - Display GRIB edition fields using OpenGL

SYNOPSIS

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.

Features : raster, contour, vector, colorbar, mapscale, coastlines, borders. Lat/lon, lambert, gaussian grid. GLFW backend for interactive display (glgrib-glfw), EGL backend (glgrib-egl) for batch processing without X11 display.

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

"--border.countries.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Display countries

"--border.lines.color"
Type : "COLOR"

Default : "#ffffffff"

Description : Coastlines color

"--border.lines.format"
Type : "STRING"

Default : "gshhg"

Description : Input format

"--border.lines.latmax"
Type : "FLOAT"

Default : 0

Description : Maximum latitude

"--border.lines.latmin"
Type : "FLOAT"

Default : 0

Description : Minimum latitude

"--border.lines.lonmax"
Type : "FLOAT"

Default : 0

Description : Maximum longitude

"--border.lines.lonmin"
Type : "FLOAT"

Default : 0

Description : Minimum longitude

"--border.lines.path"
Type : "STRING"

Default : "coastlines/gshhg/WDBII_bin/wdb_borders_f.b"

Description : Path to lines file

"--border.lines.scale"
Type : "SCALE"

Default : 1.005

Description : Coastlines scale

"--border.lines.selector"
Type : "STRING"

Default : ""

Description : Selector

"--border.lines.visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Lines are visible

"--border.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display borders

"--border.regions.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display regions

"--border.sea.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display sea borders

"--cities.labels.font.bitmap.path"
Type : "PATH"

Default : "fonts/08.bmp"

Description : Bitmap path

"--cities.labels.font.bitmap.scale"
Type : "FLOAT"

Default : 0.05

Description : Bitmap scale

"--cities.labels.font.color.background"
Type : "COLOR"

Default : "#00000000"

Description : Background color

"--cities.labels.font.color.foreground"
Type : "COLOR"

Default : "#ffffffff"

Description : Foreground color

"--cities.labels.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable city names display

"--cities.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display cities

"--cities.points.color"
Type : "COLOR"

Default : "#ffffffff"

Description : Point color

"--cities.points.palette.colors"
Type : "COLOR-LIST"

Default : ""

Description : Palette colors

"--cities.points.palette.fixed.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Fixed palette

"--cities.points.palette.generate.levels"
Type : "INTEGER"

Default : 10

Description : Number of values to generate

"--cities.points.palette.generate.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Generate values

"--cities.points.palette.linear.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Linear colorbar display

"--cities.points.palette.max"
Type : "FLOAT"

Default : "-3.40282e+38"

Description : Palette max value

"--cities.points.palette.min"
Type : "FLOAT"

Default : 3.40282e+38

Description : Palette min value

"--cities.points.palette.name"
Type : "PALETTE-NAME"

Default : "none"

Description : Palette name

"--cities.points.palette.ncolors"
Type : "INTEGER"

Default : 256

Description : Number of colors

"--cities.points.palette.offset"
Type : "FLOAT"

Default : 0

Description : Offset for colorbar figures

"--cities.points.palette.rainbow.direct.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Direct/indirect rainbow

"--cities.points.palette.rainbow.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Generate rainbow palette

"--cities.points.palette.scale"
Type : "FLOAT"

Default : 1

Description : Scale for colorbar figures

"--cities.points.palette.values"
Type : "FLOAT-LIST"

Default : ""

Description : Palette values

"--cities.points.scale"
Type : "SCALE"

Default : 1

Description : Scale

"--cities.points.size.value"
Type : "FLOAT"

Default : 1

Description : Point size

"--cities.points.size.variable.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable variable point size

"--cities.points.visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Points are visible

"--coast.lakes.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display lakes coastlines

"--coast.lines.color"
Type : "COLOR"

Default : "#ffffffff"

Description : Coastlines color

"--coast.lines.format"
Type : "STRING"

Default : "gshhg"

Description : Input format

"--coast.lines.latmax"
Type : "FLOAT"

Default : 0

Description : Maximum latitude

"--coast.lines.latmin"
Type : "FLOAT"

Default : 0

Description : Minimum latitude

"--coast.lines.lonmax"
Type : "FLOAT"

Default : 0

Description : Maximum longitude

"--coast.lines.lonmin"
Type : "FLOAT"

Default : 0

Description : Minimum longitude

"--coast.lines.path"
Type : "STRING"

Default : "coastlines/gshhg/GSHHS_bin/gshhs_h.b"

Description : Path to lines file

"--coast.lines.scale"
Type : "SCALE"

Default : 1.005

Description : Coastlines scale

"--coast.lines.selector"
Type : "STRING"

Default : ""

Description : Selector

"--coast.lines.visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Lines are visible

"--coast.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display coastlines

"--colorbar.font.bitmap.path"
Type : "PATH"

Default : "fonts/16.bmp"

Description : Bitmap path

"--colorbar.font.bitmap.scale"
Type : "FLOAT"

Default : 0.02

Description : Bitmap scale

"--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 : Format (sprintf) use to display numbers

"--colorbar.levels.number"
Type : "INTEGER"

Default : 11

Description : Colorbar number of levels

"--colorbar.levels.values"
Type : "FLOAT-LIST"

Default : ""

Description : Colorbar level values

"--colorbar.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Activate colorbar

"--colorbar.position.xmax"
Type : "FLOAT"

Default : 0.18

Description : Colorbar xmax

"--colorbar.position.xmin"
Type : "FLOAT"

Default : 0.08

Description : Colorbar xmin

"--colorbar.position.ymax"
Type : "FLOAT"

Default : 0.95

Description : Colorbar ymax

"--colorbar.position.ymin"
Type : "FLOAT"

Default : 0.05

Description : Colorbar ymin

"--departements.lines.color"
Type : "COLOR"

Default : "#ffffffff"

Description : Coastlines color

"--departements.lines.format"
Type : "STRING"

Default : "shapeline"

Description : Input format

"--departements.lines.latmax"
Type : "FLOAT"

Default : 0

Description : Maximum latitude

"--departements.lines.latmin"
Type : "FLOAT"

Default : 0

Description : Minimum latitude

"--departements.lines.lonmax"
Type : "FLOAT"

Default : 0

Description : Maximum longitude

"--departements.lines.lonmin"
Type : "FLOAT"

Default : 0

Description : Minimum longitude

"--departements.lines.path"
Type : "STRING"

Default : "coastlines/departements/departements-20180101.shp"

Description : Path to lines file

"--departements.lines.scale"
Type : "SCALE"

Default : 1.005

Description : Coastlines scale

"--departements.lines.selector"
Type : "STRING"

Default : ""

Description : Selector

"--departements.lines.visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Lines are visible

"--departements.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display departements

"--diff.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable difference mode

"--diff.path"
Type : "STRING-LIST"

Default : ""

Description : Files to show in diff mode

"--field[0].contour.labels.distmin"
Type : "FLOAT"

Default : 3

Description : Minimal length in degrees for labelled lines

"--field[0].contour.labels.font.bitmap.path"
Type : "PATH"

Default : "fonts/08.bmp"

Description : Bitmap path

"--field[0].contour.labels.font.bitmap.scale"
Type : "FLOAT"

Default : 0.05

Description : Bitmap scale

"--field[0].contour.labels.font.color.background"
Type : "COLOR"

Default : "#00000000"

Description : Background color

"--field[0].contour.labels.font.color.foreground"
Type : "COLOR"

Default : "#ffffffff"

Description : Foreground color

"--field[0].contour.labels.format"
Type : "STRING"

Default : "%12.2f"

Description : Format to print labels

"--field[0].contour.labels.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable labels

"--field[0].contour.lengths"
Type : "FLOAT-LIST"

Default : ""

Description : List of dash lengths

"--field[0].contour.levels"
Type : "FLOAT-LIST"

Default : ""

Description : List of levels

"--field[0].contour.max"
Type : "FLOAT"

Default : "-3.40282e+38"

Description : Max level

"--field[0].contour.min"
Type : "FLOAT"

Default : 3.40282e+38

Description : Min level

"--field[0].contour.number"
Type : "INTEGER"

Default : 10

Description : Number of levels

"--field[0].contour.patterns"
Type : "STRING-LIST"

Default : ""

Description : List of dash patterns

"--field[0].contour.widths"
Type : "FLOAT-LIST"

Default : ""

Description : List of widths

"--field[0].diff.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Show field difference

"--field[0].fatal.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Fatal error if field fails to be created

"--field[0].geometry.check.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Check geometry

"--field[0].geometry.frame.color1"
Type : "COLOR"

Default : "#ffffffff"

Description : First frame color

"--field[0].geometry.frame.color2"
Type : "COLOR"

Default : "#505050ff"

Description : Second frame color

"--field[0].geometry.frame.dlat"
Type : "FLOAT"

Default : 10

Description : Latitude interval

"--field[0].geometry.frame.dlon"
Type : "FLOAT"

Default : 10

Description : Longitude interval

"--field[0].geometry.frame.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Draw frame around domain

"--field[0].geometry.frame.width"
Type : "FLOAT"

Default : 0

Description : Frame width

"--field[0].geometry.gaussian.apply_norm_scale.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Apply norm scaling

"--field[0].geometry.gaussian.fit.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Fit Gaussian latitude retrieval

"--field[0].geometry.gencoords.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Generate coordinates on GPU when possible

"--field[0].geometry.height.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable height

"--field[0].geometry.height.path"
Type : "FIELD-REF"

Default : ""

Description : Height field path

"--field[0].geometry.height.scale"
Type : "FLOAT"

Default : 0.05

Description : Scale to apply to height field

"--field[0].geometry.subgrid.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Create subgrid

"--field[0].geometry.triangle_strip.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Enable use of triangle strip

"--field[0].hilo.font.bitmap.path"
Type : "PATH"

Default : "fonts/08.bmp"

Description : Bitmap path

"--field[0].hilo.font.bitmap.scale"
Type : "FLOAT"

Default : 0.05

Description : Bitmap scale

"--field[0].hilo.font.color.background"
Type : "COLOR"

Default : "#00000000"

Description : Background color

"--field[0].hilo.font.color.foreground"
Type : "COLOR"

Default : "#ffffffff"

Description : Foreground color

"--field[0].hilo.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display low & high

"--field[0].hilo.radius"
Type : "FLOAT"

Default : 10

Description : High/low radius in degrees

"--field[0].isofill.levels"
Type : "FLOAT-LIST"

Default : ""

Description : List of levels

"--field[0].isofill.max"
Type : "FLOAT"

Default : "-3.40282e+38"

Description : Max level

"--field[0].isofill.min"
Type : "FLOAT"

Default : 3.40282e+38

Description : Min level

"--field[0].isofill.number"
Type : "INTEGER"

Default : 10

Description : Number of levels

"--field[0].mpiview.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable MPI view

"--field[0].mpiview.path"
Type : "FIELD-REF"

Default : ""

Description : Path to MPI distribution field

"--field[0].mpiview.scale"
Type : "FLOAT"

Default : 0.1

Description : Displacement scale

"--field[0].no_value_pointer.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Do not keep field values in memory

"--field[0].palette.colors"
Type : "COLOR-LIST"

Default : ""

Description : Palette colors

"--field[0].palette.fixed.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Fixed palette

"--field[0].palette.generate.levels"
Type : "INTEGER"

Default : 10

Description : Number of values to generate

"--field[0].palette.generate.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Generate values

"--field[0].palette.linear.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Linear colorbar display

"--field[0].palette.max"
Type : "FLOAT"

Default : "-3.40282e+38"

Description : Palette max value

"--field[0].palette.min"
Type : "FLOAT"

Default : 3.40282e+38

Description : Palette min value

"--field[0].palette.name"
Type : "PALETTE-NAME"

Default : "default"

Description : Palette name

"--field[0].palette.ncolors"
Type : "INTEGER"

Default : 256

Description : Number of colors

"--field[0].palette.offset"
Type : "FLOAT"

Default : 0

Description : Offset for colorbar figures

"--field[0].palette.rainbow.direct.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Direct/indirect rainbow

"--field[0].palette.rainbow.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Generate rainbow palette

"--field[0].palette.scale"
Type : "FLOAT"

Default : 1

Description : Scale for colorbar figures

"--field[0].palette.values"
Type : "FLOAT-LIST"

Default : ""

Description : Palette values

"--field[0].path"
Type : "FIELD-REF-LIST"

Default : ""

Description : List of GRIB files

"--field[0].scalar.discrete.integer.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Values are integers

"--field[0].scalar.discrete.missing_color"
Type : "COLOR"

Default : "#00000000"

Description : Color for missing values

"--field[0].scalar.discrete.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Plot as a discrete field

"--field[0].scalar.light.reverse.b"
Type : "FLOAT"

Default : 0.2

Description : Reverse light coefficient

"--field[0].scalar.light.reverse.c"
Type : "FLOAT"

Default : 15

Description : Reverse light coefficient

"--field[0].scalar.light.reverse.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Reverse light

"--field[0].scalar.pack.bits"
Type : "INTEGER"

Default : 8

Description : Number of bytes used to pack field

"--field[0].scalar.points.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display field as points

"--field[0].scalar.points.size.factor.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Apply scale factor to point size

"--field[0].scalar.points.size.value"
Type : "FLOAT"

Default : 1

Description : Field point size

"--field[0].scalar.points.size.variable.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Variable field point size

"--field[0].scalar.smooth.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Smooth scalar fields

"--field[0].scalar.widen.merge.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Merge other regions

"--field[0].scalar.widen.merge.value"
Type : "FLOAT"

Default : 3.40282e+38

Description : Merge value

"--field[0].scalar.widen.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable region widening

"--field[0].scalar.widen.radius"
Type : "INTEGER-LIST"

Default : 0

Description : Radius for regions

"--field[0].scalar.widen.values"
Type : "FLOAT-LIST"

Default : 0

Description : Values for regions

"--field[0].scalar.wireframe.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display field as wireframe

"--field[0].scale"
Type : "SCALE"

Default : 1

Description : Scales to be applied to fields

"--field[0].stream.density"
Type : "FLOAT"

Default : 1

Description : Stream lines density

"--field[0].stream.motion.nwaves"
Type : "FLOAT"

Default : 10

Description : Number of waves over 1000km

"--field[0].stream.motion.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable stream lines motion

"--field[0].stream.motion.timeaccel"
Type : "FLOAT"

Default : 10000

Description : Time acceleration

"--field[0].stream.width"
Type : "FLOAT"

Default : 0

Description : Stream lines width

"--field[0].type"
Type : "FIELD-TYPE"

Default : "SCALAR"

Description : Field type : SCALAR VECTOR STREAM CONTOUR

"--field[0].user_pref.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Lookup field settings in database

"--field[0].vector.arrow.color"
Type : "COLOR"

Default : "#ffffffff"

Description : Color for arrows

"--field[0].vector.arrow.fill.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Fill arrow

"--field[0].vector.arrow.fixed.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Fixed sized arrow

"--field[0].vector.arrow.head_size"
Type : "FLOAT"

Default : 0.1

Description : Vector head size

"--field[0].vector.arrow.kind"
Type : "INTEGER"

Default : 0

Description : Arrow kind

"--field[0].vector.arrow.min"
Type : "FLOAT"

Default : 0

Description : Vector min value

"--field[0].vector.arrow.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Show arrows

"--field[0].vector.barb.angle"
Type : "FLOAT"

Default : 60

Description : Barbs angle

"--field[0].vector.barb.circle.level"
Type : "FLOAT"

Default : 1

Description : Value under which we draw a circle

"--field[0].vector.barb.color"
Type : "COLOR"

Default : "#ffffffff"

Description : Barbs color

"--field[0].vector.barb.dleng"
Type : "FLOAT"

Default : 0.1

Description : Barbs length

"--field[0].vector.barb.length"
Type : "FLOAT"

Default : 0.25

Description : Barbs length

"--field[0].vector.barb.levels"
Type : "FLOAT-LIST"

Default : "0 5 10 15 20 25 "

Description : Barbs levels

"--field[0].vector.barb.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable barbs

"--field[0].vector.barb.pennant.levels"
Type : "FLOAT-LIST"

Default : "0 25 50 75 "

Description : Pennants levels

"--field[0].vector.density"
Type : "FLOAT"

Default : 50

Description : Vector density

"--field[0].vector.norm.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Show norm field

"--field[0].vector.scale"
Type : "FLOAT"

Default : 1

Description : Vector scale

"--field[0].visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Field is visible

"--geopoints.lat"
Type : "STRING"

Default : ""

Description : Latitude field name

"--geopoints.lon"
Type : "STRING"

Default : ""

Description : Longitude field name

"--geopoints.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display geopoints

"--geopoints.path"
Type : "PATH"

Default : ""

Description : Path

"--geopoints.points.color"
Type : "COLOR"

Default : "#ffffffff"

Description : Point color

"--geopoints.points.palette.colors"
Type : "COLOR-LIST"

Default : ""

Description : Palette colors

"--geopoints.points.palette.fixed.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Fixed palette

"--geopoints.points.palette.generate.levels"
Type : "INTEGER"

Default : 10

Description : Number of values to generate

"--geopoints.points.palette.generate.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Generate values

"--geopoints.points.palette.linear.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Linear colorbar display

"--geopoints.points.palette.max"
Type : "FLOAT"

Default : "-3.40282e+38"

Description : Palette max value

"--geopoints.points.palette.min"
Type : "FLOAT"

Default : 3.40282e+38

Description : Palette min value

"--geopoints.points.palette.name"
Type : "PALETTE-NAME"

Default : "none"

Description : Palette name

"--geopoints.points.palette.ncolors"
Type : "INTEGER"

Default : 256

Description : Number of colors

"--geopoints.points.palette.offset"
Type : "FLOAT"

Default : 0

Description : Offset for colorbar figures

"--geopoints.points.palette.rainbow.direct.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Direct/indirect rainbow

"--geopoints.points.palette.rainbow.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Generate rainbow palette

"--geopoints.points.palette.scale"
Type : "FLOAT"

Default : 1

Description : Scale for colorbar figures

"--geopoints.points.palette.values"
Type : "FLOAT-LIST"

Default : ""

Description : Palette values

"--geopoints.points.scale"
Type : "SCALE"

Default : 1

Description : Scale

"--geopoints.points.size.value"
Type : "FLOAT"

Default : 1

Description : Point size

"--geopoints.points.size.variable.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable variable point size

"--geopoints.points.visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Points are visible

"--geopoints.time.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Make points appear with time

"--geopoints.time.rate"
Type : "INTEGER"

Default : 1

Description : Number of points to add at each new frame

"--geopoints.val"
Type : "STRING"

Default : ""

Description : Value field name

"--grid.color"
Type : "COLOR"

Default : "#00ff00ff"

Description : Grid color

"--grid.dash_length"
Type : "FLOAT"

Default : 4

Description : Dash length in degrees

"--grid.interval"
Type : "INTEGER"

Default : 2

Description : Interval between non dashed lines

"--grid.labels.angle"
Type : "FLOAT"

Default : 0

Description : Angle of labels

"--grid.labels.font.bitmap.path"
Type : "PATH"

Default : "fonts/08.bmp"

Description : Bitmap path

"--grid.labels.font.bitmap.scale"
Type : "FLOAT"

Default : 0.05

Description : Bitmap scale

"--grid.labels.font.color.background"
Type : "COLOR"

Default : "#00000000"

Description : Background color

"--grid.labels.font.color.foreground"
Type : "COLOR"

Default : "#ffffffff"

Description : Foreground color

"--grid.labels.lat"
Type : "LATITUDE"

Default : 0

Description : Latitude of longitude labels

"--grid.labels.lon"
Type : "LONGITUDE"

Default : 0

Description : Longitude of latitude labels

"--grid.labels.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable labels

"--grid.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display grid

"--grid.points"
Type : "INTEGER"

Default : 200

Description : Number of points along a parallel

"--grid.resolution"
Type : "INTEGER"

Default : 9

Description : Grid resolution

"--grid.scale"
Type : "SCALE"

Default : 1.005

Description : Grid scale

"--grid.visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Grid is visible

"--land.layers[0].color"
Type : "COLOR"

Default : "#ffe2abff"

Description : Land color

"--land.layers[0].on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Enable

"--land.layers[0].path"
Type : "PATH"

Default : "coastlines/shp/GSHHS_c_L1.shp"

Description : Path to coastlines

"--land.layers[0].scale"
Type : "SCALE"

Default : 1

Description : Scale

"--land.layers[0].selector"
Type : "STRING"

Default : ""

Description : Shape selection

"--land.layers[0].subdivision.angle"
Type : "FLOAT"

Default : 1

Description : Angle max for subdivision

"--land.layers[0].subdivision.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Enable subdivision

"--land.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable land

"--land.visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Land is visible

"--landscape.color"
Type : "COLOR"

Default : "#00000000"

Description : Color

"--landscape.flat.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Make Earth flat

"--landscape.geometry.check.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Check geometry

"--landscape.geometry.frame.color1"
Type : "COLOR"

Default : "#ffffffff"

Description : First frame color

"--landscape.geometry.frame.color2"
Type : "COLOR"

Default : "#505050ff"

Description : Second frame color

"--landscape.geometry.frame.dlat"
Type : "FLOAT"

Default : 10

Description : Latitude interval

"--landscape.geometry.frame.dlon"
Type : "FLOAT"

Default : 10

Description : Longitude interval

"--landscape.geometry.frame.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Draw frame around domain

"--landscape.geometry.frame.width"
Type : "FLOAT"

Default : 0

Description : Frame width

"--landscape.geometry.gaussian.apply_norm_scale.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Apply norm scaling

"--landscape.geometry.gaussian.fit.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Fit Gaussian latitude retrieval

"--landscape.geometry.gencoords.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Generate coordinates on GPU when possible

"--landscape.geometry.height.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable height

"--landscape.geometry.height.path"
Type : "FIELD-REF"

Default : ""

Description : Height field path

"--landscape.geometry.height.scale"
Type : "FLOAT"

Default : 0.05

Description : Scale to apply to height field

"--landscape.geometry.subgrid.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Create subgrid

"--landscape.geometry.triangle_strip.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Enable use of triangle strip

"--landscape.grid.number_of_latitudes"
Type : "INTEGER"

Default : 500

Description : Number of latitudes

"--landscape.grid.path"
Type : "STRING"

Default : ""

Description : Take geometry from this file

"--landscape.lonlat.position.lat1"
Type : "FLOAT"

Default : "-90"

Description : First latitude of display

"--landscape.lonlat.position.lat2"
Type : "FLOAT"

Default : 90

Description : Last latitude of display

"--landscape.lonlat.position.lon1"
Type : "FLOAT"

Default : "-180"

Description : First longitude of display

"--landscape.lonlat.position.lon2"
Type : "FLOAT"

Default : 180

Description : Last longitude of display

"--landscape.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable landscape

"--landscape.path"
Type : "STRING"

Default : "landscape/Whole_world_-_land_and_oceans_08000.png"

Description : Path to landscape image in BMP format

"--landscape.projection"
Type : "STRING"

Default : "LONLAT"

Description : Projection : LONLAT or WEBMERCATOR

"--landscape.scale"
Type : "SCALE"

Default : 1

Description : Scale

"--landscape.visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Landscape is visible

"--landscape.wireframe.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Draw landscape in wireframe mode

"--mapscale.color1"
Type : "COLOR"

Default : "#ffffffff"

Description : First color

"--mapscale.color2"
Type : "COLOR"

Default : "#505050ff"

Description : Second color

"--mapscale.font.bitmap.path"
Type : "PATH"

Default : "fonts/16.bmp"

Description : Bitmap path

"--mapscale.font.bitmap.scale"
Type : "FLOAT"

Default : 0.02

Description : Bitmap scale

"--mapscale.font.color.background"
Type : "COLOR"

Default : "#00000000"

Description : Background color

"--mapscale.font.color.foreground"
Type : "COLOR"

Default : "#ffffffff"

Description : Foreground color

"--mapscale.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Activate mapscale

"--mapscale.position.xmax"
Type : "FLOAT"

Default : 0.25

Description : Mapscale xmax

"--mapscale.position.xmin"
Type : "FLOAT"

Default : 0.05

Description : Mapscale xmin

"--mapscale.position.ymax"
Type : "FLOAT"

Default : 0.07

Description : Mapscale ymax

"--mapscale.position.ymin"
Type : "FLOAT"

Default : 0.05

Description : Mapscale ymin

"--render.antialiasing.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Enable antialiasing

"--render.antialiasing.samples"
Type : "INTEGER"

Default : 4

Description : Samples for antialiasing

"--render.debug.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable OpenGL debugging

"--render.egl.device"
Type : "INTEGER"

Default : "-1"

Description : Device rank

"--render.fullscreen.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Window in fullscreen mode

"--render.fullscreen.x.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Window in fullscreen mode in X direction

"--render.fullscreen.y.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Window in fullscreen mode in Y direction

"--render.height"
Type : "INTEGER"

Default : 800

Description : Window height

"--render.info.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Show hardware info

"--render.offscreen.format"
Type : "STRING"

Default : "snapshot_%N.png"

Description : PNG format output

"--render.offscreen.frames"
Type : "INTEGER"

Default : 1

Description : Number of frames to issue in offline mode

"--render.offscreen.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Run in offline mode

"--render.opengl.version"
Type : "FLOAT"

Default : 4.3

Description : OpenGL version

"--render.position.x"
Type : "INTEGER"

Default : "-1"

Description : Window x position

"--render.position.y"
Type : "INTEGER"

Default : "-1"

Description : Window y position

"--render.statistics.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Issue statistics when window is closed

"--render.title"
Type : "STRING"

Default : ""

Description : Window title

"--render.width"
Type : "INTEGER"

Default : 800

Description : Window width

"--review.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable review mode

"--review.path"
Type : "PATH"

Default : ""

Description : File to review

"--rivers.lines.color"
Type : "COLOR"

Default : "#ffffffff"

Description : Coastlines color

"--rivers.lines.format"
Type : "STRING"

Default : "gshhg"

Description : Input format

"--rivers.lines.latmax"
Type : "FLOAT"

Default : 0

Description : Maximum latitude

"--rivers.lines.latmin"
Type : "FLOAT"

Default : 0

Description : Minimum latitude

"--rivers.lines.lonmax"
Type : "FLOAT"

Default : 0

Description : Maximum longitude

"--rivers.lines.lonmin"
Type : "FLOAT"

Default : 0

Description : Minimum longitude

"--rivers.lines.path"
Type : "STRING"

Default : "coastlines/gshhg/WDBII_bin/wdb_rivers_f.b"

Description : Path to lines file

"--rivers.lines.scale"
Type : "SCALE"

Default : 1.005

Description : Coastlines scale

"--rivers.lines.selector"
Type : "STRING"

Default : ""

Description : Selector

"--rivers.lines.visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Lines are visible

"--rivers.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display rivers

"--scene.center.gridpoint"
Type : "INTEGER"

Default : "-1"

Description : Rank of grid point to set focus on

"--scene.center.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Center on first field

"--scene.date.font.bitmap.path"
Type : "PATH"

Default : "fonts/08.bmp"

Description : Bitmap path

"--scene.date.font.bitmap.scale"
Type : "FLOAT"

Default : 0.05

Description : Bitmap scale

"--scene.date.font.color.background"
Type : "COLOR"

Default : "#00000000"

Description : Background color

"--scene.date.font.color.foreground"
Type : "COLOR"

Default : "#ffffffff"

Description : Foreground color

"--scene.date.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display date

"--scene.image.align"
Type : "STRING"

Default : ""

Description : Image alignment

"--scene.image.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable image display

"--scene.image.path"
Type : "PATH"

Default : ""

Description : Path to image

"--scene.image.x0"
Type : "FLOAT"

Default : 0

Description : Left abscissa

"--scene.image.x1"
Type : "FLOAT"

Default : 1

Description : Right abscissa

"--scene.image.y0"
Type : "FLOAT"

Default : 0

Description : Lower ordinate

"--scene.image.y1"
Type : "FLOAT"

Default : 1

Description : Upper ordinate

"--scene.interpolation.frames"
Type : "INTEGER"

Default : 10

Description : Number of frames

"--scene.interpolation.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable interpolation

"--scene.light.date"
Type : "DATE"

Default : "0000/00/00_00:00:00"

Description : Date for sunlight position

"--scene.light.date_from_grib.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Calculate light position from GRIB date

"--scene.light.lat"
Type : "LATITUDE"

Default : 0

Description : Light latitude

"--scene.light.lon"
Type : "LONGITUDE"

Default : 0

Description : Light longitude

"--scene.light.night"
Type : "FLOAT"

Default : 0.1

Description : Fraction of light during for night

"--scene.light.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable light

"--scene.light.rotate.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Make sunlight move

"--scene.light.rotate.rate"
Type : "FLOAT"

Default : 1

Description : Rate of rotation : angle/frame

"--scene.lon_at_hour"
Type : "FLOAT"

Default : "-1"

Description : Set longitude at solar time

"--scene.rotate_earth.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Make earth rotate

"--scene.rotate_earth.rate"
Type : "FLOAT"

Default : 1

Description : Rate of rotation : angle/frame

"--scene.select.field_rank"
Type : "INTEGER"

Default : 0

Description : Rank of field to select

"--scene.text.a"
Type : "STRING-LIST"

Default : ""

Description : Text alignment

"--scene.text.font.bitmap.path"
Type : "PATH"

Default : "fonts/08.bmp"

Description : Bitmap path

"--scene.text.font.bitmap.scale"
Type : "FLOAT"

Default : 0.05

Description : Bitmap scale

"--scene.text.font.color.background"
Type : "COLOR"

Default : "#00000000"

Description : Background color

"--scene.text.font.color.foreground"
Type : "COLOR"

Default : "#ffffffff"

Description : Foreground color

"--scene.text.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable text

"--scene.text.s"
Type : "STRING-LIST"

Default : ""

Description : Strings to be displayed

"--scene.text.x"
Type : "FLOAT-LIST"

Default : ""

Description : Coordinates of strings

"--scene.text.y"
Type : "FLOAT-LIST"

Default : ""

Description : Coordinates of strings

"--scene.title.a"
Type : "STRING"

Default : "NW"

Description : Alignment

"--scene.title.font.bitmap.path"
Type : "PATH"

Default : "fonts/08.bmp"

Description : Bitmap path

"--scene.title.font.bitmap.scale"
Type : "FLOAT"

Default : 0.05

Description : Bitmap scale

"--scene.title.font.color.background"
Type : "COLOR"

Default : "#00000000"

Description : Background color

"--scene.title.font.color.foreground"
Type : "COLOR"

Default : "#ffffffff"

Description : Foreground color

"--scene.title.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable title

"--scene.title.text"
Type : "STRING"

Default : ""

Description : Title

"--scene.title.x"
Type : "FLOAT"

Default : 0

Description : Coordinates

"--scene.title.y"
Type : "FLOAT"

Default : 1

Description : Coordinates

"--scene.travelling.frames"
Type : "INTEGER"

Default : 100

Description : Number of frames

"--scene.travelling.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable travelling

"--scene.travelling.pos1.fov"
Type : "FLOAT"

Default : 0

Description : Field of view

"--scene.travelling.pos1.lat"
Type : "LATITUDE"

Default : 0

Description : Latitude

"--scene.travelling.pos1.lon"
Type : "LONGITUDE"

Default : 0

Description : Longitude

"--scene.travelling.pos2.fov"
Type : "FLOAT"

Default : 0

Description : Field of view

"--scene.travelling.pos2.lat"
Type : "LATITUDE"

Default : 0

Description : Latitude

"--scene.travelling.pos2.lon"
Type : "LONGITUDE"

Default : 0

Description : Longitude

"--shell.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Run command line

"--shell.prompt.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Start interactive session after batch script completion

"--ticks.E.dlat"
Type : "FLOAT"

Default : 10

Description : Latitude interval

"--ticks.E.dlon"
Type : "FLOAT"

Default : 10

Description : Longitude interval

"--ticks.E.nswe.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : North/South/West/East labels instead of +/-

"--ticks.E.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Enable side

"--ticks.N.dlat"
Type : "FLOAT"

Default : 10

Description : Latitude interval

"--ticks.N.dlon"
Type : "FLOAT"

Default : 10

Description : Longitude interval

"--ticks.N.nswe.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : North/South/West/East labels instead of +/-

"--ticks.N.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Enable side

"--ticks.S.dlat"
Type : "FLOAT"

Default : 10

Description : Latitude interval

"--ticks.S.dlon"
Type : "FLOAT"

Default : 10

Description : Longitude interval

"--ticks.S.nswe.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : North/South/West/East labels instead of +/-

"--ticks.S.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Enable side

"--ticks.W.dlat"
Type : "FLOAT"

Default : 10

Description : Latitude interval

"--ticks.W.dlon"
Type : "FLOAT"

Default : 10

Description : Longitude interval

"--ticks.W.nswe.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : North/South/West/East labels instead of +/-

"--ticks.W.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Enable side

"--ticks.frame.color"
Type : "COLOR"

Default : "#ff0000ff"

Description : Frame color

"--ticks.frame.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable frame

"--ticks.frame.width"
Type : "FLOAT"

Default : 0.01

Description : Frame width

"--ticks.labels.font.bitmap.path"
Type : "PATH"

Default : "fonts/08.bmp"

Description : Bitmap path

"--ticks.labels.font.bitmap.scale"
Type : "FLOAT"

Default : 0.02

Description : Bitmap scale

"--ticks.labels.font.color.background"
Type : "COLOR"

Default : "#00000000"

Description : Background color

"--ticks.labels.font.color.foreground"
Type : "COLOR"

Default : "#ffffffff"

Description : Foreground color

"--ticks.labels.format"
Type : "STRING"

Default : "%+06.2f"

Description : Format for tick labels

"--ticks.labels.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display tick labels

"--ticks.lines.color"
Type : "COLOR"

Default : "#ffffffff"

Description : Tick color

"--ticks.lines.kind"
Type : "INTEGER"

Default : 0

Description : Tick kind

"--ticks.lines.length"
Type : "FLOAT"

Default : 0.025

Description : Tick length

"--ticks.lines.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Display ticks

"--ticks.lines.width"
Type : "FLOAT"

Default : 0.01

Description : Tick width

"--ticks.visible.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Ticks are visible

"--view.center.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Center view

"--view.clip.dlat"
Type : "FLOAT"

Default : 5

Description : Amount of latitude to clip

"--view.clip.dlon"
Type : "FLOAT"

Default : 10

Description : Amount of longitude to clip

"--view.clip.on"
Type : "BOOLEAN"

Default : "TRUE"

Description : Enable Mercator and lat/lon clipping

"--view.clip.xmax"
Type : "FLOAT"

Default : 1

Description : Max viewport x coordinate

"--view.clip.xmin"
Type : "FLOAT"

Default : 0

Description : Min viewport x coordinate

"--view.clip.ymax"
Type : "FLOAT"

Default : 1

Description : Max viewport y coordinate

"--view.clip.ymin"
Type : "FLOAT"

Default : 0

Description : Min viewport y coordinate

"--view.distance"
Type : "FLOAT"

Default : 6

Description : Camera distance

"--view.fov"
Type : "ANGLE"

Default : 20

Description : Camera field of view

"--view.lat"
Type : "LATITUDE"

Default : 0

Description : Camera latitude

"--view.lon"
Type : "LONGITUDE"

Default : 0

Description : Camera longitude

"--view.pitch"
Type : "ANGLE"

Default : 0

Description : Camera pitch

"--view.projection"
Type : "PROJECTION"

Default : "XYZ"

Description : Mercator XYZ latlon polar_north polar_south

"--view.roll"
Type : "ANGLE"

Default : 0

Description : Camera roll

"--view.trans.matrix"
Type : "FLOAT-LIST"

Default : ""

Description : Transformation matrix values

"--view.trans.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable transformation matrix

"--view.transformation"
Type : "TRANSFORMATION"

Default : "PERSPECTIVE"

Description : Perspective or orthographic

"--view.yaw"
Type : "ANGLE"

Default : 0

Description : Camera yaw

"--view.zoom.lat"
Type : "LATITUDE"

Default : 46.7

Description : Latitude of zoom

"--view.zoom.lon"
Type : "LONGITUDE"

Default : 2

Description : Longitude of zoom

"--view.zoom.on"
Type : "BOOLEAN"

Default : "FALSE"

Description : Enable zoom with Schmidt transform

"--view.zoom.stretch"
Type : "FLOAT"

Default : 0.5

Description : Stretching factor

SEE ALSO

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)

2023-01-14