grib2json icon indicating copy to clipboard operation
grib2json copied to clipboard

grib2json: command not found

Open CristiCraciun opened this issue 7 years ago • 2 comments

Hi, I have a problem running grib2json. When i trying to run grib2json -d -n -o grib.json grib.grb2 or just grib2json --help i am getting grib2json: command not found. I have installed grib2json accordingly. Java path is in /usr/lib/jvm/java-8-openjdk-amd64/bin and grib2json path /home/grib2json/target/grib2json-0.8.0-SNAPSHOT/bin. Thanks

CristiCraciun avatar Apr 05 '17 08:04 CristiCraciun

Hello, it seems your grib2json script has not been added to your PATH environment variable or is not executable: chmod u+x grib2json.

Maybe you might find this fork useful: https://github.com/weacast/weacast-grib2json.

claustres avatar Jul 17 '17 14:07 claustres

it works.

Hello, it seems your grib2json script has not been added to your PATH environment variable or is not executable: chmod u+x grib2json.

Maybe you might find this fork useful: https://github.com/weacast/weacast-grib2json.

it works. use command sudo gedit ~/.bashrc ,add grib2json-0.8.0-SNAPSHOT/bin to PATH. And then,use command source .bashrc to refresh. After that, the problem solved.

LeoLittleZhun avatar Oct 12 '18 08:10 LeoLittleZhun