Skip to content

Latest commit

 

History

History

gribsnap

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

gribsnap

Generate images from grib messages using gribberish, d3, and node-canvas

example significant wave height output

Running

First install dependencies:

npm install

Then run the script:

# List variables
node index.mjs --path <path to grib file> --list

# Generate png
node index.mjs --path <path to grib file> --var <variable name> --png

# Generate svg
node index.mjs --path <path to grib file> --var <variable name> --svg

# Specify contouring
node index.mjs --path <path to grib file> --var <variable name> --png --minThreshold 0  --maxThreshold 100 --steps 10