I've used the code from this folder to download data and turn it into images.
- Make sure
node.js
is installed. Runnpm install
and check that there are no errors. - Make sure
grib-api
is installed (if you are on mac, then runbrew install grib-api
) - Make sure
curl
is installed - we will need it to download data
Run:
node ./download
This would result in ~80-90GB of data being transferred to your computer. Takes a while to finish.
By default, streamlines are rendered at very high resolution. This creates high CPU load, so be prepared to wait. On a powerful MacbookPro, a single image is generated in 3-4 minutes.
Image generation task is CPU bound, so if you have multiple CPUs you can edit scheduler.js
to set the amount of CPUs dedicated to the rendering task, and then run:
node scheduler.js
This will produce images in the ./out
folder.
One way to speed up the process is to change the parameters in the drawField file.
You can use software of your choice. I prefer to use imagemagick
and camtasia
.