yusriy / run_hysplit

Running HYSPLIT in R (Ubuntu)
0 stars 0 forks source link

Run_hysplit #1

Open Jaip2018 opened 6 years ago

Jaip2018 commented 6 years ago

Dear Yusiry

I followed your function and run the hysplit for my location. It was run successfully. I observed that first month (i.e. January set of data) is missing TrajProc folder. What could be a reason? I am attaching my function code.

Please see

Thanks Jai function code for backtrj.txt

yusriy commented 6 years ago

It could be that you overlook the time zone? Open air defaults to GMT.

-Yusri

On Oct 17, 2018, at 2:36 AM, Jaip2018 notifications@github.com wrote:

Dear Yusiry

I followed your function and run the hysplit for my location. It was run successfully. I observed that first month (i.e. January set of data) is missing TrajProc folder. What could be a reason? I am attaching my function code.

Please see

Thanks Jai function code for backtrj.txt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

lx96218 commented 4 years ago

Dear Yusiry

I tried your function on my Rstudio. There's some problem. R showed (part of them):

Unable to find file: RP201110.gbl On local directory : ~/TrajData/ Check input CONTROL file for correct values 900 Error in read.table(paste0(hy.path, "working/Rcombined.txt"), header = FALSE) :

function code for btrj.txt no lines available in input

But I have already download gbl files (including last year) in the Trajdata folder. And also I download the Hysplit model. Did I miss some steps?

Could you tell me the reason? I am

attaching my function code.

Please see.

Thank you.

Xi Liu function code for btrj.txt

yusriy commented 4 years ago

Dear Yusiry

I tried your function on my Rstudio. There's some problem. R showed (part of them):

Unable to find file: RP201110.gbl On local directory : ~/TrajData/ Check input CONTROL file for correct values 900 Error in read.table(paste0(hy.path, "working/Rcombined.txt"), header = FALSE) :

function code for btrj.txt no lines available in input

But I have already download gbl files (including last year) in the Trajdata folder. And also I download the Hysplit model. Did I miss some steps?

Could you tell me the reason? I am

attaching my function code.

Please see.

Thank you.

Xi Liu function code for btrj.txt

I think its because the file is not in the TrajData folder and that the TrajData folder is in the main working folder.

lx96218 commented 4 years ago

Thanks for your reply. But I relocated the Trajdata folder to C:/Work/ or C:/hysplit4/working/, there‘s still have the same error indication?

Dear Yusiry I tried your function on my Rstudio. There's some problem. R showed (part of them): Unable to find file: RP201110.gbl On local directory : ~/TrajData/ Check input CONTROL file for correct values 900 Error in read.table(paste0(hy.path, "working/Rcombined.txt"), header = FALSE) : function code for btrj.txt no lines available in input But I have already download gbl files (including last year) in the Trajdata folder. And also I download the Hysplit model. Did I miss some steps? Could you tell me the reason? I am attaching my function code. Please see. Thank you. Xi Liu function code for btrj.txt

I think its because the file is not in the TrajData folder and that the TrajData folder is in the main working folder.

Thanks for your reply. But there's still the same error after I relocated the Trajdata to C:/Work/ or C:/hysplit4/working/.

yusriy commented 4 years ago

You have to put the TrajData folder in the working folder of the R project where you run the code.

lx96218 commented 4 years ago

You have to put the TrajData folder in the working folder of the R project where you run the code.

I changed the folder address or reinstalled the hysplit4 and it didn't work. But thanks for your help sincerely.