-
Notifications
You must be signed in to change notification settings - Fork 132
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 plotting routines in QC script #355
Conversation
… thickness data for both the baseline and test dataset.
The documentation has not been updated yet. I wanted some feedback on the capability that is being added before updating documentation. This PR adds a new This addition of plotting might potentially address a portion of #347. It also fixes the issue where the plot of 2-stage failures had the longitudes flipped (the map looked mirrored) as shown in #347 . |
Is there a reason not to have the --plot option on all the time? The plots look a bit odd with the whitespace between data, but I assume that's an artifact of the plotting package, correct? These plots are in addition to a plot of the pass/fail status per gridcell? |
This is super helpful, thanks! |
Yeah, the whitespace is a result of the fact that I am using the or pcolor plots: Or, I could also setup the script to allow all 3 and have the user select which one with an optional argument (while setting a default if no argument is passed). If this were solely a plotting script, I would likely do that. However, I'm not sure if we want plotting-specific command line options for a script whose main functionality is to do the QC test. I wonder if that might get confusing... I originally set it up to have plotting as an option because I thought that plots would only be desired if tests failed. I could set it to always plot the ice thickness data, and just include it in a And yes, this is in addition to the plot of pass/fail grid cells for the 2-stage test |
This all is great. I am fine with any of the plotting options as the default. I guess I like pcolor the most (but just one opinion) and I would probably turn on the --plot all the time with a package check. But I'm also happy to merge the PR now. |
I'll have to update the documentation prior to merging the code. I'll go ahead and do that today and let you know when its ready. |
… optional plot_type argument, which can plot the data using scatter, contour, or pcolor. The default map (if no plot_type argument is passed) is pcolor.
I added a brief paragraph to the documentation that mentions the plotting capability. I also modified the script to always attempt to plot the data (I removed the |
This script is dying on cheyenne with X window related errors. Is there a python version issue here or do I need to do something different with my X window environment? Dave |
PR checklist
Fix an issue where the 2-stage failure map had a flipped x-axis map. Also add new plotting capability.
@mattdturner
Tested the QC script plotting capability on 4 datasets on 1 server.