-
Notifications
You must be signed in to change notification settings - Fork 4
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
Range thresholding moved to earlier in L0toL1 processing #214
Conversation
Nice catch! My main concern is that good data could be filtered out before we have a chance of fixing it, or more worrying, before it is transformed to the units that are stated in the Since there is no calibration or unit conversion on temperature, and I have never seen that variable need adjustment (unlike pressure for example), it would be safest to only clip temperature variables. And as a note for later, we need to check how often these air temp is missing while the SR50 are still working. If that happens frequently, maybe we want to gap-fill the air temp before it is used to correct the SR50 measurements. But that's more enhancement. |
I had spoken to @ladsmund about doing some form of interpolation for the temperature data so that we avoid losing valid SR50 measurements. If there is concern about clipping all variables too early in |
I've moved the temperature correction to a separate routine. And we only use it for clipping and interpolating The clipping is essentially lifted from the I think it is a good idea to do the interpolation in order to preserve as many valid The output is a |
Bug found where
z_boom_u
/z_boom_l
measurements are jumping wheret_u
/t_l
measurements are below -50.This is because of an error in the lufft sensor that reports bad readings below -50. Here is an example with station HUM:
I found a simple solution for this is to run the range thresholding QC at the beginning of
pypromice.process.L0toL1
. Right now, this is only done at the end ofpypromice.process.L0toL1
AFTERz_boom_u
/z_boom_l
is corrected for witht_u
/t_l
.Instead, we should perform the range threshold at the beginning of
pypromice.process.L0toL1
. This removes errors in the temperature data before applying them to correct the boom height.