After setup node.js, follow the instruction to install earth.nullschool
https://github.com/cambecc/earth
install grib2json
https://github.com/cambecc/grib2json
Steps:
- set JAVA_HOME
http://www.mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/
export JAVA_HOME=$(/usr/libexec/java_home)
brew install maven
https://github.com/cambecc/grib2json/issues/19
convert:
grib2json -d -n -o current-wind-surface-level-gfs-1.0.json gfs.t00z.pgrb2.1p00.f000
Error: Unable to access jarfile /Users/zhenningli/workspace/grib2json/src/bin/../lib/grib2json-*.jar
You should use the executable in another folder
/Users/zhenningli/workspace/grib2json/target/grib2json-0.8.0-SNAPSHOT/bin