added simulate stages. Changed GSN_PREDICTOR_GRIB_TTL to 48h
This commit is contained in:
parent
c4f355a32e
commit
fe207f3fab
21 changed files with 978 additions and 137 deletions
11
run.ps1
Normal file
11
run.ps1
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# PowerShell startup script for predictor service
|
||||
# Sets required environment variables and starts the service
|
||||
|
||||
$env:GSN_PREDICTOR_GRIB_DIR = "C:/tmp/grib"
|
||||
$env:GSN_PREDICTOR_GRIB_TTL = "48h" # Allow datasets up to 48 hours old
|
||||
|
||||
Write-Host "Starting predictor service with GRIB directory: $env:GSN_PREDICTOR_GRIB_DIR" -ForegroundColor Green
|
||||
Write-Host "Dataset TTL: $env:GSN_PREDICTOR_GRIB_TTL" -ForegroundColor Green
|
||||
|
||||
# Run the service
|
||||
go run cmd/api/main.go
|
||||
Loading…
Add table
Add a link
Reference in a new issue