Add min error of 0.1 for airnow - #1792
Conversation
EricJames-NOAA
left a comment
There was a problem hiding this comment.
Looks good to me! Thank you for opening this PR.
|
@huiying-noaa We will need to make sure the CI tests pass first. |
|
Hi @weiwilliam, Do you have any leads on the ci test error? Many thanks! Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ Error: Input required and not supplied: private-key Node.js v24.16.0 |
|
The problem with CI in this PR is because the PR is coming from a fork which does not have access to our org secrets. I just talked to Steve H who noted that this repo is expected to have future pull requests from collaborators without JCSDA write access. Therefore I will adopt the I've created the PR #1794 to address the issue. Once that PR is merged, you can sync this and the tests should run as expected. |
…ow. (#1794) Change the CI trigger to use `on: pull_request_target:...` instead of "on: pull_request:..." this means that all pull requests, including pull requests from forks, will run CI using the checked-in config from the target branch. This change has been made to enable fork pull requests to test. The previous strategy only allowed tests from branches of this repository forks. __Issues:__ This change unblocks #1792
|
@huiying-noaa You need to create new testoutput. You can check ioda-converters/test/CMakeLists.txt Lines 1528 to 1551 in cea25d6 After you created the new testoutputs, replace the test/testoutput/airnow_2020081306.nc and test/testoutput/airnow_2020081306_epalist.nc with them.Then push another commit to your branch. Thanks! |
|
Thanks for checking and providing the instructions, @weiwilliam! |
|
@huiying-noaa and note you can specify error dynamically, assume you are doing this, but adding this to a yaml inserts a value which doesn't necessarily even need to be in the input file: |
mer-a-o
left a comment
There was a problem hiding this comment.
This assigns 0.1 for all species. Is it possible to make it for only PM2.5? This converter is used for other species such as O3 and NO2 and 0.1 may not be a suitable for these species. This requires some more changes to the converter but can address the issue properly.
|
Thanks for your comments, @BenjaminRuston and @mer-a-o! I'll first try adding minimum error in yaml to achieve the same. |
|
@huiying-noaa do not believe you've got the species key capability added as yaml parameter correct? |
|
Hi @BenjaminRuston , I'm mostly on vacation and sick leave after the last discussion. For the few tests I was able to conduct, the conditional error assignment in yaml by filtering with ObsValue or ObsError of pm2.5 hasn't been achieved yet. I do see the error assign process in log, but values all remain the same. I'll do more tests early next week and report back. |
|
Hello all, Many thanks for all your input. I was able to achieve the same results using yaml settings. All communication is helpful for my future commits. Thanks again! |
Add min error of 0.1 for AirNOW. Please let me know if there's any comments.
Issues: current version has 0 error in our development test for PM2.5 DA for RRFS-SD https://github.com/NOAA-EMC/rrfs-workflow/tree/rrfs-mpas-jedi. The RDASApp used for RRFS DA directly points to this repo.
Simple PR, no dependency.
I have performed a self-review of my own code and tested results.
Original PM2.5 error: _, 0.05, 0.47, 0, 0.12
New PM2.5 error: _, 0.1, 0.47, 0.1, 0.12.