-
Notifications
You must be signed in to change notification settings - Fork 47
COSP-RTTOV #127
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
base: master
Are you sure you want to change the base?
COSP-RTTOV #127
Conversation
Merge updates into working version (2023/01/30)
Merging with the main branch. Should not do again.
The RTTOV v13 code files are copies of cosp_rttov_interface.F90 and cosp_rttov11.F90 No changes made yet.
…t on cosp_rttov_v13
… added conditional dependencies in cosp2_test.F90 and cosp.F90
…efile has changed cosp_rttov_interface_v13.F90 will not be compiled unless RTTOV is being built into COSP, so I no longer need #ifdef RTTOV statements in this file.
…it passes the RTTOV instrument, channel, etc information into the cosp_rttov_init call.
… Allocation added to cosp_rttov_simulate
…in the rttov_interface file.
Shifted DDT in both the STUB and main files.
…inswales/COSPv2.0 into feature/cosp_rrtov_swathing
…al, remove emis_in and refl_in, appropriately allocate so2 field even if it isn't used, and only run rttov_cleanup when needed.
…tputs that were being assigned R_UNDEF values inconsistently.
…inswales/COSPv2.0 into feature/cosp_rrtov_swathing
…inswales/COSPv2.0 into feature/cosp_rrtov_swathing
|
@jshaw35 You're a rock star thanks a lot. A few questions for the assembled multitudes:
|
|
Jonah, This is truly great work! Much thanks for all of your efforts! |
Great points @RobertPincus. re: separate PRs. @dustinswales had also raised this but the swathing and COSP-RTTOV changes are difficult to separate at this point. We decided to submit this as a single PR. I'd rather not separate the changes but also want to make this easy to review. Perhaps there is a middle ground. re: CI for RTTOV, I think this is a great idea and could try to support it. I have experience building RTTOV on HPC platforms but not much familiarity with the CI workflow. Dustin, what do you think? |
|
@jshaw35 Thanks for adding the swath test to the CI scripts. I just updated the CI script to include the swathed case in the artifact. |
|
@jshaw35 @dustinswales thank a lot for this, it's great! |
|
@alejandrobodas thanks for these comments! re: RTTOV, I totally agree that we should follow the license terms. Is there a location we can host the source code that can be accessed by the CI only? |
I suppose we could use a Github 'secret' to download code from a password-protected location, but I've never used secrets so I don't know how it's done. |
|
All, I'm not sure if we're going to make too much progress on solving the problem of running CI tests with an RTTOV installation. What do people think about progress with this PR with a stub interface and investigate the RTTOV installation in a separate discussion? |
@alejandrobodas / @mo-abodas, a few comments/updates regarding this question. I had been working with @dustinswales to create set up an RTTOV test in the CI, but that work is currently tabled and will likely be further delayed. Furthermore, in December we should hear if the RTTOV license is granted an exception and made open source, which would help ease the creation of the CI/CD workflow. I think that RTTOV functionality should be brought into the CI and plan to support that work, but am also eager to see this PR added to COSP2 (for disclosure, COSP-RTTOV cannot be added to CESM without being a part of the official CFMIP COSP repository). The current COSP-RTTOV code maintains the stub functionality as in previous COSP versions. CI tests are currently failing because we have added an additional test of the swathing functionality but the kgos with masked outputs are not updated yet. If a new kgo is created for the swathed output then the swathing functionality will be brought into CI and RTTOV will remain an optional stub. |
This PR contains significant additions to COSP that enable two new functionalities:
For an exhaustive description of implementation, validation, and science applications, see our GMD paper (https://gmd.copernicus.org/articles/18/4935/2025/). @dustinswales has been an invaluable contributor to all aspects of this work.
Remaining items: