-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
||
|