metno / dse4KSS

R shiny app to present results from downscaled ensembles for providing input to climate services
0 stars 0 forks source link

Missing data or a bug? #1

Open brasmus opened 2 years ago

brasmus commented 2 years ago

I got this error when trying to run the app:

> runApp('R/dse4KSS')
[1] "List names:"
[1] "Nordic.t2m.ecad.ssp585.djf" "Nordic.t2m.ecad.ssp585.jja" "Nordic.t2m.ecad.ssp585.mam" "Nordic.t2m.ecad.ssp585.son"
[5] "t2m.ecad.267ssp370.djf"    
Error in gzfile(file) : invalid 'description' argument
kajsamp commented 2 years ago

There were two versions of the file global.R, one new in the folder R and one old in the main folder. I think the problem may have come from something in the old version. Also, I had forgotten to add the file calculate.trends.R which is now in the folder R and is run automatically when the app is run.

Could you update and try again? Hopefully it will work now.

brasmus commented 2 years ago

I pulled the latest code this morning, but I still have a problem:

> shiny::runApp('R/dse4KSS')
Loading required package: shiny
Loading required package: ncdf4
Loading required package: zoo

Attaching package: ‘zoo’

The following objects are masked from ‘package:base’:

    as.Date, as.Date.numeric

Registered S3 methods overwritten by 'esd':
  method         from
  subset.default base
  subset.matrix  base
  subset.zoo     zoo 

Attaching package: ‘esd’

The following object is masked from ‘package:shiny’:

    validate

Attaching package: ‘shinydashboard’

The following object is masked from ‘package:graphics’:

    box

Error in gzfile(file) : invalid 'description' argument

(R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"; RStudio 2022.07.1 Build 554)