Skip to content

Commit

Permalink
prod to main for rawgithub
Browse files Browse the repository at this point in the history
  • Loading branch information
jzwart committed Sep 12, 2024
1 parent ca6ba45 commit bd334bd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion baseline_models/models/aquatics_climatology.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ targets <- readr::read_csv(config$target_groups$aquatics$targets_file,
show_col_types = F)

sites <- readr::read_csv(paste0("https://github.com/eco4cast/usgsrc4cast-ci/",
"raw/prod/USGS_site_metadata.csv"),
"raw/main/USGS_site_metadata.csv"),
show_col_types = F)

# calculates a doy average for each target variable in each site
Expand Down
8 changes: 4 additions & 4 deletions dashboard/instructions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ The csv file can only contain one unique `model_id` and one unique `project_id`.
The submit function is available using the following code in R

```{r eval = FALSE}
source("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/prod/R/eco4cast-helpers/submit.R")
source("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/prod/R/eco4cast-helpers/forecast_output_validator.R")
source("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/main/R/eco4cast-helpers/submit.R")
source("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/main/R/eco4cast-helpers/forecast_output_validator.R")
submit(forecast_file = "project_id-year-month-day-model_id.csv", project_id = "usgsrc4cast")
```
Expand All @@ -191,8 +191,8 @@ def download_and_exec_script(url):
response.raise_for_status()
exec(response.text, globals())
download_and_exec_script("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/prod/python/submit.py")
download_and_exec_script("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/prod/python/forecast_output_validator.py")
download_and_exec_script("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/main/python/submit.py")
download_and_exec_script("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/main/python/forecast_output_validator.py")
submit(forecast_file = "project_id-year-month-day-model_id.csv", project_id = "usgsrc4cast")
```
Expand Down
2 changes: 1 addition & 1 deletion dashboard/targets.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ aquatics_focal_sites <- c("USGS-05553700", "USGS-14211720")
```

```{r message=FALSE, echo = FALSE}
target_metadata <- readr::read_csv("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/prod/targets/in/controlled_vocab_targets.csv")
target_metadata <- readr::read_csv("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/main/targets/in/controlled_vocab_targets.csv")
```

```{r echo = FALSE}
Expand Down
2 changes: 1 addition & 1 deletion drivers/download_stage1_pseudo.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ driver_bucket <- stringr::word(config$driver_bucket, 1, sep = "/")
driver_path <- stringr::word(config$driver_bucket, 2, -1, sep = "/")

sites <- readr::read_csv(paste0("https://github.com/eco4cast/usgsrc4cast-ci/",
"raw/prod/USGS_site_metadata.csv"),
"raw/main/USGS_site_metadata.csv"),
col_select = c("site_id", "latitude", "longitude"))

Sys.setenv("GEFS_VERSION"="v12")
Expand Down
2 changes: 1 addition & 1 deletion drivers/generate_stage3.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ df <- arrow::open_dataset("pseudo") |>


site_list <- readr::read_csv(paste0("https://github.com/eco4cast/usgsrc4cast-ci/",
"raw/prod/USGS_site_metadata.csv"),
"raw/main/USGS_site_metadata.csv"),
show_col_types = FALSE)


Expand Down
2 changes: 1 addition & 1 deletion drivers/update_stage3.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ library(gefs4cast)
source("R/eco4cast-helpers/to_hourly.R")

site_list <- readr::read_csv(paste0("https://github.com/eco4cast/usgsrc4cast-ci/",
"raw/prod/USGS_site_metadata.csv"),
"raw/main/USGS_site_metadata.csv"),
show_col_types = FALSE)

Sys.setenv("GEFS_VERSION"="v12")
Expand Down

0 comments on commit bd334bd

Please sign in to comment.