SantanderMetGroup / loadeR

A climate4R package for data access
https://github.com/SantanderMetGroup/climate4R
GNU General Public License v3.0
13 stars 13 forks source link

Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : #52

Open ABY1950 opened 5 years ago

ABY1950 commented 5 years ago

Dear SantanderMetGroup, Thanks for the development of this package. It is very useful. However, I encountered some problems using it. I hope you could explain to me what I have to do to solve it. Actually, I am trying to bias correct a RCM using the ISMIP method but it was not successful. Please, see the error below.

x<-("/pd/data/wascal_cclm/BIAS_CORRECTION2019/Burkina_cclm_rain_11_1981-1982_dd.nc") x2<-loadGridData(x, var="pr", years = 1981:1982, lonLim = c(-18.,-6.),latLim =c(12.,18.), season =c(5,6,7)) [2019-02-28 15:09:06] Defining geo-location parameters Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : ucar.ma2.InvalidRangeException: Request Bounding box does not intersect Grid

Thank you in advance!

jbedia commented 5 years ago

Hi, it seems that the coordinates of your file do not correspond to the geographical coordinates used in lonLim and latLim arguments. Consider using dataInventory to check the dataset coordinates and units. Best regards.