Skip to content

Commit 0277243

Browse files
committed
fix: meteo_imgw_daily for all stations
1 parent e6c99e9 commit 0277243

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: climate
22
Title: Interface to Download Meteorological (and Hydrological) Datasets
3-
Version: 1.2.7
3+
Version: 1.2.8
44
Authors@R: c(person(given = "Bartosz",
55
family = "Czernecki",
66
role = c("aut", "cre"),

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# climate 1.2.7
1+
# climate 1.2.8
22

33
* speeding up selective download for given station names in `meteo_imgw_*` and `hydro_imgw_daily()` functions that simultaneously reduce use of memory
44
* minor fix for `meteo_imgw_daily` to handle cases with station names containing extra spaces or non-parsable characters

R/meteo_imgw_daily.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ meteo_imgw_daily_bp = function(rank,
9191
# match WMO ID of a given station(s) to download selectively for SYNOP stations
9292
if (!is.null(station) && rank == "synop") {
9393
ids_to_download = match_imgw_wmoid_inds(station)
94+
} else {
95+
ids_to_download = NULL
9496
}
9597

9698
temp = tempfile()

0 commit comments

Comments
 (0)