Closed meteorolog90 closed 3 years ago
Closing this as it is the same as #46
eccodes doesn't understand that the parameter ID in these grib files, 206, is total precipitation.
I will prioritize getting a solution to this as soon as I can.
With some new features in harpIO, you should now be able to read these data. See #66.
For your case you would add the argument file_format_opts = grib_opts(...)
as follows:
forecast <- read_forecast(
start_date = 2021022000,
end_date = 2021022000,
fcst_model = "alaro_cy40_45km",
parameter = "Pcp",
lead_time = seq(0,3,1),
by = "12h",
file_path = "/data/nwp/oper/grib/shmu",
file_template = "{YYYY}-{MM}-{DD}_{HH}/SURFPREC_TOTAL_{LDT2}.grb",
file_format_opts = grib_opts(param_find = list(Pcp = use_grib_indicatorOfParameter(206))),
transformation = "interpolate",
transformation_opts = interpolate_opts(stations=station,
clim_file = "/users/ext005/app/harp/etc/geo_aladin45km.grb"),
return_data = TRUE,
show_progress = TRUE
)
I confirm, it works now. Thanks
Replacing parameter name with : AccPcp, AccPcp1h, tc, accpcp, accpcp1h + combination with "as_harp_parameter()" not helping
Precipitation grib data: exmaple.zip