Conversation
Summary of ChangesHello @joelridden, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a valuable new reporting feature for analyzing station records with low quality counts, including visualizations and statistics on why records were rejected. It also adds versioning parameters to handle different database schemas. My review has identified one critical bug related to incorrect variable usage that would lead to loading wrong data. I've also included several medium-severity recommendations to improve code robustness, maintainability, and readability, such as using constants instead of hardcoded strings, safer data parsing, and avoiding variable name reuse.
AndrewRidden-Harper
left a comment
There was a problem hiding this comment.
Out of curiosity, is there a reason for wanting these tables as images rather than CSV files?
The images are so they can go in the report HTML file instead of just generating a csv output |
Adds specific images and stats for sites that have a low quality count and shows information on why these sites were that are in the full database were rejected for potential further investigation.
This comes from the message from Chris in slack https://uceqeng.slack.com/archives/C019XU80PJ4/p1751240336645749
Also added a nzgmdb_version parameter so that when tables change amongst versions we can still compare against the same tables.