我正在操作GRIB2预测文件,并且在使用GRIB2Tools库时遇到了问题。 我有一个表示GRIB2数据集内容的Array[Byte]。然后将其作为InputStream加载,以便在getValueAtLocation(id, lat, long)和/或interpolateValueAtLocation(id, lat, long)中使用它我可以很好地读取文件的元数据,但是只要我调用前面两个方法中的一个,我就会得到一个IndexOutOfBoundE
当尝试使用Java库GRIB2Tools中的文件时,会抛出以下异常。 Data Representation Template Number 5.40 not implemented.Exception in thread "main" java.lang.NullPointerException at com.ph