COMPASS-DOE / ghg-processor

Processing code for LI-7810 gas concentration data
MIT License
2 stars 1 forks source link

Questions for SW #1

Closed bpbond closed 1 year ago

bpbond commented 1 year ago

Files

Times and such

Concentration data

Science

wilsonsj100 commented 1 year ago

Hi Ben,

Files: Yes, that is what I was doing before. If I noticed that the flux started a bit later than what was written down or if there seemed to be something weird I would change the metadata and note it.

Times and such Yes, the metadata file will always been in instrument time, but we decided we should also be writing the time difference between the licor and real time so later we can pull other environmental data from the same time frame.

Concentration data Does the negative data come up before the flux or during? because if it seems to be at the beginning I think it is probably an artifact of getting the flux set up? When I look at the code I only see a few at the beginning of flux 2 that look really negative - is that correct? I would think we would want to take those points out and start the flux later. I will ask Pat, but I would think that would only occur if there was a pressure artifact or something - maybe the Licor sitting on the tubing on the boardwalk and preventing flow as we are getting set up? Seeing multiple observations within a single five minute period likely means someone started a flux then realized something was wrong and restarted. Let's retry with the new meta-data files since I saw that there was a flux that was redone in June that needed adjusted (note was on the side of the scanned field doc and not super noticeable).

Science This seems to be the standard in our lab across all of our chamber measuring projects.

bpbond commented 1 year ago

Oh! I see, that 5% number was from everything, including when the machine wasn't measuring a collar. OK, that makes sense. The relevant values are when measuring. Sorry, not used to continuously-running machine data.

Now:

Observations with negative CO2: 3 (0%)

Observations with missing CO2: 397 (26%)

Observations with missing CH4: 397 (26%)

unnamed-chunk-8-1

bpbond commented 1 year ago

The new metadata file still has some, um, issues 😄

unnamed-chunk-11-1

We can automatically add some initial dead band time, that's fine, but chambers 3-5 above clearly have multiple measurements in them, and the start time for 2 seems completely off. Does that look right to you?

wilsonsj100 commented 1 year ago

Hey Ben,

I think something is off.... when I run the code on my computer I get this for the fluxes.....

image

CH4: image

CO2: image

Something is fishy... happy to zoom later this week.

bpbond commented 1 year ago

Yep, a bug. F***ing time zones. Sorry, all good now.

unnamed-chunk-10-1

unnamed-chunk-11-1

unnamed-chunk-11-2

wilsonsj100 commented 1 year ago

WooHoo! At least it was a fixable problem :) Thank you!