Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispersion Model Error - "dir" is missing #8

Closed
c422j381 opened this issue Jul 21, 2016 · 2 comments
Closed

Dispersion Model Error - "dir" is missing #8

c422j381 opened this issue Jul 21, 2016 · 2 comments

Comments

@c422j381
Copy link

c422j381 commented Jul 21, 2016

When I run the create_disp_model example, I get an error that "dir" is missing, with no default. I am running the example code :

dispersion_model <-
create_disp_model(name="crystal_clean") %>%
add_emissions(
rate = 5,
duration = 6,
start_day = "2016-07-18",
start_hour = 0) %>%
add_species(
pdiam = 1,
density = 1,
shape_factor = 1) %>%
add_grid(
range = c(0.5,0.5),
division = c(0.1,0.1)) %>%
add_params(
lat = 49.0,
lon = -123.0,
height = 10,
duration = 24,
start_day = "2016-07-18",
start_hour = 0,
direction = "forward",
met_type = "gdas1")

run_model(dispersion_model)

and I get the following error :

Error in paste0(dir, "/", "SETUP.CFG") :
argument "dir" is missing, with no default

@c422j381 c422j381 changed the title Dispersion Model Error - Dispersion Model Error - "dir" is missing Jul 21, 2016
@rich-iannone
Copy link
Owner

I'll take a look at this. Thanks for filing this issue!

@rich-iannone
Copy link
Owner

@c422j381 This should be fixed now. Please reopen the issue if there's still a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants