-
Notifications
You must be signed in to change notification settings - Fork 17
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
bird insect partitioning and post-hoc precipitation filter #698
Conversation
adokter
commented
Feb 26, 2025
•
edited
Loading
edited
- Implements add function to partition mixtures of birds and insects #700
- implements add posthoc precipitation filter #701
- fixes Duplicated timestamps in csv change height distribution in vpts plot #697
Ill check
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Adriaan Dokter ***@***.***>
Sent: Tuesday, March 4, 2025 7:10:29 PM
To: adokter/bioRad ***@***.***>
Cc: Bart Kranstauber ***@***.***>; Mention ***@***.***>
Subject: Re: [adokter/bioRad] bird insect partitioning and post-hoc precipitation filter (PR #698)
@bart1<https://github.com/bart1> can you please review if this PR fixes your bug report on duplicates timestamps (#697<#697>)
—
Reply to this email directly, view it on GitHub<#698 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAMV7BBOVC6C2YKNA6PWGTT2SXUBLAVCNFSM6AAAAABX6GQU5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJYGUYDCNBSGA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
[adokter]adokter left a comment (adokter/bioRad#698)<#698 (comment)>
@bart1<https://github.com/bart1> can you please review if this PR fixes your bug report on duplicates timestamps (#697<#697>)
—
Reply to this email directly, view it on GitHub<#698 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAMV7BBOVC6C2YKNA6PWGTT2SXUBLAVCNFSM6AAAAABX6GQU5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJYGUYDCNBSGA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@bart1 decided to merge, as this PR had some critical fixes I wanted posted to master asap. Feel free to add your review here nonetheless and we can merge those changes later |
@adokter Sorry for the delay, I just start working a bit with this, somethings I noticed below First of all nice changes, useful to make script easier! On the topic of correcting VPTS data, maybe we could also think about filling holes in a vpts when the not equally high profilesI noticed devtools::load_all("~/bioRad/")
#> ℹ Loading bioRad
#> Welcome to bioRad version 0.8.1.9000
#>
#> using vol2birdR version 1.0.5 (MistNet not installed)
pvolfile_source <- system.file("extdata", "volume.h5", package = "bioRad")
pvolfile <- paste0(tempdir(),"/volume.h5")
file.copy(pvolfile_source, pvolfile)
#> [1] TRUE
vp <- calculate_vp(pvolfile) |> as.data.frame()
#> Running vol2birdSetUp
#> Warning: radial velocities will be dealiased...
vp_low <- calculate_vp(pvolfile, n_layer = 10)|> as.data.frame()
#> Running vol2birdSetUp
#> Warning: radial velocities will be dealiased...
as.vpts(rbind(vp, vp))
#> Warning in validate_vpts(data): Extra fields found: day, sunrise, sunset
#> Regular time series of vertical profiles (class vpts)
#>
#> radar: seang
#> # profiles: 2
#> time range (UTC): 2015-10-18 18:00:00 - 2015-10-18 18:00:00
#> time step (s): 0
as.vpts(rbind(vp, vp, vp_low))
#> Warning in validate_vpts(data): Extra fields found: day, sunrise, sunset
#> Warning in as.vpts(rbind(vp, vp, vp_low)): Profiles found with different altitude layer specifications, keeping only the most
#> common one, dropping 1 profile(s) ...
#> Warning in as.vpts(rbind(vp, vp, vp_low)): Profiles found with different number
#> of height layers: 10 20, retaining 20 only.
#> Regular time series of vertical profiles (class vpts)
#>
#> radar: seang
#> # profiles: 2
#> time range (UTC): 2015-10-18 18:00:00 - 2015-10-18 18:00:00
#> time step (s): 0 Here it would be nice if Clean mixtureI would watch out with the argument naming Filter precipMaybe you can use something like this as a default parameter for dbz : #697Is mostly resolved except the |
Thanks @bart1, I'll start working on incorporating this feedback |
Incorporating reviewer feedback to this PR in #704 |