Skip to content

Commit

Permalink
Change weather forecast pull to day before present
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Guo committed May 15, 2021
1 parent 17a5a96 commit 51e1d89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RFR/01_pull_gcc_weather.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ source("~/neon4cast/R/noaa.R")

###########Download weather data###########
pheno_sites <- c("HARV", "BART", "SCBI", "STEI", "UKFS", "GRSM", "DELA", "CLBJ")
download_noaa(siteID = pheno_sites, interval = "1hr", date = Sys.Date())
download_noaa(siteID = pheno_sites, interval = "1hr", date = Sys.Date()-1)
noaa_fc <- stack_noaa()

###########Clean up weather data###########
Expand Down
2 changes: 1 addition & 1 deletion RFR/forecast_gcc.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Rscript 01_pull_gcc_weather.R
Rscript 01_pull_gcc_weather.R
python3 02_PEG_RFR0_gcc_predictions.py
python3 03_PEG_RFR_gcc_predictions_with_interpolation.py
python3 04_PEG_RFR2_gcc_predictions_with_weather_variables.py
Expand Down

0 comments on commit 51e1d89

Please sign in to comment.