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

main to prod #48

Merged
merged 2 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion catalog/noaa_forecasts/noaa_forecasts.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ noaa_description_create <- data.frame(site_id = 'For forecasts that are not on a
latitude = 'forecast site latitude')


noaa_theme_df <- arrow::open_dataset(arrow::s3_bucket(paste0(config$noaa_forecast_bucket,"stage2/parquet/0/2023-08-01/feea"), endpoint_override = config$noaa_endpoint, anonymous = TRUE))
noaa_theme_df <- arrow::open_dataset(arrow::s3_bucket(paste0(config$driver_bucket, "/gefs-v12/stage2"),
endpoint_override = config$endpoint,
anonymous = TRUE))


noaa_theme_dates <- arrow::open_dataset(arrow::s3_bucket(paste0(config$driver_bucket,"/gefs-v12/stage2"),
Expand Down
9 changes: 3 additions & 6 deletions dashboard/targets.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ aquatics_focal_sites <- c("USGS-05553700", "USGS-01463500")
```

```{r message=FALSE, echo = FALSE}
# TODO: need to update this
googlesheets4::gs4_deauth()
target_metadata <- googlesheets4::read_sheet("https://docs.google.com/spreadsheets/d/10YTX9ae_C1rFdLgEDkUcCRCpUkVYv06leY01BtD1BgM/edit?usp=sharing")
target_metadata <- readr::read_csv("https://raw.githubusercontent.com/eco4cast/usgsrc4cast-ci/prod/targets/in/controlled_vocab_targets.csv")
```

```{r echo = FALSE}
Expand Down Expand Up @@ -65,10 +63,9 @@ The aquatics theme challenges you to forecast daily mean water quality variables
url <- "https://sdsc.osn.xsede.org/bio230014-bucket01/challenges/targets/project_id=usgsrc4cast/duration=P1D/river-chl-targets.csv.gz"
read_csv(url, show_col_types = FALSE) |>
distinct(variable, duration) |>
# TODO: need to fix target_metadata
# left_join(target_metadata, by = c("variable","duration")) |>
left_join(target_metadata, by = c("variable","duration")) |>
filter(variable %in% c("chla")) |>
# select(-class) |>
select(-class) |>
knitr::kable()
```

Expand Down
Loading