grib2json
grib2json copied to clipboard
converts GRIB2 files to JSON
```sh java.lang.UnsupportedOperationException: not a scalar variable =int time(time=97); :units = "Hour since 2020-07-10T18:00:00Z"; :standard_name = "time"; :long_name = "product valid at RT + P1"; at ucar.nc2.Variable.getScalarData(Variable.java:796) at ucar.nc2.Variable.readScalarInt(Variable.java:731) at net.nullschool.grib2json.Grib2Json.write(Grib2Json.java:84)...
I have an issues that is how to convert GRIB1 files to JSON by grib2json ?
``` > ./grib2json %HOMEPATH%\Documents\SHI\MRMS_SHI_00.50_20200725-210240.grib2 java.io.IOException: Negative seek offset at ucar.unidata.io.RandomAccessFile.seek(RandomAccessFile.java:402) at ucar.grib.grib2.Grib2BitMapSection.(Grib2BitMapSection.java:127) at ucar.grib.grib2.Grib2Input.scan(Grib2Input.java:227) at net.nullschool.grib2json.Grib2Json.write(Grib2Json.java:104) at net.nullschool.grib2json.Launcher.main(Launcher.java:75) [ ``` data set used: `https://mrms.ncep.noaa.gov/data/2D/SHI/`
Use the latest version. ```` edu.ucar grib 8.0.29 edu.ucar netcdf4 4.5.5 ````
It works pretty good on local I want to deploy it as a server, so that I can get recent data as I want What are the steps to do...
grib2json open command prompt and close immediatly    i added my PATH variable and MVN    Extra question: i would like to use this package to...
Would it be possible to have grib2json write out the Grid definition parameters? I've got grids from Canada (https://weather.gc.ca/grib/grib2_HRDPS_HR_e.html) that use "gridDefinitionTemplate":20 and I need the parameters to project the...
I downloaded the following gfs.t00z.pgrb2.1p00.f000 config file shown in github. But when executing the following command: sh grib2json -d -n -o current-wind-surface-level-gfs-1.0.json gfs.t00z.pgrb2.1p00.f000 And presenting the following error: java.io.IOException: java.io.IOException:...
Hello, I am probably forgetting something trivial, but I can't seem to be able to run grib2json. Any help is appreciated. Screenshot in image 