Skip to content

Instantly share code, notes, and snippets.

View AidasPa's full-sized avatar
👋

Aidas AidasPa

👋
View GitHub Profile
@wxguy
wxguy / wgrib2_auto_compile_script.sh
Last active March 1, 2024 18:45
A small bash script to compile wgrib2 from source on Ubuntu OS...
#!/bin/bash
# License for this script is GNU 2
# A small bash script to download, compile and install latest wgrib2 from source.
# I have written this script so that I can automate the proceedure whenever I change Linux OS
# Make it executable before running the script using'chmod +x ./wgrib2_auto_compile_script.sh'
# Ensure to run the script with sudo (sudo ./wgrib2_auto_compile_script.sh) or under root environment
@r35krag0th
r35krag0th / wgrib2_macos_build.sh
Last active June 6, 2023 02:47
Building wgrib2
#!/usr/bin/env bash
# NOTE: This requires you to have Homebrew installed
# --> https://brew.sh/
# NOTE: You need to have Homebrew's GCC installed
# --> brew install gcc
wget ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz
tar xvzf wgrib2.tgz