some updates

This commit is contained in:
Martin Folkerts 2024-05-13 19:35:17 +02:00
parent 95633a553c
commit e2138a378a
5 changed files with 1119 additions and 835 deletions

View file

@ -278,9 +278,9 @@ public function startDownload(Carbon $date)
public function schedule()
{
if ($this->shouldSchedule()) {
// if ($this->shouldSchedule()) {
$this->scheduleReport();
}
// }
}

File diff suppressed because one or more lines are too long

View file

@ -124,7 +124,11 @@ CI_m3 <- brick(here(weekly_CI_mosaic, paste0("week_",week_minus_3, "_", year_3,
# last_week_dif_raster <- ((CI - CI_m1) / CI_m1) * 100
last_week_dif_raster_abs <- (CI - CI_m1)
```
```{r data_129, message=TRUE, warning=TRUE, include=FALSE}
three_week_dif_raster_abs <- (CI - CI_m3)
```
```{r data_132, message=TRUE, warning=TRUE, include=FALSE}
# AllPivots0 <-st_read(here(data_dir_project, "pivot.geojson"))

Binary file not shown.

View file

@ -33,17 +33,18 @@ echo "Aantal dagen: $days"
echo "Project directory: $project_dir"
echo "BBOX: $bbox"
# Activeer de virtuele omgeving
script_dir="$(dirname "$0")"
source "$script_dir/python_app/myenv/bin/activate"
echo "$script_dir/python_app/planet_download.ipynb"
export DAYS=$days
export DATE=$date
export PROJECT_DIR=$project_dir
export BBOX=$bbox
# Hier kan je verdere stappen toevoegen, zoals het uitvoeren van je Python-script of Jupyter Notebook
jupyter nbconvert --execute --to script --stdout "$script_dir/python_app/Chemba_download.ipynb"
jupyter nbconvert --execute --to script --stdout "$script_dir/python_app/planet_download.ipynb"
# Deactiveer de virtuele omgeving (optioneel)
deactivate