rossyndicate / poudre_sonde_network

MIT License
0 stars 7 forks source link

Updating mWater pull and merging with old field notes #87

Closed SamStruthers closed 9 months ago

SamStruthers commented 9 months ago

In an effort to better track sensor malfunctions in livestreaming data, I added a sensor malfunction section to our field notes. I/techs/others can submit a survey if they see data that looks erroneous which may not be caught by QAQC (drift, broken sensor, etc). By sourcing 'grab_malfunction_record.R', you get malfunction_records which has start/end_dt, sensor affected and notes, this can then be incorporated into the function kw_known_issues with some kind of map function in the future.

I also tried to match all the columns in sensor_notesand have looked at most data to make sure this was done correctly, have not yet run on entire script due to error with api pull (issue: #86 ). Once this is fixed, I can see if the field notes still work correctly downstream in pipeline.

Review requested:

SamStruthers commented 9 months ago

Fixed minor errors in the data manager tools scripts. Download pictures was mainly due to user error, solved mwater survey to reduce these errors in the future

juandlt-csu commented 9 months ago

This PR looks good to merge to me. BTW I and Katie have been working in the targets branch of this repository as we transition to targets-ifying the pipeline. That branch has the most up to date functions. Once this merges to main we will have to sync the targets branch up to this so that your changes are reflected there.

SamStruthers commented 9 months ago

Met with Juan about incorportating mWater notes into targets pipeline. For data push to FC system, I will add to the targets script to pull/clean mWater notes similarly to old field notes. One data is pushed to FC and we are trying to get the system running on a loop (2024) we will remove the pull in of old field notes and the mWater scripts will take their place in the Targets code