Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
azadeh-gh authored Feb 20, 2024
1 parent 24ef40a commit edc24ca
Showing 1 changed file with 34 additions and 3 deletions.
37 changes: 34 additions & 3 deletions ush/obsErrorAssignmentTool/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
2/20/2024
Azadeh Gholoubi
ObsErrorAssignmentTool
## 2/20/2024
## Azadeh Gholoubi
# Python Tool for Observation Error Assignment

## Overview
This tool automates the estimation of observation error parameters. It consists of a shell script, `run_error_model_estimate.sh`, which invokes the `ObsErrorAssignment.py` Python script to perform the following tasks:

1. Compute mean cloud amount and first guess standard deviation.
2. Generate four plots:
- Mean cloud amount vs. first guess departure standard deviation
- Number of observations in each defined bin of mean cloud amount
- Un-normalized and normalized first guess departure
- Histogram of Errors at each bin
3. Compute error parameters (`error_cld`, `error_clr`, `clw_clr`, and `clw_cld`) and create CSV files for each channel.

## Usage
Before running the script, the user needs to specify certain parameters in `run_error_model_estimate.sh`:

- `config_path`: Directory for input config .nc files
- `output_path`: Path to output files
- `sensor`: Sensor name
- `Channels`: Channel numbers (enclosed in quotes, separated by commas, e.g., "1,2,3,5")
- `bin_size`: Size of bin for plotting (default=0.05)
- `bindir`: Output file name
- `qc_flag`: QC flag for filtering (default=0)
- `PyGSI`: Path to the PyGSI branch on Hera or Orion to load the proper environment

To view all the required inputs for this tool, use the following command:

```bash
python ObsErrorAssignment.py -h



0 comments on commit edc24ca

Please sign in to comment.