uataq / stilt

Stochastic Time-Inverted Lagrangian Transport model
https://uataq.github.io/stilt/
49 stars 17 forks source link

Running new STILT script #87

Open ckbekker72 opened 2 years ago

ckbekker72 commented 2 years ago

I am trying to run my own R script with STILT that I have created by modifying the tutorial R scripts. However, when I attempt the R script, I get the following error: [ckbekker@login1 STILT_runs]$ Rscript run_stilt_mariposa_jul28.R Initializing STILT Number of receptors: 24 Number of parallel threads: 8 Error in load_libs("dplyr", "ncdf4", "parallel", "raster", "rslurm", lib.loc = lib.loc) : could not find function "load_libs" Calls: source -> withVisible -> eval -> eval Execution halted Do you know what this error might be related to or how I can figure out? Thank you.

run_stilt_mariposa_jul28.txt

ckbekker72 commented 2 years ago

Hi, I have fixed the previous issue that I described but I am still having trouble getting the output files that I need with the same script.

I get the following message when running this script: "fatal: Not a git repository (or any parent up to mount point /u/home/c) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)."

The script still appears to run all of the simulation IDs as requested but then the following warning message is reported: "Warning message: In system("git rev-parse HEAD", intern = T) :running command 'git rev-parse HEAD' had status 128"

When I looked for the output files in the footprints folder that I specified, they are not there. Do you know what might be causing this issue and how I can attempt to solve it?

tartanrunner25 commented 1 year ago

Are the trajectory files there? Would help isolate whether the STILT code runs or not and if the issue is strictly related to the generation of the footprints.

Liuc03 commented 10 months ago

Hi, I got the same error: "could not find function "load_libs" Calls: source -> withVisible -> eval -> eval Execution halted", May I ask how you fixed it?