Open leilabbb opened 3 months ago
@ocefpaf could you look at the issues i am seeing with the QARTOD application? Thanks
@ocefpaf could you look at the issues i am seeing with the QARTOD application? Thanks
@leilabbb I'm not too familiar with the code and QARTOD but I will take a look as soon as possible.
Can you send the version of the ioos_qc
library that you are using?
@ocefpaf could you look at the issues i am seeing with the QARTOD application? Thanks
@leilabbb I'm not too familiar with the code and QARTOD but I will take a look as soon as possible.
Can you send the version of the
ioos_qc
library that you are using?
@ocefpaf Here is the SHA number: 0b1406b52872e564885ccff5808315cf88ae28ee
@leilabbb can you try the latest commit? @iwensu0313 made some improvements and fixed a few bugs that may impact your example. Please let us know what you find.
@leilabbb can you try the latest commit? @iwensu0313 made some improvements and fixed a few bugs that may impact your example. Please let us know what you find.
I rerun the code using the latest commits and I do not see any change in the results. The same flags were rendered by the ioos_qc/qartod library.
I guess we need to wait for #108
Not sure what is not working but the merge of 108 did not fix it. @iwensu0313 could use this netCDF file and see if you see a different response.
I run into issues when using the qartod package to QC the Glider DAC files. I have seen flags being applied inconsistently, which raises concern. Before I file an issue about that, I run into a new issue when reading the data that I am exposing here for some feedback.
Issues: (1) The salinity data in the netCDF file shows different results when read with different packages. (2) The spike_test and rate_of_change_test flags are questionably using the missing-flag and the suspect-flag on existing or non-erroneous data.
Description: The notebook is a walk-through process to help reproduce the above issues. Files needed to run the notebook: netCDF file configuration file notebook file
Debugging Info Issue (1):
When using netCDF4 to read the salinity array, all values show as nan: [this is the method I use in the Glider DAC QC process] _
When using the xarray to read the salinity array, not all values show as nan: _[this is used in the ioosqc.streams Class XarrayStream]
When using ncdump to read the salinity array, not all values are masked: [using another method]
Debugging Info Issue (2):
The flag selection for the spike_test shows a missing flag (9) applied to an existing data point.
KEYS for the right column: Missing 9 UNKNOWN 2
The flag selection for the rate_of_change_test shows a suspect flag (3) applied to a good data point.
KEYS for the right column: Missing 9 UNKNOWN 2 SUSPECT 3
Clarification: The suspect flag may be acceptable, but I am not completely clear on labeling existent data with a missing flag. Also, the data read from the 3 methods may be unrelated to flagging data but any recommendations or best practices on how to work with the ioos_qc package will be appreciated.