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

Update build_erddap_catalog.py #290

Merged
merged 20 commits into from
Jan 5, 2024

Conversation

leilabbb
Copy link
Contributor

@leilabbb leilabbb commented Oct 3, 2023

called the function qartod_var_snippets from main to be used in code.

the file was also changed in commit 911b4a1 , see below:

[1] Removed the legacy _qc variables:

  • commented out in the required_qc_vars and dest_var_remaps lists
  • removed from the ancillary_variables' attribute of the variables Lat and Lon in the common_variables list

[2] The legacy qartod variables were added to the list required_qartod_vars

[3] Functions were modified to include changes in bullets 1 and 2:

  • qartod_var_snippets replaced qc_var_snippets
  • check_for_qartod_vars replaced check_for_qc_vars

[4] Code lines were modified to include changes in bullets 1, 2, and 3:

  • qartod_var_type replaced qc_var_types
  • exclude_vars, all_other_vars , and vars_sorted were modified
  • qartod_vars_snippet replaced qc_vars_snippet

leilabbb and others added 20 commits September 18, 2023 15:47
added an extension in the requirement file to pull in the ioos-qc library package
Fixed the flag name attribute to match ioos-qc definitions
Fixed the manual link
Added the min and max values for a flag
Modified the script to create qartod variables and add the qartod test results to each qartod variable.
- Changed the required variables to a list of qartod variables.
- Made changes to  few functions to work accordingly.
fixed spelling detected by the code checks
rectified the omitted quotes in line 611
added 'nc_path'  to the run_qc function
commented out an old version of  the get_unmasked function
fixed syntax errors
added qartod_status attribute
fixed log.info() and log.exception() syntax errors
it did not like the addition log.exception() added to the "except OSError:" when checking os.getxattr() in the previous commit.
extended qartod variables' attributes to include more verbose explanation
added more to log.info for debugging purposes
commented out the ioos_qartod git repo that has been deprecated
@leilabbb leilabbb merged commit 5b756aa into main Jan 5, 2024
2 checks passed
@ocefpaf ocefpaf deleted the leilabbb-patch-build-erddap-xml-w-qartod-vars branch January 5, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant