Skip to content
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

remove the duplicated entries of QARTOD variables under the ancillary_variables attributes #363

Open
leilabbb opened this issue Aug 13, 2024 · 2 comments
Assignees
Labels

Comments

@leilabbb
Copy link
Contributor

The ancillary_variables attribute under the variables being QCed is listing duplicates of QARTOD variables. See an example file following this datasets link: https://gliders.ioos.us/erddap/tabledap/ng309-20230820T0000.html

Here is a variable example:

temperature {
Float32 _FillValue -999.0;
Float32 actual_range 5.4466, 32.0449;
String ancillary_variables "temperature_qc qartod_temperature_flat_line_flag qartod_temperature_gross_range_flag qartod_temperature_rate_of_change_flag qartod_temperature_spike_flag qartod_temperature_primary_flag qartod_temperature_flat_line_flag qartod_temperature_gross_range_flag qartod_temperature_rate_of_change_flag qartod_temperature_spike_flag qartod_temperature_primary_flag qartod_temperature_flat_line_flag qartod_temperature_gross_range_flag qartod_temperature_rate_of_change_flag qartod_temperature_spike_flag qartod_temperature_primary_flag qartod_temperature_flat_line_flag qartod_temperature_gross_range_flag qartod_temperature_rate_of_change_flag qartod_temperature_spike_flag qartod_temperature_primary_flag";
Float64 colorBarMaximum 32.0;
Float64 colorBarMinimum 0.0;
String instrument "instrument_ctd";
String ioos_category "Temperature";
String long_name "Sea Water Temperature";
String observation_type "measured";
String platform "platform";
String standard_name "sea_water_temperature";
String units "degrees_C";
Float32 valid_max 40.0;
Float32 valid_min -5.0;
}

A quick ERDDAP searches show more than 200 datasets with similar issues:

174 datasets:
https://gliders.ioos.us/erddap/search/index.html?page=1&itemsPerPage=1000&searchFor=-delayed+qartod+%22qartod_density_flat_line_flag+qartod_density_gross_range_flag+qartod_density_rate_of_change_flag+qartod_density_spike_flag+qartod_density_primary_flag+qartod_density_flat_line_flag%22

86 datasets:
https://gliders.ioos.us/erddap/search/index.html?page=1&itemsPerPage=1000&searchFor=delayed+qartod+%22qartod_density_flat_line_flag+qartod_density_gross_range_flag+qartod_density_rate_of_change_flag+qartod_density_spike_flag+qartod_density_primary_flag+qartod_density_flat_line_flag%22

@leilabbb leilabbb added the QC label Aug 13, 2024
@leilabbb leilabbb self-assigned this Aug 13, 2024
@benjwadams
Copy link
Contributor

This may be a legacy issue -- I believe the underlying issue was fixed sometime back. Nonetheless, some of the existing metadata may need to be changed.

@sarinamann-noaa
Copy link

@leilabbb will link pull request and check ERDDAP to close the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants