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

EPW downloading error #574

Closed
hongyuanjia opened this issue Aug 22, 2023 · 0 comments · Fixed by #575
Closed

EPW downloading error #574

hongyuanjia opened this issue Aug 22, 2023 · 0 comments · Fixed by #575
Assignees
Labels
Milestone

Comments

@hongyuanjia
Copy link
Owner

Looks like the database of onebuilding has been updated.

eplusr::download_weather("Nanjing.*TMYx.2004-2018", "Nanjing", ask = FALSE, type = "epw", dir = tempdir(), max_match = 1)
#> One matched results found. Start downloading:
#> ── CHN_JS_Nanjing-Lukou.AP.582380_TMYx.2004-2018 ───────────────────────────────
#>  * Country: China
#>  * State or Province: JS
#>  * Location: Nanjing Lukou AP
#>  * WMO number: 582380
#>  * Source type: ISD-TMYx
#>  * Longitude: 118.862
#>  * Latitude: 31.742
#>  * Provider: Climate.OneBuilding.Org
#> Found sources from provider 'Climate.OneBuilding.Org'. 'type' will be reset to 'all'.
#> Warning in utils::download.file(url, dest, mode = "wb"): downloaded length 0 !=
#> reported length 0
#> Warning in utils::download.file(url, dest, mode = "wb"): cannot open URL
#> 'https://climate.onebuilding.org/WMO_Region_2_Asia/CHN_China/JS_Jiangsu/CHN_JS_Nanjing-Lukou.AP.582380_TMYx.2004-2018.zip':
#> HTTP status was '404 Not Found'
#> Error in utils::download.file(url, dest, mode = "wb"): cannot open URL 'http://climate.onebuilding.org/WMO_Region_2_Asia/CHN_China/JS_Jiangsu/CHN_JS_Nanjing-Lukou.AP.582380_TMYx.2004-2018.zip'

Created on 2023-08-22 with reprex v2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant