R语言 openair 做后向轨迹

本人 想利用openair 包的back trajectory 功能计算自己点位的污染过程。在计算点位和气象数据时出现了问题。

代码如下:

data_out <- run_hysplit(
  latitude = 29.848833,
  longitude = 114.373899,
  runtime = -72,
  start_height = 10,
  model_height = 10000,
  start = "2019-05-09 ",
  end = "2019-05-10",
  hysplit_exec = "~/hysplit4/exec",
  hysplit_input = "~/trajData",
  hysplit_output = "~/temp",
  site = "XN")

问题如下:

Binding HYSPLIT files...
Error in `$<-.data.frame`(`*tmp*`, "start_height", value = 10) : 
  replacement has 1 row, data has 0

想请问各位有没有什么办法吗?

你可能感兴趣的:(R语言 openair 做后向轨迹)