-
Notifications
You must be signed in to change notification settings - Fork 18
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
Feature/obs error assignment tool #147
Conversation
…OAA-EMC/PyGSI into feature/obsErrorAssignmentTool
…OAA-EMC/PyGSI into feature/obsErrorAssignmentTool
…OAA-EMC/PyGSI into feature/obsErrorAssignmentTool
…OAA-EMC/PyGSI into feature/obsErrorAssignmentTool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, looks great! I just have a few minor comments, but should be ready to go after those changes.
|
||
# specify the path to the input diag files | ||
|
||
config_path=/scratch1/NCEPDEV/stmp4/Azadeh.Gholoubi/GDAS-ops/PyGSI/ush/obsErrorAssignmentTool/config_files/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would make this more generic. Maybe just: /PyGSI/ush/obsErrorAssignmentTool/config_files/
qc_flag=0 | ||
|
||
# specify the path to saving output plots and csv file | ||
output=/scratch1/NCEPDEV/stmp4/Azadeh.Gholoubi/GDAS-ops/PyGSI/ush/obsErrorAssignmentTool/output/$bindir/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above.
if [ $machine = orion ]; then | ||
PyGSI=${PyGSI:-/Path/to/PyGSI/} # Change this to your own branch | ||
elif [ $machine = hera ]; then | ||
PyGSI=${PyGSI:-/scratch1/NCEPDEV/stmp4/Azadeh.Gholoubi/GDAS-ops/PyGSI/} # Change this to your own branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above. Rather than your specific path, just more generic.
@@ -0,0 +1,452 @@ | |||
import argparse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, looks great. Do you mind adding a short docstring in each function so future users know what the function is doing?
@kevindougherty-noaa , Thank you for your comments Kevin. I modified the paths, and added docstring in each function. Also changed some functions name to be more descriptive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Pull Request Description
This PR addresses the following changes:
Fix Pycodestyle Violation: Corrected a Pycodestyle violation in
/scripts/plot_proftrace.py
within thedevelop
branch.New Feature Addition: Added a new Python tool,
ObserrorAssignment.py
, toush/obsErrorAssignmentTool
, facilitating the automated estimation of observation error parameters.fix/cloudy_radiance_info.txt: Needed to read
clw_clr
, andclw_cld
Changes Included:
obsErrorAssignmentTool
Directory Structure:ObserrorAssignment.py
: Python tool for estimating observation error parameters.run_error_model_estimate.sh
: Shell script to invoke the Python script.README.md
: Provides an overview and usage instructions for the code.Functionality of
ObserrorAssignment.py
:error_cld
,error_clr
,clw_clr
, andclw_cld
) and creates plots and CSV files for each channel.Example of output plot and CSV file: