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

No Data in the Table After Running Trajectory Model #85

Open
Cuevman81 opened this issue Aug 18, 2024 · 0 comments
Open

No Data in the Table After Running Trajectory Model #85

Cuevman81 opened this issue Aug 18, 2024 · 0 comments

Comments

@Cuevman81
Copy link

Ran test run and nothing in table. I am on mac. Have not tested on my windows PC. I may be overlooking something simple. Please advise.

Thanks!

library(splitr)
library(here)

trajectory_model <-
create_trajectory_model() %>%
add_trajectory_params(
lat = 43.45,
lon = -79.70,
height = 50,
duration = 24, # Increased duration
days = c("2020-07-01", "2020-07-02"), # Extended date range
daily_hours = c(0, 6, 12, 18), # More start times per day
direction = "backward",
met_type = "reanalysis",
met_dir = here::here("met"),
exec_dir = here::here("out")
) %>%
run_model()

trajectory_tbl <- trajectory_model %>% get_output_tbl()

print(nrow(trajectory_tbl))
print(head(trajectory_tbl))

trying URL 'ftp://arlftp.arlhq.noaa.gov/archives/reanalysis/RP202006.gbl'
Content type 'unknown' length 119139360 bytes (113.6 MB)

trying URL 'ftp://arlftp.arlhq.noaa.gov/archives/reanalysis/RP202007.gbl'
Content type 'unknown' length 123110672 bytes (117.4 MB)

trajectory_tbl <- trajectory_model %>% get_output_tbl()

print(nrow(trajectory_tbl))
[1] 0
print(head(trajectory_tbl))

A tibble: 0 × 12

ℹ 12 variables: run , receptor , hour_along , traj_dt , lat , lon , height , traj_dt_i , lat_i , lon_i , height_i ,

pressure

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

1 participant