harphub / harpIO

IO functions for HARP
https://harphub.github.io/harpIO/
Other
6 stars 17 forks source link

Missing files ->Error #42

Closed meteorolog90 closed 4 years ago

meteorolog90 commented 4 years ago

Due missing files, this error are manifested:

Error: Cannot have more than 1 vertical coordinate in an output sqlite file. Perhaps you need {parameter} to be part of the file name template.
Execution halted
Aladin_T2m <- read_forecast(

start_date = 2020082800, 
end_date = 2020090700,
fcst_model  = "Aladin_45",
parameter="T2m",
lead_time= seq(0,72,1),
by= "6h",
file_path  = "/data/nwp/oper/grib/shmu/",
file_format="grib",
file_template ="{YYYY}-{MM}-{DD}_{HH}/CLSTEMPERATURE_{LDT2}.grb",
transformation="interpolate",

transformation_opts=interpolate_opts(
stations=stanice, 
clim_file ="/data/nwp/oper/grib/shmu/2020-08-28_00/SURFGEOPOTENTIEL_00.grb"),

output_file_opts=sqlite_opts(path="/work/users/ext005/sql/forecast"),
return_data=TRUE

)

full output: error_aladin.txt

packageVersion("harpIO") [1] '0.0.0.9162'

andrew-MET commented 4 years ago

I can reproduce the problem and will look into it as soon as I can.