From 030bead60b64b451ad30d54200419f13df4f8d87 Mon Sep 17 00:00:00 2001 From: adokter Date: Tue, 26 Jan 2021 10:20:51 -0500 Subject: [PATCH 1/2] change dual_pol default to TRUE in calculate_vp() --- R/calculate_vp.R | 2 +- man/calculate_vp.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/calculate_vp.R b/R/calculate_vp.R index ae43fb629..ca9faebef 100644 --- a/R/calculate_vp.R +++ b/R/calculate_vp.R @@ -188,7 +188,7 @@ calculate_vp <- function(file, vpfile = "", pvolfile_out = "", autoconf = FALSE, verbose = FALSE, mount = dirname(file[1]), sd_vvp_threshold, - rcs = 11, dual_pol = FALSE, rho_hv = 0.95, elev_min = 0, + rcs = 11, dual_pol = TRUE, rho_hv = 0.95, elev_min = 0, elev_max = 90, azim_min = 0, azim_max = 360, range_min = 5000, range_max = 35000, n_layer = 20L, h_layer = 200, dealias = TRUE, diff --git a/man/calculate_vp.Rd b/man/calculate_vp.Rd index 92cf79249..2527cacde 100644 --- a/man/calculate_vp.Rd +++ b/man/calculate_vp.Rd @@ -13,7 +13,7 @@ calculate_vp( mount = dirname(file[1]), sd_vvp_threshold, rcs = 11, - dual_pol = FALSE, + dual_pol = TRUE, rho_hv = 0.95, elev_min = 0, elev_max = 90, From d86438d92ef57b171e8504d51d71f5e77e5213af Mon Sep 17 00:00:00 2001 From: adokter Date: Tue, 26 Jan 2021 10:31:01 -0500 Subject: [PATCH 2/2] rebuild dev site --- docs/dev/pkgdown.yml | 2 +- docs/dev/reference/calculate_vp.html | 6 +++--- docs/dev/reference/read_pvolfile.html | 2 +- docs/dev/reference/read_vpfiles.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/dev/pkgdown.yml b/docs/dev/pkgdown.yml index 65086565f..c27520862 100644 --- a/docs/dev/pkgdown.yml +++ b/docs/dev/pkgdown.yml @@ -5,7 +5,7 @@ articles: bioRad: bioRad.html rad_aero_19: rad_aero_19.html range_correction: range_correction.html -last_built: 2021-01-26T15:07Z +last_built: 2021-01-26T15:23Z urls: reference: https://adokter.github.io/bioRad/reference article: https://adokter.github.io/bioRad/articles diff --git a/docs/dev/reference/calculate_vp.html b/docs/dev/reference/calculate_vp.html index 518f8d150..769ce54fd 100644 --- a/docs/dev/reference/calculate_vp.html +++ b/docs/dev/reference/calculate_vp.html @@ -169,7 +169,7 @@

Calculate a vertical profile (vp) from a polar volume (pv mount = dirname(file[1]), sd_vvp_threshold, rcs = 11, - dual_pol = FALSE, + dual_pol = TRUE, rho_hv = 0.95, elev_min = 0, elev_max = 90, @@ -435,7 +435,7 @@

Examp as.data.frame(profile)
#> radar datetime ff dbz dens u v #> 1 seang 2015-10-18 18:00:00 NA NA NA NA NA #> 2 seang 2015-10-18 18:00:00 NaN 2.8776991 61.27740 NaN NaN -#> 3 seang 2015-10-18 18:00:00 14.88610 5.5255389 112.74165 -6.467583 -13.407694 +#> 3 seang 2015-10-18 18:00:00 14.88610 5.5430236 113.19646 -6.467583 -13.407694 #> 4 seang 2015-10-18 18:00:00 14.64004 4.6949205 93.11562 -6.711918 -13.010798 #> 5 seang 2015-10-18 18:00:00 13.30489 0.4530046 35.06153 -6.556170 -11.577423 #> 6 seang 2015-10-18 18:00:00 10.76581 -1.9438103 20.19061 -5.069613 -9.497456 @@ -456,7 +456,7 @@

Examp #> gap w n_dbz dd n DBZH height n_dbz_all eta #> 1 1 NA 0 NA 0 NA 0 0 NA #> 2 1 NaN 817 NaN 536 4.873434 200 10602 674.0515 -#> 3 0 6.552267 4231 205.7517 2116 8.229273 400 17421 1240.1581 +#> 3 0 6.552267 4214 205.7517 2116 8.229273 400 17421 1245.1610 #> 4 0 -17.817648 4085 207.2880 1866 4.437433 600 8098 1024.2719 #> 5 0 -12.915339 3897 209.5224 1155 1.342218 800 7801 385.6769 #> 6 0 30.602781 4369 208.0927 744 -0.492405 1000 7829 222.0967 diff --git a/docs/dev/reference/read_pvolfile.html b/docs/dev/reference/read_pvolfile.html index c34ebfde4..13ddd1cc6 100644 --- a/docs/dev/reference/read_pvolfile.html +++ b/docs/dev/reference/read_pvolfile.html @@ -262,7 +262,7 @@

Examp pvolfile <- system.file("extdata", "volume.h5", package = "bioRad") # print the local path of the volume file: -pvolfile

#> [1] "/private/var/folders/hq/tlbyscp93lq2js72t62dkbrh2z_dgv/T/Rtmp0o9DR5/temp_libpath13537158af83e/bioRad/extdata/volume.h5"
+pvolfile
#> [1] "/private/var/folders/hq/tlbyscp93lq2js72t62dkbrh2z_dgv/T/RtmpcdQ5Dz/temp_libpath13ac458727f3b/bioRad/extdata/volume.h5"
# load the file: example_pvol <- read_pvolfile(pvolfile) diff --git a/docs/dev/reference/read_vpfiles.html b/docs/dev/reference/read_vpfiles.html index 3efb9563d..48aa6268a 100644 --- a/docs/dev/reference/read_vpfiles.html +++ b/docs/dev/reference/read_vpfiles.html @@ -184,7 +184,7 @@

Examp vpfile <- system.file("extdata", "profile.h5", package = "bioRad") # print the local path of the profile file: -vpfile

#> [1] "/private/var/folders/hq/tlbyscp93lq2js72t62dkbrh2z_dgv/T/Rtmp0o9DR5/temp_libpath13537158af83e/bioRad/extdata/profile.h5"
+vpfile
#> [1] "/private/var/folders/hq/tlbyscp93lq2js72t62dkbrh2z_dgv/T/RtmpcdQ5Dz/temp_libpath13ac458727f3b/bioRad/extdata/profile.h5"
# load the file: read_vpfiles(vpfile)
#> Vertical profile (class vp) #>