Skip to content

Change to using .bias.nc instead of .satbias.nc (and some other changes)#191

Open
CoryMartin-NOAA wants to merge 11 commits intomainfrom
feature/rename_bias
Open

Change to using .bias.nc instead of .satbias.nc (and some other changes)#191
CoryMartin-NOAA wants to merge 11 commits intomainfrom
feature/rename_bias

Conversation

@CoryMartin-NOAA
Copy link
Copy Markdown
Contributor

Changes to the GSI to JEDI scripts for bias coefficients along with a few other minor fixes.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates ObsForge’s GSI→JEDI bias-correction handling and workflow templates, primarily aligning output naming with the newer .bias.nc-style conventions and adjusting Rocoto task settings.

Changes:

  • Rename staged/copied bias-correction tarball from rad_varbc_params.tar to varbc_params.tar and prefix BUFR status log with OPREFIX.
  • Update gsi_to_ioda tarball contents to publish .bias.nc, .bias_cov.nc, and .tlapse.txt names (while sourcing existing GSI-produced files).
  • Adjust the gsi_to_ioda Rocoto XML template to remove partition, update native, and switch task dependencies to attribute form.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
ush/python/pyobsforge/task/stage_output.py Stages BUFR status log with OPREFIX and stages renamed varbc_params.tar bias tarball.
ush/python/pyobsforge/task/gsi_to_ioda.py Renames bias tarball output and repackages bias/tlapse files under new in-tar naming conventions.
parm/gsi_to_ioda.xml.j2 Updates Rocoto task resource/dependency directives (native flags and taskdep syntax).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

CoryMartin-NOAA and others added 2 commits February 19, 2026 13:03
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Three flake8 violations in `ush/python/pyobsforge/task/gsi_to_ioda.py`
were causing the pytest workflow to fail.

- **W291 (×2)**: Removed trailing whitespace from comment lines 332 and
347
- **E265**: Fixed missing space after `#` in block comment on line 348

```python
# Before
# add the same file with a different name for the covariance file 
#(this is needed for the UFO varbc reader to read in the covariance info)

# After
# add the same file with a different name for the covariance file
# (this is needed for the UFO varbc reader to read in the covariance info)
```

<!-- START COPILOT ORIGINAL PROMPT -->



<details>

<summary>Original prompt</summary>

> Fix the following flake8 linting errors in
`ush/python/pyobsforge/task/gsi_to_ioda.py`:
> 
> 1. **Line 332**: Remove trailing whitespace (W291)
> 2. **Line 347**: Remove trailing whitespace (W291)  
> 3. **Line 348**: Block comment should start with '# ' - ensure there's
a space after the '#' character (E265)
> 
> These errors are causing the pytest workflow to fail in job
64188770067.
> 
> ## Specific Changes Needed
> 
> - Line 332: Remove any trailing spaces at the end of the line
> - Line 347: Remove any trailing spaces at the end of the line
> - Line 348: Change the comment format from `#(this is needed...` to `#
(this is needed...` (add a space after the '#')
> 
> The file is located at: `ush/python/pyobsforge/task/gsi_to_ioda.py`


</details>



<!-- START COPILOT CODING AGENT SUFFIX -->

*This pull request was created from Copilot chat.*
>

<!-- START COPILOT CODING AGENT TIPS -->
---

✨ Let Copilot coding agent [set things up for
you](https://github.com/NOAA-EMC/obsForge/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot)
— coding agent works faster and does higher quality work when set up for
your repo.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: CoryMartin-NOAA <6354668+CoryMartin-NOAA@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

CoryMartin-NOAA and others added 3 commits February 23, 2026 15:51
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants